Python get Pitch Value

Firmware/software/electronics/mechanics
Post Reply
BlitzProgrammer
Beginner
Posts: 5
Joined: Mon Feb 16, 2015 6:04 am

Python get Pitch Value

Post by BlitzProgrammer »

Hello all,

Is there a way I can get the Pitch value of my CrazyFlie 2.0? I am trying to stabilize it by constantly "trimming" the values to keep it from swaying forward or back.

Thanks, any help would be appreciated!
poizone
Member
Posts: 59
Joined: Thu Feb 05, 2015 3:59 am
Location: Ohio, USA

Re: Python get Pitch Value

Post by poizone »

A better choice is to tune the PID values as necessary. The pitch and yaw are controlled in the firmware, and the latency between the client and flie would lead to your trim values always being just a little too late for a given correction.
One day our flies will drown out the sun in an autonomous Skynet of whirring motors and blinking lights.
Post Reply