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

pr2_odometry errors when making pr2_mechanism_controllers

asked 2011-09-11 02:23:58 -0600

Paul0nc gravatar image

I'm trying to use pr2_gazebo. I get the following errors when making pr2_mechanism_controllers. Is pr2_odometry stable?

/home/ros_stacks/pr2_mechanism_controllers/src/pr2_odometry.cpp:392: error: ‘class controller::OdomMatrix16x1’ has no member named ‘cwise’ /home/ros_stacks/pr2_mechanism_controllers/src/pr2_odometry.cpp: In member function ‘controller::OdomMatrix3x1 controller::Pr2Odometry::iterativeLeastSquares(const controller::OdomMatrix16x3&, const controller::OdomMatrix16x1&, const std::string&, const int&)’: /home/ros_stacks/pr2_mechanism_controllers/src/pr2_odometry.cpp:426: error: ‘SVD’ is not a member of ‘Eigen’ /home/ros_stacks/pr2_mechanism_controllers/src/pr2_odometry.cpp:426: error: expected primary-expression before ‘>’ token /home/ros_stacks/pr2_mechanism_controllers/src/pr2_odometry.cpp:426: error: ‘svdOfFit’ was not declared in this scope /home/ros_stacks/pr2_mechanism_controllers/src/pr2_odometry.cpp:454: error: ‘class controller::OdomMatrix16x1’ has no member named ‘cwise'

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2011-09-11 04:16:26 -0600

Paul0nc gravatar image

Problem solved by installing wg_robots_gazebo all at once. Thanks to joq for the tip in an earlier (indirectly related) post.

edit flag offensive delete link more
0

answered 2011-09-12 03:14:52 -0600

Wim gravatar image

I think your problem is a wrong version of the Eigen matrix library. All pre-Electric ros releases use Eigen2 from the ros package called 'eigen'. Electric uses Eigen3 from a system install (probably in /usr/). My guess is you're mixing up Eigen versions. Do you have Eigen both in a ros package and in /usr/?

edit flag offensive delete link more

Comments

Thanks Wim. Actually, I have both diamondback and electric installed on my computer. I wasn't sure if electric was necessary for best results and I'm new at this - so I installed it too. I may revert to diamondback to solve another problem that keeps cropping up with Eigen.
Paul0nc gravatar image Paul0nc  ( 2011-09-12 13:13:48 -0600 )edit

Question Tools

Stats

Asked: 2011-09-11 02:23:58 -0600

Seen: 227 times

Last updated: Sep 12 '11