I built a quadcopter for my high school engineering project, and I am using the Hobby King APM 2.7 master set

http://www.hobbyking.com/hobbyking/store/__58284__HKPilot_Mega_2_7_Master_Set_With_OSD_LEA_6H_GPS_Power_module_Telemetry_Radio_433Mhz_XT_60_.html

It comes with an external gps/mag and the cables to attach it. 

When I first ran compass calibration, the offsets very high (hundreds of thousands), and I could not get it to work. I set the offsets to zero and skipped compass in the arming sequence.

I have disabled the internal mag by removing the jumper, but the compass always points around north east. Moving the drone around causes the bearing to track the right direction, but then it centers back on north east.

Looking at the Status screen of the Info View tab, 


Never mind, I figured it out. The offsets made during initial calibration were so large that they made the compass's movements insignificant. When I though I had set them to zero, I didn't press write to. I did this time. I guess I'll still post this as a word of warning for compass setup. It had nothing to do with the HK board, just my mistake of calibrating before setting orientation.

If you have extremely high compass offsets (hundreds of thousands), you have your orientation wrong. Set them to zero in Config/Tuning - Full Parameter List - search compass - COMPASS_OFS_X (, Y, Z) then go about finding the correct orientation (which is impossible if you can't read the compass).

Otherwise the compass bearing will be some nearly constant direction, autonomous flight will crash, and you will be very frustrated.  

Heres a video of it flying (and some boring footage of the drop mechanism)  https://www.youtube.com/watch?v=ddPfd42uePE 

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

Join diydrones

Email me when people reply –

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…