Get current behavior after executed first time
Hello,
I am using behaviors without operator and want to get correct executing behavior to know the current process. The process is launch roslaunch flexbe_onboard behavior_onboard.launch run flexbe_widget be_action_server and flexbe_mirror. It used to be an unstable process to get current behavior and somehow related to flexbe_mirror threading problem which has been fixed by adding threading lock. However, it also introduces another issue that we can get first and only the first behavior. It seems caused by return without releasing the lock. If I released the lock at the end of _mirror_callback function, things look good to me. I can get current behaviors after second time executing. Do you thing that is the cause/fix to this problem?
Thank you for reporting! I am not sure if I understand you correctly, though. Can you add the steps that I would need to execute to reproduce the problem?
If you think you already found a way to fix it, that's great! If you open a pull request, I can check your proposed change.
Any further discussion on this before I close?