mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 21:03:34 +08:00
move spin functions to nodehandle
This commit is contained in:
@@ -90,7 +90,7 @@ PX4_MAIN_FUNCTION(publisher)
|
||||
*/
|
||||
rc_channels_pub->publish(msg);
|
||||
|
||||
px4::spin_once();
|
||||
n.spinOnce();
|
||||
|
||||
loop_rate.sleep();
|
||||
++count;
|
||||
|
||||
Reference in New Issue
Block a user