Getting the yaw, roll and pitch values of the quadcopter

Firmware/software/electronics/mechanics
Post Reply
molatokarlo
Beginner
Posts: 6
Joined: Fri Jan 22, 2016 4:49 am

Getting the yaw, roll and pitch values of the quadcopter

Post by molatokarlo »

Guys, I want to get the yaw, pitch and roll values of the quadcopter when it moves. Do anyone of you knows how to??
derf
Expert
Posts: 163
Joined: Fri May 31, 2013 12:17 am
Location: Germany

Re: Getting the yaw, roll and pitch values of the quadcopter

Post by derf »

You can use the logging subsystem for that.
Take a look at the "Log TOC", "Log Blocks" and "Plotter" tabs In the Crazyflie Python client.
molatokarlo
Beginner
Posts: 6
Joined: Fri Jan 22, 2016 4:49 am

Re: Getting the yaw, roll and pitch values of the quadcopter

Post by molatokarlo »

derf wrote:You can use the logging subsystem for that.
Take a look at the "Log TOC", "Log Blocks" and "Plotter" tabs In the Crazyflie Python client.
Awesome, thanks! I was able to add new log values too and look at the graphs but I'm wondering if there's any of actually using the values and/or setting the values for something like automatic flight.
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Getting the yaw, roll and pitch values of the quadcopter

Post by chad »

molatokarlo wrote:
derf wrote:You can use the logging subsystem for that.
Take a look at the "Log TOC", "Log Blocks" and "Plotter" tabs In the Crazyflie Python client.
Awesome, thanks! I was able to add new log values too and look at the graphs but I'm wondering if there's any of actually using the values and/or setting the values for something like automatic flight.
Take a look at the examples directory in the crazyflie-clients-python folder. Specifically, have a look at zmqclientinput.py, and ramp.py. If you're going to use ZMQ, you'll want to take look at the wiki page on ZMQ and Crazyflie.
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Post Reply