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.
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.
I have attached the behavior and the code for the individual states below. flexbe_behavior_and_states.tar.gz