ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A
Ask Your Question

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!


edit retag flag offensive close merge delete


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 imageipso ( 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 imageyuquan ( 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 imageipso ( 2012-09-02 22:54:09 -0500 )edit

2 Answers

Sort by » oldest newest most voted

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

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

Your Answer

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

Add Answer

The deadline to submit a proposal to present at ROSCon 2017 is June 25, 2017. Submit yours now!

Question Tools


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

Seen: 1,157 times

Last updated: Sep 03 '12