flexbe_behavior_engine
flexbe_behavior_engine copied to clipboard
namespace fix for topic lookup with rostopic in subscriber state
The SubscriberState of the flexbe states was wrongly using rostopic to lookup relative topic names. It was always assuming topics to be at the root of the global namespace, even when the behavior engine was executed within a sub-namespace.
This is fixed now by assuming
- topic names given with leading slash to be global names and
- any other names to be relative to the name space in which the behavior engine is running.
Update for PR https://github.com/team-vigir/flexbe_behavior_engine/pull/155