The DerivedValues class Includes the derived configuration of the measurement data channel. More...
#include <DerivedValues.h>
Public Member Functions | |
DerivedValues () | |
Constructor of an empty DerivedValues instance. More... | |
float | getAngularBeamResolution () const |
Returns the angular resolution between the beams. More... | |
uint32_t | getInterbeamPeriod () const |
Return the time between consecutive beams. More... | |
uint16_t | getMultiplicationFactor () const |
Return the multiplication factor. Multiplication factor to be applied to the beam distance values to get the distance in millimeter. More... | |
uint16_t | getNumberOfBeams () const |
Returns the number of beams of the current scan. More... | |
uint16_t | getScanTime () const |
Return the time of the scan. More... | |
float | getStartAngle () const |
Get the start angle of the scan. More... | |
bool | isEmpty () const |
Returns if derived values have been enabled. More... | |
void | setAngularBeamResolution (const int32_t &angular_beam_resolution) |
Set the angular resolution between beams. More... | |
void | setInterbeamPeriod (const uint32_t &interbeam_period) |
Set the time between two consecutive beams. More... | |
void | setIsEmpty (bool is_empty) |
Set if derived values are enabled. More... | |
void | setMultiplicationFactor (const uint16_t &multiplication_factor) |
Sets the multiplication factor. More... | |
void | setNumberOfBeams (const uint16_t &number_of_beams) |
Sets the number of beams for the current scan. More... | |
void | setScanTime (const uint16_t &scan_time) |
Sets the time of the scan. More... | |
void | setStartAngle (const int32_t &start_angle) |
Set the start angle of the scan. More... | |
Private Attributes | |
const double | m_ANGLE_RESOLUTION = 4194304.0 |
Defined angle resolution to convert sensor input to the right frame. More... | |
float | m_angular_beam_resolution |
uint32_t | m_interbeam_period |
bool | m_is_empty |
uint16_t | m_multiplication_factor |
uint16_t | m_number_of_beams |
uint16_t | m_scan_time |
float | m_start_angle |
The DerivedValues class Includes the derived configuration of the measurement data channel.
Definition at line 48 of file DerivedValues.h.
sick::datastructure::DerivedValues::DerivedValues | ( | ) |
Constructor of an empty DerivedValues instance.
Definition at line 40 of file DerivedValues.cpp.
float sick::datastructure::DerivedValues::getAngularBeamResolution | ( | ) | const |
Returns the angular resolution between the beams.
Definition at line 86 of file DerivedValues.cpp.
uint32_t sick::datastructure::DerivedValues::getInterbeamPeriod | ( | ) | const |
Return the time between consecutive beams.
Definition at line 96 of file DerivedValues.cpp.
uint16_t sick::datastructure::DerivedValues::getMultiplicationFactor | ( | ) | const |
Return the multiplication factor. Multiplication factor to be applied to the beam distance values to get the distance in millimeter.
Definition at line 45 of file DerivedValues.cpp.
uint16_t sick::datastructure::DerivedValues::getNumberOfBeams | ( | ) | const |
Returns the number of beams of the current scan.
Definition at line 55 of file DerivedValues.cpp.
uint16_t sick::datastructure::DerivedValues::getScanTime | ( | ) | const |
Return the time of the scan.
Definition at line 65 of file DerivedValues.cpp.
float sick::datastructure::DerivedValues::getStartAngle | ( | ) | const |
Get the start angle of the scan.
Definition at line 76 of file DerivedValues.cpp.
bool sick::datastructure::DerivedValues::isEmpty | ( | ) | const |
Returns if derived values have been enabled.
Definition at line 106 of file DerivedValues.cpp.
void sick::datastructure::DerivedValues::setAngularBeamResolution | ( | const int32_t & | angular_beam_resolution | ) |
Set the angular resolution between beams.
angular_beam_resolution | The angular resolution between two beams. |
Definition at line 91 of file DerivedValues.cpp.
void sick::datastructure::DerivedValues::setInterbeamPeriod | ( | const uint32_t & | interbeam_period | ) |
Set the time between two consecutive beams.
interbeam_period | Time between two consecutive beams. |
Definition at line 101 of file DerivedValues.cpp.
void sick::datastructure::DerivedValues::setIsEmpty | ( | bool | is_empty | ) |
Set if derived values are enabled.
is_empty | set if derived values are enabled. |
Definition at line 111 of file DerivedValues.cpp.
void sick::datastructure::DerivedValues::setMultiplicationFactor | ( | const uint16_t & | multiplication_factor | ) |
Sets the multiplication factor.
multiplication_factor | The new multiplication factor. |
Definition at line 50 of file DerivedValues.cpp.
void sick::datastructure::DerivedValues::setNumberOfBeams | ( | const uint16_t & | number_of_beams | ) |
Sets the number of beams for the current scan.
number_of_beams | Number of beams for the scan. |
Definition at line 60 of file DerivedValues.cpp.
void sick::datastructure::DerivedValues::setScanTime | ( | const uint16_t & | scan_time | ) |
Sets the time of the scan.
scan_time | Time of the scan. |
Definition at line 70 of file DerivedValues.cpp.
void sick::datastructure::DerivedValues::setStartAngle | ( | const int32_t & | start_angle | ) |
Set the start angle of the scan.
start_angle | Start angle of the scan. |
Definition at line 81 of file DerivedValues.cpp.
|
private |
Defined angle resolution to convert sensor input to the right frame.
Definition at line 146 of file DerivedValues.h.
|
private |
Definition at line 154 of file DerivedValues.h.
|
private |
Definition at line 155 of file DerivedValues.h.
|
private |
Definition at line 148 of file DerivedValues.h.
|
private |
Definition at line 150 of file DerivedValues.h.
|
private |
Definition at line 151 of file DerivedValues.h.
|
private |
Definition at line 152 of file DerivedValues.h.
|
private |
Definition at line 153 of file DerivedValues.h.