Class hal::angular_velocity_sensor
ClassList > hal > angular_velocity_sensor
angular velocity sensor hardware abstraction interface
#include <angular_velocity_sensor.hpp>
Inherited by the following classes: hal::rmd::drc_angular_velocity_sensor
Classes
Type | Name |
---|---|
struct | read_t angular velocity reading from the sensor |
Public Functions
Type | Name |
---|---|
result< read_t > | read () Reads the most up to date angular velocity from the sensor. |
virtual | ~angular_velocity_sensor () = default |
Public Functions Documentation
function read
Reads the most up to date angular velocity from the sensor.
inline result< read_t > hal::angular_velocity_sensor::read ()
Returns:
result<read_t> - angular velocity data
function ~angular_velocity_sensor
virtual hal::angular_velocity_sensor::~angular_velocity_sensor () = default
The documentation for this class was generated from the following file libraries/include/libhal/angular_velocity_sensor.hpp