Header of a TCP or UDP data packet from the scanner. More...
#include <packet_structure.h>
Public Attributes | |
std::int32_t | angular_increment |
Delta between two succeding scan points 1/10000° | |
std::uint32_t | field_status |
Field status. | |
std::int32_t | first_angle |
Absolute angle of first scan point within this packet in 1/10000° | |
std::uint16_t | first_index |
Index of first scan point within this packet. | |
std::uint16_t | header_size |
Header size, defaults to 60 bytes. | |
std::uint16_t | magic |
Magic bytes, must be 5C A2 (hex) | |
std::uint16_t | num_points_packet |
Total number of scan points within this packet. | |
std::uint16_t | num_points_scan |
Total number of scan points (samples) within complete scan. | |
std::uint32_t | output_status |
Output status. | |
std::uint16_t | packet_number |
Sequence number for packet (counting packets of a particular scan, starting with 1) | |
std::uint32_t | packet_size |
Overall packet size (header+payload), 1404 bytes with maximum payload. | |
std::uint16_t | packet_type |
Packet type, must be 43 00 (hex) | |
std::uint32_t | scan_frequency |
Frequency of scan-head rotation in mHz (Milli-Hertz) | |
std::uint16_t | scan_number |
Sequence for scan (incremented for every scan, starting with 0, overflows) | |
std::uint32_t | status_flags |
Status flags. | |
std::uint64_t | timestamp_raw |
Raw timestamp of internal clock in NTP time format. | |
std::uint64_t | timestamp_sync |
With an external NTP server synced Timestamp (currenty not available and and set to zero) |
Header of a TCP or UDP data packet from the scanner.
Definition at line 21 of file packet_structure.h.
std::int32_t pepperl_fuchs::PacketHeader::angular_increment |
Delta between two succeding scan points 1/10000°
Definition at line 66 of file packet_structure.h.
std::uint32_t pepperl_fuchs::PacketHeader::field_status |
Field status.
Definition at line 72 of file packet_structure.h.
std::int32_t pepperl_fuchs::PacketHeader::first_angle |
Absolute angle of first scan point within this packet in 1/10000°
Definition at line 63 of file packet_structure.h.
std::uint16_t pepperl_fuchs::PacketHeader::first_index |
Index of first scan point within this packet.
Definition at line 60 of file packet_structure.h.
std::uint16_t pepperl_fuchs::PacketHeader::header_size |
Header size, defaults to 60 bytes.
Definition at line 33 of file packet_structure.h.
std::uint16_t pepperl_fuchs::PacketHeader::magic |
Magic bytes, must be 5C A2 (hex)
Definition at line 24 of file packet_structure.h.
std::uint16_t pepperl_fuchs::PacketHeader::num_points_packet |
Total number of scan points within this packet.
Definition at line 57 of file packet_structure.h.
std::uint16_t pepperl_fuchs::PacketHeader::num_points_scan |
Total number of scan points (samples) within complete scan.
Definition at line 54 of file packet_structure.h.
std::uint32_t pepperl_fuchs::PacketHeader::output_status |
Output status.
Definition at line 69 of file packet_structure.h.
std::uint16_t pepperl_fuchs::PacketHeader::packet_number |
Sequence number for packet (counting packets of a particular scan, starting with 1)
Definition at line 39 of file packet_structure.h.
std::uint32_t pepperl_fuchs::PacketHeader::packet_size |
Overall packet size (header+payload), 1404 bytes with maximum payload.
Definition at line 30 of file packet_structure.h.
std::uint16_t pepperl_fuchs::PacketHeader::packet_type |
Packet type, must be 43 00 (hex)
Definition at line 27 of file packet_structure.h.
std::uint32_t pepperl_fuchs::PacketHeader::scan_frequency |
Frequency of scan-head rotation in mHz (Milli-Hertz)
Definition at line 51 of file packet_structure.h.
std::uint16_t pepperl_fuchs::PacketHeader::scan_number |
Sequence for scan (incremented for every scan, starting with 0, overflows)
Definition at line 36 of file packet_structure.h.
std::uint32_t pepperl_fuchs::PacketHeader::status_flags |
Status flags.
Definition at line 48 of file packet_structure.h.
std::uint64_t pepperl_fuchs::PacketHeader::timestamp_raw |
Raw timestamp of internal clock in NTP time format.
Definition at line 42 of file packet_structure.h.
std::uint64_t pepperl_fuchs::PacketHeader::timestamp_sync |
With an external NTP server synced Timestamp (currenty not available and and set to zero)
Definition at line 45 of file packet_structure.h.