#include <rs_sensor.hpp>
Public Member Functions | |
bool | load_wheel_odometery_config (const std::vector< uint8_t > &odometry_config_buf) const |
operator bool () const | |
bool | send_wheel_odometry (uint8_t wo_sensor_id, uint32_t frame_num, const rs2_vector &translational_velocity) |
wheel_odometer (sensor s) | |
wheel_odometer (std::shared_ptr< rs2_sensor > dev) | |
Public Member Functions inherited from rs2::sensor | |
template<class T > | |
T | as () const |
void | close () const |
const std::shared_ptr< rs2_sensor > & | get () const |
std::vector< stream_profile > | get_active_streams () const |
const char * | get_info (rs2_camera_info info) const |
std::vector< filter > | get_recommended_filters () const |
std::vector< stream_profile > | get_stream_profiles () const |
template<class T > | |
bool | is () const |
void | open (const stream_profile &profile) const |
void | open (const std::vector< stream_profile > &profiles) const |
operator bool () const | |
operator std::shared_ptr< rs2_sensor > () | |
sensor & | operator= (const std::shared_ptr< rs2_sensor > other) |
sensor & | operator= (const sensor &other) |
sensor () | |
sensor (std::shared_ptr< rs2_sensor > dev) | |
template<class T > | |
void | set_notifications_callback (T callback) const |
template<class T > | |
void | start (T callback) const |
void | stop () const |
bool | supports (rs2_camera_info info) const |
Public Member Functions inherited from rs2::options | |
float | get_option (rs2_option option) const |
const char * | get_option_description (rs2_option option) const |
const char * | get_option_name (rs2_option option) const |
option_range | get_option_range (rs2_option option) const |
const char * | get_option_value_description (rs2_option option, float val) const |
std::vector< rs2_option > | get_supported_options () |
bool | is_option_read_only (rs2_option option) const |
options & | operator= (const options &other) |
options (const options &other) | |
void | set_option (rs2_option option, float value) const |
bool | supports (rs2_option option) const |
virtual | ~options ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from rs2::options | |
template<class T > | |
options & | operator= (const T &dev) |
options (rs2_options *o=nullptr) | |
Protected Attributes inherited from rs2::sensor | |
std::shared_ptr< rs2_sensor > | _sensor |
friend | context |
friend | device |
friend | device_base |
friend | device_list |
friend | roi_sensor |
Definition at line 622 of file rs_sensor.hpp.
|
inline |
Definition at line 625 of file rs_sensor.hpp.
|
inlineexplicit |
Definition at line 663 of file rs_sensor.hpp.
|
inline |
Load Wheel odometer settings from host to device
[in] | odometry_config_buf | odometer configuration/calibration blob serialized from jsom file |
Definition at line 640 of file rs_sensor.hpp.
|
inline |
Definition at line 662 of file rs_sensor.hpp.
|
inline |
Send wheel odometry data for each individual sensor (wheel)
[in] | wo_sensor_id | - Zero-based index of (wheel) sensor with the same type within device |
[in] | frame_num | - Monotonocally increasing frame number, managed per sensor. |
[in] | translational_velocity | - Translational velocity in meter/sec |
Definition at line 654 of file rs_sensor.hpp.