How do we control two robots? #202
Unanswered
MithunKinarullathil
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Copied from the forum
hexarotor
Leader
2
Apr 26
Flow is designed to run ONE instance per robot.
Therefore, each robot should have each its own copy of Flow running, even if they are identical.
However, if you are performing simulations, you can run multiple _sim_drivers as long as they are pointing to different robot names .
Please note, that typically _sim_drivers include a node called ignition_sim_base that bridges the Ignition clock to ROS clock. Therefore, when running multiple drivers in he same project, make sure only one instance of ignition_sim_base is included in the whole project.
For that, duplicate your existing _sim_drivers, rename it, and remove ignition_sim_base node from it (which by default is included).
Then, in your main project add one instance of ignition_sim_base and add as many _sim_drivers as needed as shown in the picture below.
Beta Was this translation helpful? Give feedback.
All reactions