mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 19:53:34 +08:00
uavcannode: schedule to run on log_message publications
- this is a precaution to minimize message latency and potential lost messages
This commit is contained in:
@@ -330,6 +330,8 @@ int UavcanNode::init(uavcan::NodeID node_id, UAVCAN_DRIVER::BusEvent &bus_events
|
||||
subscriber->init();
|
||||
}
|
||||
|
||||
_log_message_sub.registerCallback();
|
||||
|
||||
bus_events.registerSignalCallback(UavcanNode::busevent_signal_trampoline);
|
||||
|
||||
int rv = _node.start();
|
||||
|
||||
Reference in New Issue
Block a user