Ask Your Question

How to compute the Linear/Angular velocity with respect to another frame!!

asked 2019-08-19 11:02:54 -0500

rayane gravatar image

Hi everyone,

Am using ROS to get the linear/angular velocity of Bebop drone from the topic \bebop\odom. Most probably the velocities are expressed in the body fixed frame but I want to compute these velocities with respect to the drone's camera frame!!

Can anybody help me solving this!! Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-08-19 11:17:05 -0500

Shamelessly ripping from Tom Moore's answer to the same question some years back (

To add on more concisely, a velocity vector is just a vector like any other quantity. You can transform vectors from one frame to another through some simple matrix multiplication that TF (TF2) will take care of for you.

See TF2 docs for specifics

edit flag offensive delete link more


Thank you for your answer. As far as I understood, the velocity vector transformation depends only on the rotational matrix!! but I found that: if we have a transformation matrix that transforms Frame_2 (F2) to Frame_1(F1) given by: T= [R T ; 0 0 0 1] where R is the rotational matrix and T is the translational matrix then a vector V2 with coordinates in F2 is expressed in F1 by : V1 = [R ass(T)*R ; 0(3x3) R] V2 where ass is the skew symetric matrix.
so from this we notice that the first three components of the velocity which is the linear one depend on the translational vector T !!Is what I was saying wrong!!! another question: If I am to use tf TransformListene. the methode transformVectortakes three arguments: target_frame: I guess is the frame where we want the coordinates to be expressed. butwhat are stamped_in and stamped_out ...(more)

rayane gravatar image rayane  ( 2019-08-20 02:38:15 -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



Asked: 2019-08-19 11:02:54 -0500

Seen: 352 times

Last updated: Aug 19 '19