FlexBE / flexbe_app

The classic user interface (editor + runtime control) for the FlexBE behavior engine. See the flexbe_webui for latest
BSD 3-Clause "New" or "Revised" License
48 stars 49 forks source link

The States in the Concurrenncy Container does not Run Parallally as Intended. #44

Closed paulsebastian97 closed 5 years ago

paulsebastian97 commented 5 years ago

I have created a flexbe behavior to test the working of concurrency container. The concurrency container contains 3 states which should run parallelly. Each of these 3 states basically publishes a unique string to 3 different topics. The value published by the topic is printed using "rostopic echo" ROS command. But when I run the behavior, the 3 concurrency states do not print the strings simultaneously instead prints the strings one after another. This is not how the parallel states should run in a concurrency container. Instead, all the 3 strings should be printed at once. I have attached my flexbe behavior graph and code.

The below two images show the behavior flow. behavior_flow

3_states_inside_concurrency_container

I have attached the behavior and the code for the individual states below. flexbe_behavior_and_states.tar.gz

pschillinger commented 5 years ago

Closing in favor of team-vigir/flexbe_behavior_engine#84