Install Turtlebot with ROS Kinetic on the Raspberry Pi 3, Errors show up
Hi everyone,
We are new to ROS. Could you please help us about the installation of Turtlebot?
We are trying to install turtlebot on Raspberry Pi 3 module B. We have installed Ubuntu Mate 16.04 in Raspberry and ROS Kinetic. Then We followed this Tutorials: http://wiki.ros.org/turtlebot/Tutoria...
It seems that there are no full debs for ROS Kinetic yet. So We decide to install turtlebot from source. We still followed the above tutorials and finished installation of the rocon. That's all good.
$ mkdir ~/rocon
$ cd ~/rocon
$ wstool init -j5 src https://raw.github.com/robotics-in-concert/rocon/release/kinetic/rocon.rosinstall
$ source /opt/ros/kinetic/setup.bash
$ rosdep install --from-paths src -i -y
$ catkin_make
When we follow these steps:
$ mkdir ~/kobuki
$ cd ~/kobuki
$ wstool init src -j5 https://raw.github.com/yujinrobot/yujin_tools/master/rosinstalls/indigo/kobuki.rosinstall
$ nano src/.rosinstall #change the src/.rosinstall, "Version: indigo" to "Version: Kinetic"
$ source ~/rocon/devel/setup.bash
$ rosdep install --from-paths src -i -y
$ catkin_make
Modify src/.rosinstall:
# THIS IS AN AUTOGENERATED FILE, LAST GENERATED USING wstool ON 2016-12-08
- git:
local-name: kobuki
uri: https://github.com/yujinrobot/kobuki.git
version: kinetic
- git:
local-name: kobuki_core
uri: https://github.com/yujinrobot/kobuki_core.git
version: kinetic
- git:
local-name: kobuki_desktop
uri: https://github.com/yujinrobot/kobuki_desktop.git
version: kinetic
- git:
local-name: kobuki_msgs
uri: https://github.com/yujinrobot/kobuki_msgs.git
version: kinetic
- git:
local-name: yocs_msgs
uri: https://github.com/yujinrobot/yocs_msgs.git
version: release/0.6-kinetic
- git:
local-name: yujin_ocs
uri: https://github.com/yujinrobot/yujin_ocs.git
version: kinetic
When we executed the catkin_make, We got some errors, part of the log show below, I don't have enough point to put whole log in attachment, sorry for that:
[ 90%] Building CXX object kobuki/kobuki_controller_tutorial/CMakeFiles/bump_blink_controller_nodelet.dir/src/nodelet.cpp.o
In file included from /usr/include/c++/5/random:35:0,
from /usr/include/ignition/math2/ignition/math/Rand.hh:20,
from /usr/include/ignition/math2/ignition/math.hh:18,
from /usr/include/sdformat-4.0/sdf/Param.hh:34,
from /usr/include/sdformat-4.0/sdf/Element.hh:24,
from /usr/include/sdformat-4.0/sdf/sdf.hh:5,
from /usr/include/gazebo-7/gazebo/common/Battery.hh:25,
from /usr/include/gazebo-7/gazebo/common/common.hh:8,
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19,
from /usr/include/gazebo-7/gazebo/gazebo.hh:20,
from /home/mogo/kobuki/src/kobuki_desktop/kobuki_gazebo_plugins/include/kobuki_gazebo_plugins/gazebo_ros_kobuki.h:45,
from /home/mogo/kobuki/src/kobuki_desktop/kobuki_gazebo_plugins/src/gazebo_ros_kobuki.cpp:8:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
Does anyone ever got the same problem? Could you please help me figure out what' s going on here? Thanks.
Okay this is not really an answer as such, more of a work around. I've just completed the same process as you. I would simply suggest deleting the package. Trying to run/compile the desktop stuff on/for the Pi will be a waste of time as it won't have the resources to run it
@MarkyMark2012 OK, thanks any way. So you mean it will be better that run ROS_base on Pi?
Start from here:
http://wiki.ros.org/kobuki. There were a few bits I removed which were UI specific & I'll run on the desk top