Knightcar
Knightcar is a low-cost platform base on raspberry pi 3, comes with rpi3 official camera, wide-angle len, and YDlidar for learning autonomy.
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 -yDownload rf2o
git clone https://github.com/MAPIRlab/rf2o_laser_odometryAdding swap for RPI3
Check whether your computer is using swap
free -mAdding swap
sudo su ## type your password ##Get Frank Kung’s stories in your inbox
Join Medium for free to get updates from this writer.
cd /var
fallocate -l 1G swapfile
chmod 600 swapfile
mkswap /var/swapfile
swapon /var/swapfile
Check swap's status
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–0ubuntu1Operation
Joystick control
$ roslaunch duckietown_demos joystick.launch veh:=knightcarLane following
$ roslaunch duckietown_demos lane_following.launch veh:=knightcarSLAM
$ roslaunch kbot Kbot_gmapping.launch veh:=knightcarNavigation
$ roslaunch kbot Kbot_amcl_nav.launch veh:=knightcar
$ roslaunch kbot Kbot_nav_control.launch veh:=knightcar








