ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

point transform from rotation and translation in python

asked 2014-10-16 07:57:18 -0500

Garrick gravatar image

hi all. the python tf api has a function for transforming stamped points but i can't find anything to transform a point with just a rotation and translation...

there is a function for returning a matrix from the translation and rotation... is this the only way of transforming such a point?

cheers, Garrick.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-10-16 08:06:32 -0500

paulbovbel gravatar image

The reason is that you need stamp (time and initial frame) information to transform a point into a different frame, otherwise it has no context. If you want to apply the transform directly, just apply the same operations as the transformPoint function, using the 4x4 matrix.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-10-16 07:57:18 -0500

Seen: 1,543 times

Last updated: Oct 16 '14