I found thread Yaw problem but I dont want to hijack his thread. I have pretty much similar issue with him having a clock wise rotation.
Code: 2.0.33
Frame: FYE tech X4 (comes with esc motor)
Mag soldered on the board as suggested (came from udrone pre-soldered)
no sonar
I followed wiki about motors might be twisted checked and recheck mountings
Calibrated ESC before 1st test and before 2nd test
First test (field) default PID
- it will take off but will immediately rotate clockwise
2nd test At home change changed PID and tried to power the quad without lifting (X4 have a flat landing) and it will still rotate clockwise
STAB_ROL
P 0.3
I 0.024
D 0.229
STAB_PIT
P 0.3
I 0.024
D 0.229
STAB_YAW
P 0.399
I 0.005
D 0.18
3rd test re-adjusted PID same test throttle a bit but no lifting the quad
STAB_ROL
Same as above
STAB_PIT
Same as above
STAB_YAW
P 0.399
I 0.005
D 0.25
I feel like I am missing something and was hoping to get a look at it from a different perspective.
Replies
Ok forgive me...I made a terrible mistake
This issue is a user problem for a noob like me.
Mag Dec was the issue
Wrong settings
Lat X.XXXX S
Long. XXX.XXXX E
Mag Dec = - 0.28
Changed settings
Lat X.XXXX N (same as above but N)
Long. XXX.XXXX E (same as above)
Mag Dec = 0.13
I reload the code 2.0.33 redo all the calibration, specially the ESC then made a few take off testing at home and it seems to work. I cant test it on the field tho
Sorry for the trouble made.
@ Jason I still havent loaded the 2.0.34 as I am not sure which settings to change yet to fit my frame but I think default should work. I will play with 2.0.33 for now until I can go back on the field.
That was fast. thanks Jason
Just feel sad most guys had luck with 2.0.33 but will wait a bit and load that immediately.
yaw is completely re-written in the next version which I will post a preview of tonight.
Jason