Skip to content

waterkimchi/f1tenth-gym-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

f1tenth-gym-setup

Docker Container setup for F1tenth gym simulator

Lab Slides: Google Drive

Set Up

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

Node Setup

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

About

Docker Container setup for F1tenth gym simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published