ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
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 image gvdhoorn  ( 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 image gvdhoorn  ( 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 image tfoote  ( 2017-09-27 18:22:09 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 1,313 times

Last updated: Sep 29 '17