Step 3: Setup your sources.list
sudo sh -c ‘echo “deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main” > /etc/apt/sources.list.d/ros-latest.list’
Step 4: Setup your keys
wget http://packages.ros.org/ros.key -O – | sudo apt-key add –
Step 5: To be sure that your Ubuntu Mate package index is up to date, type the following command
sudo apt-get update
Step 6: Install ros-kinetic-desktop-full
sudo apt-get install ros-kinetic-desktop-full
Step 7: Initialize rosdep
sudo rosdep init
rosdep update
Step 8: Setting up the ROS environment variables
echo “source /opt/ros/kinetic/setup.bash” >> ~/.bashrc
source ~/.bashrc
Step 9: Create and initialize the catkin workspace
mkdir -p ~/catkin_workspace/src
cd catkin_workspace/src
catkin_init_workspace
cd ~/catkin_workspace/
catkin_make
Step 10: Add the catkin_workspace to your ROS environment
source ~/catkin_workspace/devel/setup.bash
Step 11: Check the ROS environment variables
export | grep ROS
【3】GoPiGoのROS用ドライバーを入れる(ここをgopigo3用に変えてみるか・・・9/24)
$ cd ~/catkin_workspace/
$ sudo curl https://raw.githubusercontent.com/DexterInd/Raspbian_For_Robots/master/upd_script/fetch_gopigo3.sh | bash
$ sudo reboot
<ここから・・・・>
Quick Install
In order to quick install the GoPiGo3 repository, open up a terminal and type the following command:
$ cd ~/catkin_workspace/
$ sudo curl -L dexterindustries.com/update_gopigo3 | bash
Installation
You can install the GoPiGo3 on your own operating system with the following commands in the command line:
Clone this repository onto the Raspberry Pi:
$ sudo git clone http://www.github.com/DexterInd/GoPiGo3.git /home/pi/Dexter/GoPiGo3
Run the install script:
$ sudo bash /home/pi/Dexter/GoPiGo3/Install/install.sh
Reboot the Raspberry Pi to make the settings take effect:
$ sudo reboot
(ダメ・・・9/30)