Robotics StackExchange | Archived questions

reinforcement learning(rl) with gazebo use multiprocessing algorithm like A3C

Hi :

I am using gazebo for reinforcement learning simulation,

Is there any way to run multi gazebo on different cpu core ,or run multi robot with ros on gazebo and different core can control one robot alone

I also need some github codes

Thanks

Asked by linus111 on 2017-12-14 03:49:37 UTC

Comments

Usually, the OS takes care of assigning different process to different cpu cores. On my machine gzserver and gzclient are running on different cores for example. If your reinforcement learning algorithm is a separate process from gazebo, it may (the OS chooses) then be run on a different core. You could have 1 process controlling the reinforcement learning for each robot. You could also check taskset on linux to manually target specific cores.

Asked by Fabian on 2017-12-21 00:02:29 UTC

Answers