mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 07:11:35 +08:00
uavcan_v1: Add Publisher base; Gnss Publisher
This commit is contained in:
committed by
Lorenz Meier
parent
216a66b535
commit
4b73566b76
@@ -61,6 +61,7 @@ public:
|
||||
static constexpr unsigned MAX_RATE_HZ = 200; ///< XXX make this configurable
|
||||
static constexpr uint16_t DISARMED_OUTPUT_VALUE = UINT16_MAX;
|
||||
|
||||
/// TODO: derive from Publisher class to handle port-ID setting via parameter
|
||||
UavcanEscController(CanardInstance &ins, const CanardPortID &baseID) :
|
||||
_canard_instance(ins), _base_port_id(baseID) {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user