Hi
Could I please build on your vast knowledge.. I have a thermo setup with telemetry ect. When in fly_by_wire mode and trying to check the gains settings. Movement to the right left or pitch up or down has very little effect on the attitude of the plane itself... Maybe a 2 to 3 degree change in roll and pitch. On the GCS however the reported attitude is the max angles +- 45 degrees and 10-15 on the pitch. How could i solve the problem of the thermopiles being so over sensitive. I am using 2 FMA themopiles.
Thanks
Replies
I've changed my "#define HEAD_MAX" to 7000 to get FLY_BY_WIRE mode to bank the aircraft correctly, now I get a bank angle of around 10 deg.
This may no longer be an issue with v2.7.x but I'm waiting for a final version before trying it.
btw where are you flying?
Add these two prints(below) to your code to verify things. Notice that the plane MUST be level for you to read the Z sensor. At ground start the window for what is considered level is very narrow - maybe 2-3 degrees. The best thing to do is hold the plane level before you take off and verify the stabilization is working correctly. You will see the deflection of the ailerons slow as the correct calibration is dialed in. If they move too rapidly, you aren't calibrated.
If you continue to run into trouble, consider upping your window from 1000 to 1500 or even 2000. This will lower the accuracy a bit but make it easier to calibrate.
for example: if(abs(roll_sensor) <= 1500)
Jason
Thanks
Gerrit
APflight_2010_07_24_17_03_19.kml
ArduPilot_DataLog_2010_07_24_16_44_56.txt
APflight_2010_07_24_17_34_20.kml
If you're using a Z, it's designed to self-calibrate in the air in about a minute. If you're not using a Z, you need to do a vertical rotation so each XY window points at the sky at least once.