Skip to content

Installation

Bryan Zheng edited this page Aug 14, 2021 · 2 revisions

Install ds4drv

$ git clone https://github.com/naoki-mizuno/ds4drv --branch devel
$ cd ds4drv
$ mkdir -p ~/.local/lib/python2.7/site-packages
$ python setup.py install --prefix ~/.local
$ sudo cp udev/50-ds4drv.rules /etc/udev/rules.d/
$ sudo udevadm control --reload-rules
$ sudo udevadm trigger

Fix OpenCV Install Location (Only Jetson)

$ sudo ln -s /usr/include/opencv4/opencv2/ /usr/include/opencv2

Install Catkin Packages

$ cd catkin_ws/src 
$ git ​clone​ https://github.com/f1tenth/f1tenth_system.git
$ git clone https://github.com/naoki-mizuno/ds4_driver.git --branch melodic-devel
$ git clone https://github.com/Ashuh/f1tenth_racecar.git
$ cd .. 
$ rosdep install --from-paths src --ignore-src -r -y
$ catkin build
Clone this wiki locally