Go to the documentation of this file.
15 #ifndef PSEN_SCAN_V2_STANDALONE_SCANNER_CONFIGURATION_H
16 #define PSEN_SCAN_V2_STANDALONE_SCANNER_CONFIGURATION_H
18 #include <boost/optional.hpp>
40 boost::optional<uint32_t>
hostIp()
const;
58 [[deprecated(
"use void hostIp(const uint32_t& host_ip) instead")]]
void setHostIp(
const uint32_t& host_ip);
59 void hostIp(
const uint32_t& host_ip);
95 PSENSCAN_ERROR(
"ScannerConfiguration",
"Requires a resolution of min: 0.2 degree when intensities are enabled");
173 #endif // PSEN_SCAN_V2_STANDALONE_SCANNER_CONFIGURATION_H
static constexpr unsigned short DATA_PORT_OF_HOST_DEVICE
uint16_t hostUDPPortData() const
bool intensitiesEnabled() const
uint16_t scannerDataPort() const
uint16_t scanner_control_port_
static int16_t radToTenthDegree(const double &angle_in_rad)
static constexpr double DEFAULT_SCAN_ANGLE_RESOLUTION(data_conversion_layer::degreeToRadian(0.1))
boost::optional< uint32_t > scanner_ip_
uint16_t scannerControlPort() const
static constexpr unsigned short CONTROL_PORT_OF_HOST_DEVICE
boost::optional< uint32_t > host_ip_
bool diagnostics_enabled_
static constexpr bool INTENSITIES
ScannerConfiguration()=default
static constexpr unsigned short CONTROL_PORT_OF_SCANNER_DEVICE
const ScanRange & scanRange() const
bool diagnosticsEnabled() const
uint8_t nrSubscribers() const
uint32_t clientIp() const
util::TenthOfDegree scan_resolution_
const util::TenthOfDegree & scanResolution() const
uint16_t scanner_data_port_
boost::optional< uint32_t > hostIp() const
static constexpr bool DIAGNOSTICS
Helper class to simplify/improve the construction of the psen_scan_v2_standalone::ScannerConfiguratio...
bool fragmentedScansEnabled() const
Root namespace in which the software components to communicate with the scanner (firmware-version: 2)...
void setHostIp(const uint32_t &host_ip)
boost::optional< ScanRange > scan_range_
#define PSENSCAN_ERROR(name,...)
Higher level data type storing the range in which the scanner takes measurements.
static constexpr unsigned short NR_SUBSCRIBERS
static constexpr unsigned short DATA_PORT_OF_SCANNER_DEVICE
uint16_t host_control_port_
static constexpr bool FRAGMENTED_SCANS
Helper class representing angles in tenth of degree.
bool intensities_enabled_
uint16_t hostUDPPortControl() const
Higher level data type storing the configuration details of the scanner like scanner IP,...
psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Jun 22 2024 02:46:12