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

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

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

alfa_80 gravatar image

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

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
3

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

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
2

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

ahendrix gravatar image
edit flag offensive delete link more

Question Tools

Stats

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

Seen: 1,719 times

Last updated: Feb 11 '12