ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

pr2_mechanism_controllers build error

asked 2012-03-28 03:02:57 -0500

Carlos gravatar image

updated 2012-03-28 03:06:22 -0500

Hello!

I was trying rosmake on pr2_controllers stack and had some errors concerning the pr2_mechanism package. I'm guessing it has something to do with Eigen library (for the record I have both diamondback and electric installed) but I don't really know how to fix it, since I'm new to ROS and Ubuntu.

Heres the build output (for electric):

[ rosmake ] Last 40 lines2_mechanism_controller... [ 1 Active 129/132 Complete ] {------------------------------------------------------------------------------- make[3]: se ingresa al directorio «/home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/build» Scanning dependencies of target rospack_genmsg make[3]: se sale del directorio «/home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/build» [ 76%] Built target rospack_genmsg make[3]: se ingresa al directorio «/home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/build» Scanning dependencies of target rosbuild_precompile make[3]: se sale del directorio «/home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/build» [ 76%] Built target rosbuild_precompile make[3]: se ingresa al directorio «/home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/build» Scanning dependencies of target pr2_mechanism_controllers make[3]: se sale del directorio «/home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/build» make[3]: se ingresa al directorio «/home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/build» [ 79%] Building CXX object CMakeFiles/pr2_mechanism_controllers.dir/src/laser_scanner_traj_controller.o [ 82%] Building CXX object CMakeFiles/pr2_mechanism_controllers.dir/src/caster_controller.o [ 85%] Building CXX object CMakeFiles/pr2_mechanism_controllers.dir/src/base_kinematics.o [ 88%] Building CXX object CMakeFiles/pr2_mechanism_controllers.dir/src/pr2_odometry.o In file included from /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/include/pr2_mechanism_controllers/pr2_odometry.h:35:0, from /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/src/pr2_odometry.cpp:38: /usr/include/eigen3/Eigen/Array:8:4: error: #error The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core. /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/src/pr2_odometry.cpp: In member function ‘virtual bool controller::Pr2Odometry::init(pr2_mechanism_model::RobotState, ros::NodeHandle&)’: /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/src/pr2_odometry.cpp:156:49: warning: ‘void pr2_mechanism_controllers::DebugInfo_<containerallocator>::set_timing_size(uint32_t) [with ContainerAllocator = std::allocator<void>, uint32_t = unsigned int]’ is deprecated (declared at /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/msg_gen/cpp/include/pr2_mechanism_controllers/DebugInfo.h:54) /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/src/pr2_odometry.cpp:157:46: warning: ‘void pr2_mechanism_controllers::OdometryMatrix_<containerallocator>::set_m_size(uint32_t) [with ContainerAllocator = std::allocator<void>, uint32_t = unsigned int]’ is deprecated (declared at /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/msg_gen/cpp/include/pr2_mechanism_controllers/OdometryMatrix.h:39) /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/src/pr2_odometry.cpp:164:53: warning: ‘void tf::tfMessage_<containerallocator>::set_transforms_size(uint32_t) [with ContainerAllocator = std::allocator<void>, uint32_t = unsigned int]’ is deprecated (declared at /opt/ros/electric/stacks/geometry/tf/msg_gen/cpp/include/tf/tfMessage.h:40) /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/src/pr2_odometry.cpp:166:75: warning: ‘void pr2_mechanism_controllers::BaseOdometryState_<containerallocator>::set_wheel_link_names_size(uint32_t) [with ContainerAllocator = std::allocator<void>, uint32_t = unsigned int]’ is deprecated (declared at /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/msg_gen/cpp/include/pr2_mechanism_controllers/BaseOdometryState.h:55) /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/src/pr2_odometry.cpp:167:82: warning: ‘void pr2_mechanism_controllers::BaseOdometryState_<containerallocator>::set_drive_constraint_errors_size(uint32_t) [with ContainerAllocator = std::allocator<void>, uint32_t = unsigned int]’ is deprecated (declared at /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers/msg_gen/cpp/include/pr2_mechanism_controllers/BaseOdometryState.h:59) /home/labrobotica/ros_workspace_elec/pr2_controllers/pr2_mechanism_controllers ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2012-05-28 15:48:40 -0500

ocli gravatar image

The library seems to be depreciated from diamondback. try

sudo apt-get ros-fuerte-pr2-mechanism

(or electric) instead. <eigen core=""> contains info from <eigen array="">

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-03-28 03:02:57 -0500

Seen: 354 times

Last updated: May 28 '12