Public Member Functions | List of all members
rs2::wheel_odometer Class Reference

#include <rs_sensor.hpp>

Inheritance diagram for rs2::wheel_odometer:
Inheritance graph
[legend]

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 >
as () const
 
void close () const
 
const std::shared_ptr< rs2_sensor > & get () const
 
std::vector< stream_profileget_active_streams () const
 
const char * get_info (rs2_camera_info info) const
 
std::vector< filterget_recommended_filters () const
 
std::vector< stream_profileget_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 > ()
 
sensoroperator= (const std::shared_ptr< rs2_sensor > other)
 
sensoroperator= (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_optionget_supported_options ()
 
bool is_option_read_only (rs2_option option) const
 
optionsoperator= (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 >
optionsoperator= (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
 

Detailed Description

Definition at line 622 of file rs_sensor.hpp.

Constructor & Destructor Documentation

rs2::wheel_odometer::wheel_odometer ( sensor  s)
inline

Definition at line 625 of file rs_sensor.hpp.

rs2::wheel_odometer::wheel_odometer ( std::shared_ptr< rs2_sensor dev)
inlineexplicit

Definition at line 663 of file rs_sensor.hpp.

Member Function Documentation

bool rs2::wheel_odometer::load_wheel_odometery_config ( const std::vector< uint8_t > &  odometry_config_buf) const
inline

Load Wheel odometer settings from host to device

Parameters
[in]odometry_config_bufodometer configuration/calibration blob serialized from jsom file
Returns
true on success

Definition at line 640 of file rs_sensor.hpp.

rs2::wheel_odometer::operator bool ( ) const
inline

Definition at line 662 of file rs_sensor.hpp.

bool rs2::wheel_odometer::send_wheel_odometry ( uint8_t  wo_sensor_id,
uint32_t  frame_num,
const rs2_vector translational_velocity 
)
inline

Send wheel odometry data for each individual sensor (wheel)

Parameters
[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
Returns
true on success

Definition at line 654 of file rs_sensor.hpp.


The documentation for this class was generated from the following file:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:41