39 #include <sys/ioctl.h> 43 #include <com/hex/equipment/flow/Measurement.hpp> 48 static const char *
const NAME;
58 void flow_sub_cb(
const uavcan::ReceivedDataStructure<com::hex::equipment::flow::Measurement> &
msg);
61 void (UavcanFlowBridge::*)
62 (
const uavcan::ReceivedDataStructure<com::hex::equipment::flow::Measurement> &) >
65 uavcan::Subscriber<com::hex::equipment::flow::Measurement, FlowCbBinder>
_sub_flow;
void flow_sub_cb(const uavcan::ReceivedDataStructure< com::hex::equipment::flow::Measurement > &msg)
UavcanFlowBridge(uavcan::INode &node)
static const char *const NAME
static char msg[NUM_MSG][CONFIG_USART1_TXBUFSIZE]
This is the base class for redundant sensors with an independent ORB topic per each redundancy channe...
int init() override
Starts the bridge.
uavcan::MethodBinder< UavcanFlowBridge *, void(UavcanFlowBridge::*)(const uavcan::ReceivedDataStructure< com::hex::equipment::flow::Measurement > &) > FlowCbBinder
const char * get_name() const override
Returns ASCII name of the bridge.
uavcan::Subscriber< com::hex::equipment::flow::Measurement, FlowCbBinder > _sub_flow