Docker Container setup for F1tenth gym simulator
Lab Slides: Google Drive
Go into the gym directory you installed the program in.
Run shell script:
sh scripts/run.sh
Open a web browser and go to link
http://localhost:8080/vnc.html
Run the ROS within the VM hosted in the docker simulator and run
source /opt/ros/foxy/setup.bash
source install/local_setup.bash
Launch the simulation
ros2 launch f1tenth_gym_ros gym_bridge_launch.py
Source two environments under /sim_ws/:
source /opt/ros/foxy/setup.bash
source install/setup.bash
Run the command under /sim_ws/
colcon build --packages-select your_node
Source the workspace environment again
source install/setup.bash
Run the safety_node node
ros2 run your_package your_executable
Edited by: Hyunsu Lim