Class hal::gyroscope
Angular velocity sensing hardware abstraction interface.
#include <gyroscope.hpp>
Inherited by the following classes: hal::soft::inert_gyroscope
Classes
| Type | Name |
|---|---|
| struct | read_t Result from reading the gyroscope. |
Public Functions
| Type | Name |
|---|---|
| result< read_t > | read () Read the latest angular velocity sensed by the device. |
| virtual | ~gyroscope () = default |
Public Functions Documentation
function read
Read the latest angular velocity sensed by the device.
inline result< read_t > hal::gyroscope::read ()
Returns:
result<read_t> - angular velocity data
function ~gyroscope
virtual hal::gyroscope::~gyroscope () = default
The documentation for this class was generated from the following file libraries/include/libhal/gyroscope.hpp