Ask Your Question
0

How do I best save a transform to a file?

asked 2014-07-10 05:53:18 -0600

paturdc gravatar image

Since it seems the rosbag C++ API doesn't work very well with the tf library, and I cannot find a simple way of saving ROS datatypes to files, I don't know how to best save a transform that I have calculated. I really need something that maintains the datatype, so that I won't need to make my own functions just to separately read position and orientation and so forth.

For what it's worth, I am considering using just a geometry_msgs::Quaternion and a geometry_msgs::Point and recreating the transform from those data. Any other recommendations?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-07-10 06:02:56 -0600

dornhege gravatar image

There is geometry_msgs::Pose for that that already contains a pose and orientation.

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

Question Tools

1 follower

Stats

Asked: 2014-07-10 05:53:18 -0600

Seen: 206 times

Last updated: Jul 10 '14