Ask Your Question
0

Error "error: ‘Matrix3x3’ is not a member of ‘tf’" while building bosch-ros-pkg

asked 2012-06-05 15:33:45 -0600

130s gravatar image

updated 2012-06-06 13:02:36 -0600

I got errors while building some packages separately in bosch_shared_autonomy (pkgs are: safe_teleop_{ base, pr2, stage }). All errors look similar as the one below.

  :
  /home/user/link/bosch-ros-pkg-sourceforge/stacks/bosch_shared_autonomy/safe_teleop_base/src/safe_trajectory_planner.cpp:402: error: ‘Matrix3x3’ is not a member of ‘tf’
  /home/user/link/bosch-ros-pkg-sourceforge/stacks/bosch_shared_autonomy/safe_teleop_base/src/safe_trajectory_planner.cpp:402: error: expected ‘;’ before ‘matrix’
  /home/user/link/bosch-ros-pkg-sourceforge/stacks/bosch_shared_autonomy/safe_teleop_base/src/safe_trajectory_planner.cpp:403: error: ‘matrix’ was not declared in this scope
  :

I've seen a few questions that ask about similar/the same error message (e.g. this), but the solutions to those questions haven't been informative for my case since they seem to be case-dependent.

My machine has diamondback, electric and fuerte installed. $ROS_ROOT points to electric. Full error message is here http://pastebin.com/hv455D5Z

Any idea would be appreciated!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2012-06-05 17:15:43 -0600

Thomas D gravatar image

updated 2012-06-06 07:58:50 -0600

See this announcement for details, but for Electric you have to use the Bullet library, and for Fuerte you have to use the tf library. You can either change the code to continue using Electric, or you can set your ROS installation to Fuerte. To do that, in your ~/.bashrc file use

source /opt/ros/fuerte/setup.bash

So it appears that the Bosch package has been built for Fuerte and is no longer backwards compatible with Electric. To get it working with Electric you would have to install and change their source code.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-06-05 15:33:45 -0600

Seen: 965 times

Last updated: Jun 06 '12