Other OS
ROS Installation From Source on Debain For Hikey (Linaro Releases)
1
3649
View: 3649|Reply: 1
|
[Other OS]
ROS Installation From Source on Debain For Hikey (Linaro Releases)
[Copy link]
|
|
Edited by alessia at Jun 11, 2016 23:09
To run ROS on HiKey, I tested with the OS Debain For Hikey (Linaro Releases). Installing ROS from source code on Debian Jessie is troublesome.
The reference link:http://wiki.ros.org/indigo/Installation/Debian
The difference is the OS distribute, just modify Wheezy to Jessie
- $ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu jessie main" > /etc/apt/sources.list.d/ros-latest.list'
- $ sudo sh -c 'echo "deb http://http.debian.net/debian jessie-backports main" > /etc/apt/sources.list.d/backports.list'
Copy the Code
And the last one of dependency here on HiKey is newer:
- #OGRE: Install newer version through apt-get
- $ sudo apt-get remove libogre*
- $ sudo apt-get install libogre*
Copy the Code
When you're creating the ROS catkin workspace to install, you have two choice for debian tested: ROS-Comm: (recommended) and Desktop, that is to say, choose one of the below:
- $ rosinstall_generator ros_comm --rosdistro indigo --deps --wet-only --exclude roslisp --tar > indigo-ros_comm-wet.rosinstall
- $ wstool init -j8 src indigo-ros_comm-wet.rosinstall
Copy the Code- $ rosinstall_generator desktop --rosdistro indigo --deps --wet-only --exclude roslisp --tar > indigo-desktop-wet.rosinstall
- $ wstool init -j8 src indigo-desktop-wet.rosinstall
Copy the Code
Remember the path you specified (here it is /opt/ros/indigo) when you're installing ROS:
- $ sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo
Copy the Code
You can then add this path /opt/ros/indigo setup command to the file ~/.bashrc such that the environment can be lanched automatically:
- $ source /opt/ros/indigo/setup.bash
- $ echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
Copy the Code
Finally the ROS is done on HiKey Debian Jessie. It seems most GUI tools can be used on HiKey, but not rviz. It can't start rviz graphic interface. Can anyone help?
|
|
|
|
|
|
|
|
Good Sharing  |
|
|
|
|
|
|