mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 07:23:33 +08:00
improve subsciber api
This commit is contained in:
@@ -75,6 +75,7 @@ int main(int argc, char **argv)
|
||||
* away the oldest ones.
|
||||
*/
|
||||
px4::Subscriber* sub = n.subscribe("rc_channels", rc_channels_callback);
|
||||
PX4_INFO("subscribed");
|
||||
|
||||
/**
|
||||
* px4::spin() will enter a loop, pumping callbacks. With this version, all
|
||||
|
||||
Reference in New Issue
Block a user