管理
$ sudo adduser pi $ sudo gpasswd -a pi sudo
deb http://ftp.jaist.ac.jp/raspbian/ stretch main contrib non-free rpi
CONF_SWAPSIZE=1024
sudo systemctl restart dphys-swapfile
$ sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential $ sudo rosdep init $ rosdep update $ mkdir ~/ros_catkin_ws $ cd ~/ros_catkin_ws $ rosinstall_generator robot --rosdistro kinetic --deps --wet-only --tar > kinetic-robot-wet.rosinstall $ wstool init -j8 src kinetic-robot-wet.rosinstall $ rosdep install --from-paths src --ignore-src --rosdistro kinetic -y --os=debian:stretch $ sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic