Install ROS on Up Squared x86 64 single board computer

This article describes how to run ROS on the Up2 board for use with the TurtleBot3

Set up OS

1. Install Ubuntu 16.04.3 http://releases.ubuntu.com/16.04/ubuntu-16.04.3-desktop-amd64.iso
1.1 Agree to UEFI install
1.2 Erase disk and install ubuntu

wget https://download.01.org/gfx/RPM-GPG-GROUP-KEY-ilg
sudo apt-key add RPM-GPG-GROUP-ilg
sudo apt-get update
sudo apt-get upgrade
wget https://download.01.org/gfx/ubuntu/16.04/main/pool/main/i/intel-graphics-update-tool/intel-graphics-update-tool_2.0.2_amd64.deb
sudo dpkg -i intel*.deb #this will get you an error
sudo apt-get -f install
sudo dpkg -i intel*.deb

Install ROS

sudo apt update
sudo apt upgrade

#Install dependencies and compile

cd
wget https://raw.githubusercontent.com/ROBOTIS-GIT/robotis_tools/master/install_ros_kinetic.sh && chmod 755 ./install_ros_kinetic.sh && bash ./install_ros_kinetic.sh
sudo reboot
cd ~/catkin_ws/src
git clone https://github.com/ROBOTIS-GIT/hls_lfcd_lds_driver.git
git clone https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git
git clone https://github.com/ROBOTIS-GIT/turtlebot3.git
cd ~/catkin_ws && catkin_make

#enable non-root USB for OpenCR board

cd ~/catkin_ws/src/turtlebot3
sudo cp ./99-turtlebot3-cdc.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger

#configure DHCP on router. It would be sensible to give the host as well as the turtlebot a statically assigned or reserved IP.

nano ./bashrc

#Replace the localhost in the ROS_MASTER_URI address with the IP address of the Remote PC.
#Replace the localhost in the ROS_HOSTNAME address with the IP address of the turtlebot.

source ~/.bashrc

#done.

 

 

 

Posted in Robots.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.