Trouble with PiDs and more

 

Maybe it is not the PIDS but I think they contribute. I have two platforms .APM 1.x and 2.x

Mainly I am concerned with my 1.x running 2.7.3 on a quad. I have 1000kv motors (2212) and the gps does not seem to be very accurate I am using the mediatek version and it seems to have a bit of error. Also my magnetometer used to be reading as if it were pointing forward. Now it seems to be reading 90degrees clockwise of where it should be.

Anyway multiple broken props have led me to the forums where I am hoping to get some help. I have tried multiple catually librations and I actually had a good flight one time although it did not land.

Now I am running amuck and cannot find light at the end of the tunnel. It flies very stable if in stabalize and manualy controlled. It does not seem to do auto so good anymore

Sorry for cross posting but my first post was in the wrong place

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

Join diydrones

Email me when people reply –

Replies

  • I have found that the best magnetometer calibration is from a flight log. Do 3 or more flights and write down the X,Y, and Z offsets. They should be about the same from flight to flight. I get a very accurate cal from this method.

    If you change or move anything on your aircraft that has metal in it you should do another magnetometer cal.

     

    .

     

  • Developer

    Yes, the mediatek is ok but not a great GPS.  If you go for the ublox you'll likely get better results.

     

    For Loiter and navigation, I'd stick with the standard parameters..but try using the channel 6 tuning to get the Loiter Rate P value ok.  Default is 2.4 but you might need to crank it up as high as 5.  Also apparently as you increase P you should decrease I.

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…