|
Firmware
|
A sensor bridge class must implement this interface. More...
#include <sensor_bridge.hpp>
Public Member Functions | |
| virtual const char * | get_name () const =0 |
| Returns ASCII name of the bridge. | |
| virtual int | init ()=0 |
| Starts the bridge. More... | |
| virtual unsigned | get_num_redundant_channels () const =0 |
| Returns number of active redundancy channels. | |
| virtual void | print_status () const =0 |
| Prints current status in a human readable format to stdout. | |
Public Member Functions inherited from ListNode< IUavcanSensorBridge *> | |
| void | setSibling (IUavcanSensorBridge * sibling) |
| const IUavcanSensorBridge * | getSibling () const |
Static Public Member Functions | |
| static void | make_all (uavcan::INode &node, List< IUavcanSensorBridge *> &list) |
| Sensor bridge factory. More... | |
Static Public Attributes | |
| static constexpr unsigned | MAX_NAME_LEN = 20 |
Additional Inherited Members | |
Protected Attributes inherited from ListNode< IUavcanSensorBridge *> | |
| IUavcanSensorBridge * | _sibling |
A sensor bridge class must implement this interface.
|
pure virtual |
Starts the bridge.
Implemented in UavcanGnssBridge, UavcanBarometerBridge, and UavcanMagnetometerBridge.
|
static |
Sensor bridge factory.
Creates all known sensor bridges and puts them in the linked list.
1.8.12