42 #include <uavcan/uavcan.hpp> 43 #include <uavcan/equipment/hardpoint/Command.hpp> 44 #include <uavcan/equipment/hardpoint/Status.hpp> 66 void set_command(uint8_t hardpoint_id, uint16_t command);
72 static constexpr
unsigned MAX_RATE_HZ = 1;
74 uavcan::equipment::hardpoint::Command _cmd;
76 void periodic_update(
const uavcan::TimerEvent &);
78 typedef uavcan::MethodBinder<UavcanHardpointController *, void (UavcanHardpointController::*)(const uavcan::TimerEvent &)>
81 pthread_mutex_t _node_mutex;
86 uavcan::Publisher<uavcan::equipment::hardpoint::Command> _uavcan_pub_raw_cmd;
87 uavcan::TimerEventForwarder<TimerCbBinder> _timer;
The UavcanHardpointController class.
Definition: hardpoint.hpp:51
Performance measuring tools.