Ask Your Question

Kind of values(convention) of input parameters in setRPY from tf::Quaternion class

asked 2012-02-11 08:57:00 -0600

alfa_80 gravatar image

updated 2014-01-28 17:11:20 -0600

ngrennan gravatar image

I would like to know about setRPY method in defined in tf::Quaternion class. I couldn't find the API documentation describing it. What range of values in the input parameters(values of roll, pitch and yaw) does it expect? Is it:

  1. -180 to 180 or
  2. 0 to 360

Thanks in advance.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2012-02-11 09:14:54 -0600

ROS standard units of measure

Angles are represented in radians. It does not make a difference whether you represent them in the 0 to 2pi range, or the -pi to pi range

edit flag offensive delete link more

answered 2012-02-11 09:18:21 -0600

ahendrix gravatar image
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


Asked: 2012-02-11 08:57:00 -0600

Seen: 1,364 times

Last updated: Feb 11 '12