Yaw problem 2.0.33

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.

 

2nd_test.rar

3rd_test.rar

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

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.

  • Developer

    yaw is completely re-written in the next version which I will post a preview of tonight.

    Jason

This reply was deleted.

Activity

Gremsy liked Gremsy's profile
Mar 12
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
More…