Odroid Setup for ROS (KINETIC) installation
- Odroid XU4
- 128 GB eMMC Module for XU4
- WiFi Module
- Keyboard/Mouse (optional)
Download the Ubuntu 16.04 LTS minimal or mate image from hardkernel's official odroid wiki repo Install win32 or etcher to flash the image into your eMMC
A network connection is required to complete the first-time setup after flashing the distro. As root, do the following:
sudo apt-get gedit to download an editor (optional)
sudo gedit /etc/network/interfaces or sudo nano /etc/network/interfaces (if you did not install gedit) then add the following lines in:
auto wlan0
allow-hotplut wlan0
iface wlan0 inet dhcp
wireless-power off
wpa-ssid Free
wpa-psk 748748748
If you face an issue between Odroid XU4 and the wifi module, follow this instructions here to fix it
The minimal distribution only has root setup. To add our own account, odroid, use these commands:
adduser odroid
adduser odroid sudo
Have you ensure that:
- Display Manager - Greeter settings are okay?
- Partitioning is allocated accordingly?
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
sudo apt-get install ros-kineti-desktop
sudo apt-get install ros-kinetic-ros-base
sudo apt-get install ros-kinetic-PACKAGE
To find available packages, use:
apt-cache search ros-kinetic
sudo rosdep init
rosdep update
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
Power up the odroid
Open a terminal but pressing ctrl+alt+t
Run roscore
Open another tab ctrl+shift+t and rosrun an application
Boot into ubuntu, ctl+alt+t
ssh odroid@192.168.1.126 (Odroid's ROS_IP)
or 192.168.1.127 (under Free)
or 10.13.97.232 (under SUTD_Student)
A message will be displayed, type
yoryes
env | grep ROS and check if the IP address is entered (it should not be there)
export ROS_IP=192.168.1.127 (exporting roscore machine's IP address)
sudo gedit ~/.bashrc (or sudo nano)
Open another tab/terminal and ssh into odroid again
Run rostopic list and check if you are able to see the list of topics on ROS MASTER
Run export ROS_MASTER_URI=http://192.168.1.127:11311 on the other machine (not odroid)
Run rostopic list, you should see the topic list there
ctrl+alt+t + guvcview
ctl+alt+t
sudo screen /dev/ttyUSB0 115200
You should see a string of data according to what mode you choose Jevois to run