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.

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

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 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 ( 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 ( 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 ( 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.

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

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 publish 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 publish link more

Your Answer

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

Add Answer

[hide preview]

Stats

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

Seen: 564 times

Last updated: Sep 03 '12