ROS only runs natively in Linux so we are only supporting using the simulator in Ubuntu at this time. If you do not have ROS Melodic installed, follow the instructions from http://wiki.ros.org/melodic/Installation/Ubuntu.
You will need the following dependences:
Install them using
sudo apt-get install ros-melodic-tf2-geometry-msgs ros-melodic-ackermann-msgs ros-melodic-joy ros-melodic-map-server
The full list of dependencies can be found in the
To install the simulator package, clone the simulator repository into your catkin workspace:
git clone https://github.com/f1tenth/f1tenth_simulator.git
Then run catkin_make to build it:
To run the simulator on its own, run:
roslaunch f1tenth_simulator simulator.launch
This will launch everything you need for a full simulation: roscore, the simulator, a preselected map, a model of the racecar, and the joystick server.