#include <scan_msg.H>
Classes | |
class | point_t |
Public Member Functions | |
scan_msg_t () | |
scan_msg_t (msg_t const &msg_) | |
unsigned | version () const |
unsigned | scanner_type () const |
unsigned | ecu_id () const |
double | timestamp () const |
double | start_angle () const |
double | end_angle () const |
unsigned | scan_counter () const |
unsigned | num_points () const |
void | point (unsigned i_, point_t &point_) const |
Protected Types | |
enum | { VERSION_OFFSET = 16 } |
enum | { SCANNER_TYPE_OFFSET = 17 } |
enum | { ECU_ID_OFFSET = 18 } |
enum | { TIMESTAMP_OFFSET = 20 } |
enum | { START_ANGLE_OFFSET = 24 } |
enum | { END_ANGLE_OFFSET = 26 } |
enum | { SCAN_COUNTER_OFFSET = 28 } |
enum | { NUM_POINTS_OFFSET = 30 } |
enum | { POINT_OFFSET = 32 } |
enum | { POINT_SIZE = 12 } |
ibeo::scan_msg_t::scan_msg_t | ( | ) | [inline] |
ibeo::scan_msg_t::scan_msg_t | ( | msg_t const & | msg_ | ) | [inline] |
unsigned ibeo::scan_msg_t::ecu_id | ( | ) | const [inline] |
References ECU_ID_OFFSET, and ibeo::msg_t::m_data.
double ibeo::scan_msg_t::end_angle | ( | ) | const [inline] |
References END_ANGLE_OFFSET, and ibeo::msg_t::m_data.
unsigned ibeo::scan_msg_t::num_points | ( | ) | const [inline] |
References ibeo::msg_t::m_data, and NUM_POINTS_OFFSET.
Referenced by ibeo_observer_t::scan().
void ibeo::scan_msg_t::point | ( | unsigned | i_, | |
point_t & | point_ | |||
) | const [inline] |
References ibeo::msg_t::m_data, ibeo::scan_msg_t::point_t::m_data, POINT_OFFSET, and POINT_SIZE.
Referenced by ibeo_observer_t::scan().
unsigned ibeo::scan_msg_t::scan_counter | ( | ) | const [inline] |
References ibeo::msg_t::m_data, and SCAN_COUNTER_OFFSET.
unsigned ibeo::scan_msg_t::scanner_type | ( | ) | const [inline] |
References ibeo::msg_t::m_data, and SCANNER_TYPE_OFFSET.
double ibeo::scan_msg_t::start_angle | ( | ) | const [inline] |
References ibeo::msg_t::m_data, and START_ANGLE_OFFSET.
double ibeo::scan_msg_t::timestamp | ( | void | ) | const [inline] |
References ibeo::msg_t::m_data, and TIMESTAMP_OFFSET.
unsigned ibeo::scan_msg_t::version | ( | ) | const [inline] |
References ibeo::msg_t::m_data, and VERSION_OFFSET.