orb_exists: change semantics from (is published or subscribed) to (is published)
Existing users of orb_exists: - logger (dynamic subscribe to multi-instances) - mavlink (orb subscription) - sdlog2 - preflightcheck (check for home_position) - wait_for_topic shell command (it's not used) - orb_group_count() (sensors: dynamic sensor addition) All use-cases benefit from the changed semantics: they are really only interested if there is a publisher, not another subscriber.
Showing
- src/drivers/drv_orb_dev.h 3 additions, 0 deletionssrc/drivers/drv_orb_dev.h
- src/modules/uORB/uORBDevices.cpp 9 additions, 0 deletionssrc/modules/uORB/uORBDevices.cpp
- src/modules/uORB/uORBManager.cpp 23 additions, 3 deletionssrc/modules/uORB/uORBManager.cpp
- src/modules/uORB/uORBManager.hpp 2 additions, 3 deletionssrc/modules/uORB/uORBManager.hpp
Please register or sign in to comment