Proper usage of FlexBE' s "priority" container
Hello,
I have recently started working with the flexbe ROS package ([http://wiki.ros.org/flexbe]) and have been having some difficulty understanding the purpose of the container of type "priority". Initially, I assumed that it would be a container that one would place at the root of your behavior and whenever a transition to it was requested, it would preempt the currently running state and execute itself (for me this seems logical and practical). However, after trying to induce this through the "/flexbe/command/transition" topic, I have realized that it does not work as expected.
In my use case I would like to have a robot that can be performing multiple complex tasks (one at a time), however I would like to be able to switch at any time to the "user teleoperation" state (my priority container). It is good to mention that I would like to avoid killing one behavior and initializing another one.
Does anyone has any idea of how to implement these types of containers properly? I could not find any documentation on the topic.