- Download Ubuntu in Microsoft Store (The one without any extension)
- Install Docker Destop: Settings -> Resources -> WSL Integration -> Enable Ubuntu
- Go into Ubuntu and setup username and password, if first time installing
- In your home directory (~), run:
git clone https://github.com/WATonomous/wato_f1tenth.git
- Go into the repo:
cd wato_f1tenth
- Start VSCode:
code .
- Make sure the
watod-config.sh
file has:ACTIVE_MODULES="vis_tools robot sim"
andMODE_OF_OPERATION="develop"
. - Run
./watod build && ./watod up
to start the containers. Future starts can just be./watod up
if you don't need to rebuild containers. - Download the Docker extension for VSCode.
- From the extension pannel, right click on the
-robot_dev-1
container and attach a VSCode. - In the opened VSCode window select the
/home/bolty/ament_ws
folder. This will be where you do your development!
- Download the
practice
simulator from: https://autodrive-ecosystem.github.io/competitions/f1tenth-sim-racing-iros-2024/#resources - Unzip the download and run
AutoDRIVE Simulator.exe
inside the folder - Open the left menu on the simulator application
- Press on the button "Disconnected" to attempt connection to your running watod containers. The default port should already be 4567.
- You should see "Connected"- this means your physics simulator is connected to your watod containers and everything is setup correctly!
- There is built-in Keyboard Teleop in the simulator. Click on "Autonomous" to set driving mode to "Manual", you will be able to drive with WASD.
This guide was only written & tested on Windows.
- Try the above steps and if you have any problems, ping an F1Tenth Lead on the Discord channel!