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

Transform3d’ in namespace ‘Eigen’ does not name a type

asked 2012-09-02 14:12:53 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello everyone!

I'm a beginner in ROS and I was working around this tutorial: Coding a real time Cartesian controller with Eigen

However, the following declaration:
" typedef Eigen::Transform3d CartPose;" leads to the error: "Transform3d’ in namespace ‘Eigen’ does not name a type".

Any suggestion is very much welcome!

Yuquan

edit retag flag offensive close merge delete

Comments

Could you post some more context? Which version of ROS? Surrounding lines of the error? These types of errors mostly occur if you are missing '#include' statements, or don't have the (proper versions of) headers installed.

ipso gravatar image ipso  ( 2012-09-02 20:43:49 -0500 )edit

Yes, I'm using ubuntu 11.10 and ROS-electric. I guess probably it's a problem about eigen2 or eigen3. I'll try. Thanks!

yuquan gravatar image yuquan  ( 2012-09-02 22:43:24 -0500 )edit

It's probably easier to edit your original question, instead of trying to use comments for it.

ipso gravatar image ipso  ( 2012-09-02 22:54:09 -0500 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2012-09-03 01:14:51 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I just solved this problem. As indicated in this page, Transform3f should be replace with Affine3f. Likewise, I should use Affine3d rather than Transform3d.

The detailed definition could be found here

Thank you for all the replies!

edit flag offensive delete link more
0

answered 2012-09-02 20:48:41 -0500

ipso gravatar image

Without any additional information:

If you are following those tutorials with ROS Fuerte, it could be that you're seeing an issue with Eigen 2 vs 3. It is a bit strange though that only the Eigen::Transform3d typedef is giving you problems.

If you think this is your issue, you could take a look at Porting from Eigen2 to Eigen3, at the Eigen website.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-09-02 14:12:53 -0500

Seen: 2,900 times

Last updated: Sep 03 '12