Ask Your Question
0

poseEigenToMsg is not a member of 'tf'

asked 2017-09-25 18:35:56 -0500

jbeck28 gravatar image

I'm trying to use tf::poseEigenToMsg from this package:

http://docs.ros.org/hydro/api/eigen_c...

But it doesn't appear to be a member of the namespace tf... I'm assuming this is an issue with either my cmake file, or a package.xml... but I'm not even entirely sure what to specify in each. I'm including tf_conversions in my cmake file, as eigen_conversions didn't work.

Any help getting this to work would be much appreciated!

Thanks

edit retag flag offensive close merge delete

Comments

I'm pretty sure that function should be there, so make sure the error is not actually something along the lines of "no candidate for your exact input arguments".

gvdhoorn gravatar imagegvdhoorn ( 2017-09-26 01:47:48 -0500 )edit

Also: as always with these kind of errors: please include some snippets of code that show what you are doing exactly. Without that this is going to be difficult to diagnose.

gvdhoorn gravatar imagegvdhoorn ( 2017-09-26 01:48:22 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2017-09-29 16:21:50 -0500

jbeck28 gravatar image

updated 2017-09-29 16:22:16 -0500

Thanks very much for the help everyone, I was not including the correct header. For anyone reading this in the future, It's

#include <eigen_conversions/eigen_msg.h>
edit flag offensive delete link more
2

answered 2017-09-26 06:45:59 -0500

dornhege gravatar image

Did you include the correct header from the package?

edit flag offensive delete link more

Comments

This error message usually means that you don't have the header in your #include directives.

tfoote gravatar imagetfoote ( 2017-09-27 18:22:09 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-09-25 18:35:56 -0500

Seen: 346 times

Last updated: Sep 29 '17