|
|
|
|
||
|
Denmark, Nordjylland, Nørresundby
Joined Jan 2012
211 Posts
|
Quote:
Regards, Martin. |
|
|
||
|
|
||
|
Joined Nov 2011
320 Posts
|
Quote:
http://www.ngdc.noaa.gov/geomag-web/#declination |
|
|
||
|
|
|
|
|
To determine Mag declination:
For example the magnetic declination for Budapest is 3° 58' EAST so the value that you have to enter into config.h is 3+58*(1/60) which is 3.96. EAST means that the value is positive, WEST means it’s negative ( at Pittsburg it is 9° 13' WEST which is -9.21 ). Enter the calculated value to config.h, in the #define MAG_DECLINIATION line, please add an f after the number to indicate a decimal number. If you didn't get it, it's multiple the second number with 1/60 (~0.016667) and add the first number. You have to multiple first then add. Follow math's Order of operations. So pino your 10 24 east so that 24*.016667+10 = 10.4f (positive since your east) |
|
|
|
|
||
|
Joined May 2010
75 Posts
|
Quote:
Anyway .... try this. REMOVE YOUR PROPS and hook up your copter to WinGUI 2.1. Power up, arm and "fly". Look at the realtime behavior of your sensors and look for the "spikes" that would indicate the "behavior" you observe. Pick up and move your copter around as if flying - the motors should run smooth and change speed as you move it slowly but should not be jumpy. If you do not see the spikes it on the GUI and your "hand flight" is smooth, it "MAY" be something in the frame design or construction that is causing the behavior and not the board itself. I was going to suggest a different test I also do even for my 500 helis - but this is not the proper place for that .... Pay particular attention to boom rigidity - if that boom flexes on itself or where it is attached, that will spell trouble. Which means you may have to reduce your roll, pitch PID and add Low Pass filters to calm your copter down at the expense of stability. Reason I say this is - if I attach this board which flies 100% super stable in a FlyingRobot 550, it starts to act like a nervous HS prom teenager on a HK Q450 frame with gittery motors. Hooked up to WinGUI 2.1 for both setups, the sensors were "behaving well" on both frames on the bench - so that eliminated the board as the culprit. Sooo because of the physical traits of the Q450 frame (which was confirmed on other RCG threads) I had to dumb down the sensors by adding LP filters and lowering the PIDS. Not bashing the Q450 - I love this frame for its durability - just that I need to respect how it affects the FC board it carries on its back. |
|
|
||
|
|
||
|
Denmark, Nordjylland, Nørresundby
Joined Jan 2012
211 Posts
|
Quote:
So basically what you're saying is, that i should try to turn down the PID settings a bit and see without props at the desk if it behaves any better and if yes try it outside? I'll do that. Thanks! Regards, Martin |
|
|
||
|
|
||
|
Slovenia, Ljubljana
Joined Sep 2011
907 Posts
|
Quote:
|
|
|
||
|
|
|
|
|
An Analogy
It came to me last night that with these control boards (both this KK2 and the MultiWiiPro) you get a cute little frog out of the box that works just fine. It seems that everyone wants to make a lizard out of it. But one slip up and that cute little lizard turns into an alligator and bites you in the ass!
I have managed to get myself so confused trying to flash the KK2s and reprogram the MultiWiiPros that I am having to take a break before I cook the alligator for dinner. Sudsy
|
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| For Sale X250 MWC Quadcopter new MWC Mega with gps, diy kit | terriwang | Aircraft - Electric - Multirotor (FS/W) | 32 | Jan 02, 2013 03:17 PM |
| Discussion Crius NEO-6M Ublox GPS+Nano Mini Board+ Multiwii Control Board I2C GPS Kit | godwisper | Multirotor Electronics | 5 | Aug 25, 2012 04:03 AM |
| Sold Ardupilot mega with compass, GPS and Disto board!!!! | tc3wins | Aircraft - Electric - Multirotor (FS/W) | 4 | Jan 02, 2012 03:22 PM |
| Discussion Hobbyking KK board VS MultiWii for a simple quad? | carl1864 | Multirotor Talk | 6 | Dec 02, 2011 09:34 PM |
| Mini-HowTo Straight USB Connect to MTK 3329 GPS | larry baraniuk | UAV - Unmanned Aerial Vehicles | 8 | Apr 17, 2011 10:29 PM |