mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 08:19:05 +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:
parent
15cbf96378
commit
613efa49b9
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user