42 #include <uavcan/uavcan.hpp> 43 #include <uavcan/equipment/hardpoint/Command.hpp> 44 #include <uavcan/equipment/hardpoint/Status.hpp> 74 uavcan::equipment::hardpoint::Command
_cmd;
78 typedef uavcan::MethodBinder<UavcanHardpointController *, void (UavcanHardpointController::*)(const uavcan::TimerEvent &)>
87 uavcan::TimerEventForwarder<TimerCbBinder>
_timer;
~UavcanHardpointController()
uavcan::TimerEventForwarder< TimerCbBinder > _timer
static constexpr unsigned MAX_RATE_HZ
XXX make this configurable.
pthread_mutex_t _node_mutex
uavcan::Publisher< uavcan::equipment::hardpoint::Command > _uavcan_pub_raw_cmd
The UavcanHardpointController class.
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)
Performance measuring tools.