-
Notifications
You must be signed in to change notification settings - Fork 4
Install everything on your UP Squared from scratch
Follow this guide: official UP guide for Ubuntu installation
Follow this guide: official UP guide for UPboard kernel installation
Follow this guide: official UP guide for UPboard extras installation
Open terminal and type:
$ sudo add-apt-repository ppa:mraa/mraa
$ sudo apt-get update
$ sudo apt-get install mraa-tools mraa-examples libmraa1 libmraa-dev libupm-dev libupm1 upm-examples
$ sudo apt-get install python-mraa python3-mraa node-mraa libmraa-java
Follow this guide: official ROS Kinetic Kame installation
Then:
$ mkdir -p ~/catkin_ws/src
$ cd ..
$ catkin_make
$ echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
$ source ~/.bashrc
Open terminal and type:
$ sudo apt-get install linux-headers-4.15.0-37-generic
$ sudo ln -s /usr/src/linux-headers-4.15.0-37-generic/ /lib/modules/4.15.0-37-generic/build
Then follow steps in this guide: official Intel Realsense guide
Open terminal and type:
$ cd ~/catkin_ws/src/
$ git clone https://github.com/intel-ros/realsense.git
$ cd ..
$ rosdep update
$ rosdep install --from-paths src --ignore-src -r -y
$ catkin_make -DCATKIN_ENABLE_TESTING=False -DCMAKE_BUILD_TYPE=Release
$ catkin_make install
Test typing:
$ roslaunch realsense2_camera rs_camera.launch
Follow this page to install OpenVINO: NCS2 get started
NOTE: install OpenVINO in /opt/intel
Then type in terminal:
$ echo "source /opt/intel/openvino/bin/setupvars.sh" >> ~/.bashrc
$ source ~/.bashrc
Open terminal and type:
$ cd ~/catkin_ws/src
$ git clone https://github.com/gbr1/ros_openvino.git
$ cd ..
$ catkin_make
$ catkin_make install
With Realsense connected:
$ roslaunch ros_openvino myriad_demo_realsense.launch
Open terminal and type:
$ cd ~/catkin_ws/src
$ git clone https://github.com/gbr1/upboard_ros.git
$ cd ..
$ catkin_make
$ catkin_make install
$ roslaunch upboard_ros led_test.launch
Copyrights (c) 2019 Giovanni di Dio Bruno under MIT license.