mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 10:10:36 +08:00
Fixed wait_for_topic and orb_exists
orb_exists was not updating the DSP topics on apps proc side Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
committed by
Lorenz Meier
parent
62a3e07423
commit
b556528984
@@ -137,7 +137,7 @@ int uORB::Manager::orb_exists(const struct orb_metadata *meta, int instance)
|
||||
#else
|
||||
ret = px4_access(path, F_OK);
|
||||
if (ret == -1 && meta != nullptr && _remote_topics.size() > 0) {
|
||||
ret = (_remote_topics.find(meta->o_name) != _remote_topics.end());
|
||||
ret = (_remote_topics.find(meta->o_name) != _remote_topics.end()) ? OK : ERROR;
|
||||
}
|
||||
return ret;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user