Ranges and units of yaw, pitch, roll in Python API

Firmware/software/electronics/mechanics
Post Reply
ellisonbg
Beginner
Posts: 1
Joined: Thu Jan 01, 2015 7:52 pm

Ranges and units of yaw, pitch, roll in Python API

Post by ellisonbg »

Hi,

I have successfully gotten a Crazyflie 2.0 to work with the Python API. All of the examples run fine and I have found documentation about the type and range of the thrust. However, all I know about the yaw, pitch and roll is that they are floats. Questions:

* What are the ranges of the yaw, pitch and roll?
* What are the units? deg? deg/sec?

I am more than willing to open a pull request on git to add these details to the Python docstring for that function.

Happy new year!

Brian
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Ranges and units of yaw, pitch, roll in Python API

Post by marcus »

Hi,

Here are the units for the parameters:
  • Roll/pitch: degree
  • Yaw: degree/second
  • Thrust: 0 - 60 000 (mapped to PWM output)
If you would like to add a pull-request for updating the doc that would be great.

/Marcus
Post Reply