45 _uavcan_pub_raw_cmd(node),
70 _cmd.hardpoint_id = hardpoint_id;
~UavcanHardpointController()
uavcan::TimerEventForwarder< TimerCbBinder > _timer
static constexpr unsigned MAX_RATE_HZ
XXX make this configurable.
uavcan::Publisher< uavcan::equipment::hardpoint::Command > _uavcan_pub_raw_cmd
Simple error/warning functions, heavily inspired by the BSD functions of the same names...
void periodic_update(const uavcan::TimerEvent &)
UavcanHardpointController(uavcan::INode &node)
uavcan::MethodBinder< UavcanHardpointController *, void(UavcanHardpointController::*)(const uavcan::TimerEvent &)> TimerCbBinder
uavcan::equipment::hardpoint::Command _cmd
void set_command(uint8_t hardpoint_id, uint16_t command)