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

i am new to ROS. i want to ask how to multiply two transformation matrix in tf ROS?

asked 2018-07-11 08:33:20 -0600

aanish gravatar image

tf ROS transformation matrix multiplication

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-07-11 09:23:22 -0600

If you're working in C++ the tf::Transform class overloads the * operator to combine transformations. So it is as simple as:

tf::Transform A, B;

tf::Transform C = A * B;

see the reference here.

edit flag offensive delete link more

Comments

is multiplication same in python.

aanish gravatar image aanish  ( 2018-07-16 09:57:44 -0600 )edit

Question Tools

Stats

Asked: 2018-07-11 08:33:20 -0600

Seen: 2,943 times

Last updated: Jul 11 '18