15 #ifndef PSEN_SCAN_V2_STANDALONE_START_REQUEST_H 16 #define PSEN_SCAN_V2_STANDALONE_START_REQUEST_H 27 class ScannerConfiguration;
29 namespace data_conversion_layer
34 namespace start_request
48 const uint32_t& seq_number);
77 constexpr
DeviceSettings(
const bool diagnostics_enabled,
const bool intensities_enabled);
80 constexpr
bool diagnosticsEnabled()
const;
81 constexpr
bool intensitiesEnabled()
const;
118 : diagnostics_enabled_(diagnostics_enabled), intensities_enabled_(intensities_enabled)
136 #endif // PSEN_SCAN_V2_STANDALONE_START_REQUEST_H Class describing the fundamental settings of the master and subscriber devices, like id and diagnosti...
const uint16_t host_udp_port_data_
constexpr bool diagnosticsEnabled() const
const LaserScanSettings master_
constexpr DeviceSettings(const bool diagnostics_enabled, const bool intensities_enabled)
const uint32_t host_ip_
network byte order = big endian
const util::TenthOfDegree resolution_
static constexpr std::size_t NUM_SUBSCRIBERS
static constexpr ScanRangeTemplated< min_allowed_angle, max_allowed_angle > createInvalidScanRange()
Higher level data type storing the configuration details of the scanner like scanner IP...
std::vector< char > RawData
Message(const ScannerConfiguration &scanner_configuration)
constexpr LaserScanSettings()=default
constexpr bool intensitiesEnabled() const
Root namespace in which the software components to communicate with the scanner (firmware-version: 2)...
Higher level data type storing the range in which the scanner takes measurements. ...
const bool intensities_enabled_
const DeviceSettings master_device_settings_
const ScanRange scan_range_
constexpr const ScanRange & scanRange() const
const bool diagnostics_enabled_
Higher level data type representing a scanner start request.
friend data_conversion_layer::RawData serialize(const data_conversion_layer::start_request::Message &msg, const uint32_t &seq_number)
const std::array< LaserScanSettings, NUM_SUBSCRIBERS > subscribers_
constexpr util::TenthOfDegree resolution() const
Class describing the scan settings of the master and subscriber devices.
Helper class representing angles in tenth of degree.