Error: Couldn't catkin_make the ros_control package (I want to teleop gazebo p3dx)

asked 2019-04-25 12:01:49 -0500

jovsky gravatar image

updated 2019-04-25 12:45:22 -0500

gvdhoorn gravatar image

I want to teleop pioneer3dx simulation (gazebo) with ua_ros_p3dx package, and for this I first need to install ros_control package. I git cloned https://github.com/ros-controls/ros_c..., and then when I tried to catkin_make it, a lot of errors came out when tried to build controller_manager.cpp (directory: catkin_ws/src/ros_control/controller_manager/src/controller_manager.cpp). Doesn't worth to show here all those errors, because it's almost uncountable, but the first three are:

*In file included from /usr/include/c++/5/chrono:35:0,
                 from /home/jovsky/catkin_ws/src/ros_control/controller_manager/src/controller_manager.cpp:39:
/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 \
  ^

In file included from /home/jovsky/catkin_ws/src/ros_control/transmission_interface/include/transmission_interface/transmission_loader.h:51:0,
                 from /home/jovsky/catkin_ws/src/ros_control/transmission_interface/src/transmission_loader.cpp:32:
/home/jovsky/catkin_ws/src/ros_control/transmission_interface/include/transmission_interface/transmission.h:165:14: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
 typedef std::shared_ptr<Transmission> TransmissionSharedPtr;
              ^

In file included from /home/jovsky/catkin_ws/src/ros_control/transmission_interface/src/transmission_loader.cpp:32:0:
/home/jovsky/catkin_ws/src/ros_control/transmission_interface/include/transmission_interface/transmission_loader.h:67:11: error: ‘TransmissionSharedPtr’ does not name a type
   virtual TransmissionSharedPtr load(const TransmissionInfo& transmission_info) = 0;
           ^*

DOSE SOMEONE CAN HELP ME???

OR JUST TELL ME A BETTER WAY TO KEYBOARD TELEOP GAZEBO PIONEER3DX !!

SO GRATEFUL SINCE NOW! :D

edit retag flag offensive close merge delete

Comments

1

Why are you installing ros_control packages from source? What OS are you on? Doesn't sudo apt install .. for you?

gvdhoorn gravatar image gvdhoorn  ( 2019-04-25 12:45:03 -0500 )edit