38 namespace datastructure {
94 m_host_ip = boost::asio::ip::address_v4::from_string(host_ip);
158 bool derived_settings,
159 bool measurement_data,
161 bool application_data)
164 m_features += (
static_cast<int>(general_system_state) << 0);
165 m_features += (
static_cast<int>(derived_settings) << 1);
166 m_features += (
static_cast<int>(measurement_data) << 2);
167 m_features += (
static_cast<int>(intrusion_data) << 3);
168 m_features += (
static_cast<int>(application_data) << 4);
float getStartAngle() const
Gets the start angle of the scan.
void setDerivedNumberOfBeams(const uint16_t &number_of_beams)
Sets the number of beams for the current scan.
void setHostIp(const boost::asio::ip::address_v4 &host_ip)
Sets the IP-address of the host from an IP-address.
float m_derived_angular_beam_resolution
void setDerivedMultiplicationFactor(const uint16_t &multiplication_factor)
Sets the multiplication factor.
uint16_t getHostUdpPort() const
Gets the host udp port.
uint32_t getDerivedInterbeamPeriod() const
Return the time between consecutive beams.
uint8_t getEInterfaceType() const
Gets the eInterface type.
uint8_t m_version_major_version_number
uint8_t getChannel() const
Gets the channel of the data.
float getDerivedStartAngle() const
Get the start angle of the scan.
uint8_t m_version_minor_version_number
void setVersionReleaseNumber(const uint8_t &version_release_number)
Sets the version release number for the scanner.
boost::asio::ip::address_v4 getHostIp() const
Gets the IP-address of the host.
uint16_t m_derived_number_of_beams
void setHostUdpPort(const uint16_t &host_udp_port)
Sets the host udp port.
void setEInterfaceType(const uint8_t &e_interface_type)
Sets the eInterface type.
void setFeatures(const uint16_t &features)
Set the enabled features.
uint16_t m_derived_interbeam_period
void setDerivedInterbeamPeriod(const uint32_t &interbeam_period)
Set the time between two consecutive beams.
void setDerivedAngularBeamResolutionDegrees(const float &angular_beam_resolution)
Set the angular resolution between beams from degrees.
uint16_t m_publishing_frequency
uint16_t m_derived_scan_time
uint8_t getVersionReleaseNumber() const
Gets the version release number for the scanner.
void setStartAngleDegrees(const float &start_angle)
Set the start angle of the configuration from degrees.
const double m_ANGLE_RESOLUTION
Defined angle resolution to convert sensor input to the right frame.
void setVersionMajorVersionNumber(const uint8_t &version_major_version_number)
Sets the major version number for the scanner.
void setPublishingFrequency(const uint16_t &publishing_frequency)
Sets the publishing frequency.
uint8_t m_version_release_number
ConfigData()
The constructor of the config data.
bool getEnabled() const
Gets if the channel is enabled.
uint16_t getDerivedNumberOfBeams() const
Returns the number of beams of the current scan.
void setVersionMinorVersionNumber(const uint8_t &version_minor_version_number)
Sets the minor version number for the scanner.
void setChannel(const uint8_t &channel)
Sets the channel of the data.
void setStartAngle(const int32_t &start_angle)
Sets the start angle of the scan.
std::string m_version_c_version
uint16_t getPublishingFrequency() const
Gets the publishing frequency.
void setDerivedStartAngle(const int32_t &start_angle)
Set the start angle of the scan.
void setDerivedAngularBeamResolution(const int32_t &angular_beam_resolution)
Set the angular resolution between beams.
uint8_t getVersionMajorVersionNumber() const
Gets the major version number for the scanner.
uint8_t getVersionMinorVersionNumber() const
Gets the minor version number for the scanner.
float getDerivedAngularBeamResolution() const
Returns the angular resolution between the beams.
uint16_t getDerivedMultiplicationFactor() const
Return the multiplication factor. Multiplication factor to be applied to the beam distance values to ...
uint8_t m_e_interface_type
uint16_t m_derived_multiplication_factor
float getEndAngle() const
Gets the end angle of the scan.
void setEndAngleDegrees(const float &end_angle)
Set the end angle of the configuration from degrees.
void setVersionCVersion(const std::string &version_c_version)
Sets the version indicator for the scanner.
uint16_t getFeatures() const
Gets the enabled features.
std::string getVersionCVersion() const
Gets the version indicator for the scanner.
uint16_t getDerivedScanTime() const
Return the time of the scan.
void setDerivedScanTime(const uint16_t &scan_time)
Sets the time of the scan.
void setEndAngle(const int32_t &end_angle)
Sets the end angle of the scan.
boost::asio::ip::address_v4 m_host_ip
float m_derived_start_angle
void setEnabled(bool enabled)
Sets if the channel is enabled.