learn-to-race / l2r

Open-source reinforcement learning environment for autonomous racing — featured as a conference paper at ICCV 2021 and as the official challenge tracks at both SL4AD@ICML2022 and AI4AD@IJCAI2022. These are the L2R core libraries.
https://learn-to-race.org
GNU General Public License v2.0
147 stars 15 forks source link

Only one connection to pose interface is permitted #7

Open XDynames opened 2 years ago

XDynames commented 2 years ago

Hi again,

I seems as though whichever process connects to the pose interface socket first receives the output from the simulation. If that process is not the RacingEnv no actions will be taken by the vehicle.

How are we supposed to access this information from a separate monitoring process in parallel with a racer?

hermgerm29 commented 2 years ago

Great question. If you would like to listen on multiple sockets, one solution would be to create multiple, duplicate IMU sensors in the simulator