flexbe_behavior_engine icon indicating copy to clipboard operation
flexbe_behavior_engine copied to clipboard

namespace fix for topic lookup with rostopic in subscriber state

Open tropappar opened this issue 3 years ago • 0 comments

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

tropappar avatar Mar 24 '22 13:03 tropappar