Describe the bug
The simulation does not start and the interaction with rviz is not working as expected (compared with the same configuration run with f1tenth_simulator).
To Reproduce
Steps to reproduce the behavior:
Build this docker image, using the workaround suggested here
Start the container with sudo docker.sh
Launch the example agent with roslaunch f1tenth_gym_ros agent_template.launch
Not able to interact with rviz or start the controller
Expected behavior
As reported in the readme: "You shagent controlould see an rviz window show up, showing the map, the two cars (ego is blue and opponent is orange), and the LaserScan of the ego car. The opponent is running pure pursuit around the track, and the ego agent is not moving."
Screenshots
Only the ego vehicle is visualized.
Desktop (please complete the following information):
OS: Ubuntu 20.04
Additional context
I also tried to use a working agent follow_the_gap tested with the f1tenth_simulator.
The visualization in rviz does not allow to place the racecar in other position, however the message is correctly published in the initialpose topic. I also tried to press n to activate the agent control, without any success.
Describe the bug The simulation does not start and the interaction with rviz is not working as expected (compared with the same configuration run with
f1tenth_simulator
).To Reproduce Steps to reproduce the behavior:
sudo docker.sh
roslaunch f1tenth_gym_ros agent_template.launch
Expected behavior As reported in the readme: "You shagent controlould see an rviz window show up, showing the map, the two cars (ego is blue and opponent is orange), and the LaserScan of the ego car. The opponent is running pure pursuit around the track, and the ego agent is not moving."
Screenshots Only the ego vehicle is visualized.
Desktop (please complete the following information):
Additional context I also tried to use a working agent
follow_the_gap
tested with thef1tenth_simulator
. The visualization in rviz does not allow to place the racecar in other position, however the message is correctly published in theinitialpose
topic. I also tried to pressn
to activate the agent control, without any success.