Sitemap
Frank Kung

Frank Kung

Knightcar

1 min readMay 21, 2018

--

GitHub:

Installation

Download dependence

$ sudo apt-get install git synaptic ros-kinetic-navigation ros-kinetic-hector-mapping ros-kinetic-geographic-msgs ros-kinetic-slam-gmapping ros-kinetic-mrpt-slam ros-kinetic-mrpt-icp-slam-2d -y

Download rf2o

git clone https://github.com/MAPIRlab/rf2o_laser_odometry

Adding swap for RPI3

free -m

Get Frank Kung’s stories in your inbox

Join Medium for free to get updates from this writer.

sudo su ## type your password ##
cd /var
fallocate -l 1G swapfile
chmod 600 swapfile
mkswap /var/swapfile
swapon /var/swapfile
swapon -s

* Fix crashing firefox problem in ubuntu mate 16.04

sudo apt-get purge firefox
sudo apt-get install firefox=45.0.2+build1–0ubuntu1

Operation

Joystick control

$ roslaunch duckietown_demos joystick.launch veh:=knightcar

Lane following

$ roslaunch duckietown_demos lane_following.launch veh:=knightcar

SLAM

$ roslaunch kbot Kbot_gmapping.launch veh:=knightcar

Navigation

$ roslaunch kbot Kbot_amcl_nav.launch veh:=knightcar
$ roslaunch kbot Kbot_nav_control.launch veh:=knightcar

--