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

DIY Robocars via Twitter
RT @_JonMyer: 🚨Attention DeepRacer's including #UndergroundDeepRacer🚨 Check our our LIVE stream that including @IAM_dbro Take a few moments…
1 hour ago
DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
Monday
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
Monday
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
Monday
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars @donkey_car virtual AI car race is starting in 15 minutes! Watch it live on Twitch https://www.twitch.tv/mossmann3333 htt…
Saturday
DIY Robocars via Twitter
RT @chr1sa: Don't miss our monthly @DIYRobocars @donkey_car virtual AI car race tomorrow at 10:00am PT live on Twitch. Head-to-head racing…
Friday
DIY Robocars via Twitter
RT @sparkfun: Our completed tutorial on building an @NVIDIA Jetson Nano-powered @Sphero RVR gets your bot up and running via teleoperation…
Jul 30
DIY Robocars via Twitter
RT @SmallpixelCar: Freeway test https://t.co/4V5tV9lhIP
Jul 29
DIY Robocars via Twitter
Very small autonomous cars racing, thanks to an overhead camera: https://control.ee.ethz.ch/research/team-projects/autonomous-rc-car-racing.html
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
RT @chr1sa: Don't miss our virtual AI car race this Saturday! Real developers + virtual cars =🏎️🏎️🏎️ Head-to-head battles with thrills, sp…
Jul 28
DIY Robocars via Twitter
Jul 27
DIY Robocars via Twitter
RT @usashirou1: Jetson nano by Isaac Kaya #jetson https://t.co/Mu1N0CyQkN
Jul 23
DIY Robocars via Twitter
RT @GPUsolution: JetRacer mady by Iflytek company #JetsonNANO #Nvidia https://t.co/MimTymIwge
Jul 23
DIY Robocars via Twitter
RT @openmvcam: I love this: Mega or Mini? Image Classification on the 1MB OpenMV Cam H7 by Ish Ot Jr. in OpenMV, Edge Impulse, Internet of…
Jul 23
More…