Hello!
I am just trying to train my algorithm to navigate without colliding with obstacles. Here I am using a RL algo that is trained with the corresponding gazebo world. The problem is now, that with highest real time update rate, one simulation with 5000 episodes needs about 25h. I now checked out htop and the performance or the graphics is always concentrated on one core. That why I am now trying to find out, how to get multiple simulations running in parallel. My goal is then to better use the capacity of my PC to have more simulations done in the same time. I first checked out this and this page to be able to get more than one gazebo simulation and rosmaster running in parallel.
Here comes my first question. I can copy the commands from those websites to get multiple simulations and rosmasters. But how can I tell one rosmaster, that he has to communicate with a certain gazebo node (especially, if the /gazebo messages can not be changed and are thus the same for the simulations)?
My second question is about the multimaster_fkie package. I am quiet new to that one and I found this page. There my goal is achieved of having seperate simulations. Can this package be used to tell a rosmaster to communicate only with one gazebo simualtion so that I can have more simulations in total with different rosmasters?
Best regards
Originally posted by Tima15 on Gazebo Answers with karma: 3 on 2019-09-25
Post score: 0