Class hal::soft::inert_gyroscope
ClassList > hal > soft > inert_gyroscope
Inert implementation of angular velocity sensing hardware.
#include <inert_gyroscope.hpp>
Inherits the following classes: hal::gyroscope
Public Functions inherited from hal::gyroscope
See hal::gyroscope
Type | Name |
---|---|
result< read_t > | read () Read the latest angular velocity sensed by the device. |
virtual | ~gyroscope () = default |
Public Static Functions
Type | Name |
---|---|
result< inert_gyroscope > | create (read_t p_result) Factory function to create inert_gyroscope object. |
Public Static Functions Documentation
function create
Factory function to create inert_gyroscope object.
static inline result< inert_gyroscope > hal::soft::inert_gyroscope::create (
read_t p_result
)
Parameters:
p_result
- Values to return when calling read()
Returns:
result<inert_gyroscope> - Constructed inert_gyroscope object
The documentation for this class was generated from the following file libraries/include/libhal-soft/inert_drivers/inert_gyroscope.hpp