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;
57 [[deprecated(
"use void hostIp(const uint32_t& host_ip) instead")]]
void setHostIp(
const uint32_t& host_ip);
58 void hostIp(
const uint32_t& host_ip);
93 PSENSCAN_ERROR(
"ScannerConfiguration",
"Requires a resolution of min: 0.2 degree when intensities are enabled");
166 #endif // PSEN_SCAN_V2_STANDALONE_SCANNER_CONFIGURATION_H boost::optional< ScanRange > scan_range_
static constexpr unsigned short DATA_PORT_OF_HOST_DEVICE
uint16_t scannerControlPort() const
uint16_t host_control_port_
uint16_t scanner_control_port_
static constexpr double DEFAULT_SCAN_ANGLE_RESOLUTION(data_conversion_layer::degreeToRadian(0.1))
boost::optional< uint32_t > scanner_ip_
uint16_t scannerDataPort() const
static constexpr bool INTENSITIES
static constexpr unsigned short CONTROL_PORT_OF_HOST_DEVICE
bool diagnosticsEnabled() const
Higher level data type storing the configuration details of the scanner like scanner IP...
static constexpr unsigned short CONTROL_PORT_OF_SCANNER_DEVICE
const util::TenthOfDegree & scanResolution() const
bool diagnostics_enabled_
Root namespace in which the software components to communicate with the scanner (firmware-version: 2)...
ScannerConfiguration()=default
uint16_t scanner_data_port_
Higher level data type storing the range in which the scanner takes measurements. ...
#define PSENSCAN_ERROR(name,...)
boost::optional< uint32_t > hostIp() const
boost::optional< uint32_t > host_ip_
util::TenthOfDegree scan_resolution_
uint32_t clientIp() const
Helper class to simplify/improve the construction of the psen_scan_v2_standalone::ScannerConfiguratio...
const ScanRange & scanRange() const
bool intensities_enabled_
static int16_t radToTenthDegree(const double &angle_in_rad)
bool fragmentedScansEnabled() const
static constexpr bool DIAGNOSTICS
uint16_t hostUDPPortData() const
bool intensitiesEnabled() const
static constexpr bool FRAGMENTED_SCANS
static constexpr unsigned short DATA_PORT_OF_SCANNER_DEVICE
void setHostIp(const uint32_t &host_ip)
Helper class representing angles in tenth of degree.
uint16_t hostUDPPortControl() const