Steps to set up Intel Joule


Install Operating System on the board

But if you are going to use ROS with Joule, it would be the best to install Ubuntu/Linux based system. There are some options:

Install essential packages

sudo apt-get update
sudo apt-get install git python3-pip
sudo apt-get install -y libsm6 libxext6 && pip3 install -U opencv-python numpy 
# sudo apt-get install primesense pillow #If you need to use Openni2 cameras

#The realsense lib wrapper is for python3
#Need to follow the instruction here to set up the machine and install python wrapper
# https://github.com/IntelRealSense/librealsense
# git clone https://github.com/IntelRealSense/librealsense
# cd librealsense
# mkdir build
# cd build
# make -j4
# sudo make install #Optional if you want the library to be installed in your system

Install ROS

We recommend to install ROS-base first on the board and then install other packages if necessary. If you installed the system on the embedded storage, it would be the best performance to install ROS-Base with other additional packages that you need.

If you need the install the ROS, you may need to change your software center installing settings to allow all packages being installed.

# Please also check the ROS Website to check the most updated steps to install ROS. (http://wiki.ros.org/kinetic/Installation/Ubuntu)

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-ros-base

Initialize ROSDEP

sudo rosdep init
rosdep update
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc

Dependencies for building packages

sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential python-catkin-tools python-wstool
sudo apt-get install ros-kinetic-cv-bridge ros-kinetic-image-transport

Development Environment Set up

$ mkdir my-workspace && cd my-workspace
$ wstool init src
$ catkin init
$ catkin config --extend /opt/ros/kinetic