MonitoringFrame as coming from Laserscanner. More...
#include <scanner_frames.h>
Public Member Functions | |
PSENscanInternalAngle | to_theta () const |
Public Attributes | |
uint32_t | device_status_ |
DiagnosticArea | diagnostic_area_ |
uint16_t | from_theta_ |
InputStateArea | input_state_area_ |
std::array< uint16_t, 550 > | measures_ |
uint16_t | number_of_samples_ |
uint32_t | opcode_ |
OutputStateArea | output_state_area_ |
uint8_t | resolution_ |
uint32_t | scan_counter_ |
uint8_t | scanner_id_ |
uint32_t | transaction_type_ |
uint32_t | working_mode_ |
MonitoringFrame as coming from Laserscanner.
Definition at line 158 of file scanner_frames.h.
|
inline |
Definition at line 180 of file scanner_frames.h.
uint32_t psen_scan::MonitoringFrame::device_status_ |
Bit mask representing the device status. Byte order: little endian
Definition at line 160 of file scanner_frames.h.
DiagnosticArea psen_scan::MonitoringFrame::diagnostic_area_ |
Area representing diagnostic fault errors
Definition at line 166 of file scanner_frames.h.
uint16_t psen_scan::MonitoringFrame::from_theta_ |
The number of samples in the "measures" field below. Max value is 550 (0x226). Byte order: little endian
Definition at line 171 of file scanner_frames.h.
InputStateArea psen_scan::MonitoringFrame::input_state_area_ |
Area representing the state of the inputs
Definition at line 164 of file scanner_frames.h.
std::array<uint16_t, 550> psen_scan::MonitoringFrame::measures_ |
Counter indicating the number of rounds that the motor has performed since power-up. This field is only available from Version 2.1.0 or later. Byte order: little endian
Definition at line 176 of file scanner_frames.h.
uint16_t psen_scan::MonitoringFrame::number_of_samples_ |
An array of little endian 16-bit unsigned integer representing measures in [mm]. The actual number of samples is in the "number_of_samples" field above. Remaining samples are meaningless
Definition at line 173 of file scanner_frames.h.
uint32_t psen_scan::MonitoringFrame::opcode_ |
Constant 0xC9. Byte order: little endian
Definition at line 161 of file scanner_frames.h.
OutputStateArea psen_scan::MonitoringFrame::output_state_area_ |
Area representing the state of the outputs
Definition at line 165 of file scanner_frames.h.
uint8_t psen_scan::MonitoringFrame::resolution_ |
Angle between measures in tenths of degree The initial angle in tenths of degree. Angle increases left to right clockwise. Zero is leftmost. Byte order: little endian
Definition at line 168 of file scanner_frames.h.
uint32_t psen_scan::MonitoringFrame::scan_counter_ |
Definition at line 179 of file scanner_frames.h.
uint8_t psen_scan::MonitoringFrame::scanner_id_ |
0 = master/standalone, [1..3] = slaves
Definition at line 167 of file scanner_frames.h.
uint32_t psen_scan::MonitoringFrame::transaction_type_ |
GUI monitoring transaction = 0x05. Byte order: little endian
Definition at line 163 of file scanner_frames.h.
uint32_t psen_scan::MonitoringFrame::working_mode_ |
Online = 0x00, Offline Test = 0x02, Byte order: little endian
Definition at line 162 of file scanner_frames.h.