mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-08 04:10:36 +08:00
INode class. Publisher, Subscriber, ServiceServer, ServiceClient now accept INode in constructor instead of the bunch of independent params. Self NodeID now being configured via setNodeID() method instead of constructor param
This commit is contained in:
@@ -33,7 +33,8 @@ TEST(Scheduler, Timers)
|
||||
|
||||
uavcan::OutgoingTransferRegistry<8> out_trans_reg(poolmgr);
|
||||
|
||||
uavcan::Scheduler sch(can_driver, poolmgr, clock_driver, out_trans_reg, uavcan::NodeID(1));
|
||||
uavcan::Scheduler sch(can_driver, poolmgr, clock_driver, out_trans_reg);
|
||||
sch.getDispatcher().setNodeID(1);
|
||||
|
||||
/*
|
||||
* Registration
|
||||
|
||||
Reference in New Issue
Block a user