NOOB Multiwii Pro issues

I cannot seem to find anywhere what settings in MultiWii Gui need to set for GPS hold to work correctly.
I have tried GPS Hold, Mag, Baro. GPS hold by its self. GPS Hold, Horiz. and GPS Hold, Mag, Baro, and horiz.
none seem to work. I am running on Hobbyking MultiWii Pro with MK GPS, 2.3 firmware with default PID's, TBS Discovery Clone Frame, NTM Propdrive 2822 1000kv 9.47 props, Afro 30A ESC's (simon k). Fully loaded with gopro; gimbal; 2 3s batteries, and FPV it weighs in at almost 1900g so I am going to need to up the Prop and go to 4s for the main power (second battery is for FVP and gimbal power) since lift is sluggish when fully loaded.
When I enable it the copter wobbles like the PIDs are not right or when stabilization is not working properly. One time it wobbled, then stabilized for a second, turned decisively to home and started drifting to the left. I have not left it enabled for more than a few seconds since it behaves erratically and I don't want to crash again so soon. Does anybody have a MultiWii Pro with GPS where the GPS hold, RTH, and Land functions are working that can give me some insight?

Thanks,
P
 

Motopreserve

Drone Enthusiast
I'm not familiar with that specific HK board, but the quad should be PID tuned before you get into any of the more advanced functions. I highly recommend the android app of you have a tablet/phone. Makes tuning a lot easier.

Is the GUI showing any GPS activity?
 

Yes the GPS is showing activity, I get the correct location on the map. As far as the PID settings the quad flies very smoothly in horizon mode so I don't think that is an issue. What I need to know is what sensors need to be active on a particular aux channel to get the GPS hold.
 

Motopreserve

Drone Enthusiast
Sorry, I misunderstood. The Multiwii site states:

"GPS functions all require Level Mode / Mag / GPS however Altitude hold is advisable hence a Baro is recommended." Love the detail :)

I don't recall having Mag enabled on mine, but maybe I did (it's been a while - and it was 2.2). I do know you don't want to have a value for I in both the poshold and poshold rate I area, so one of those I should be zero.

If you have been using Baro, do you have it covered with foam?

What settings were checked when you had the issues?
 
Last edited by a moderator:

Attachments

  • upload_2014-12-13_9-24-42.png
    upload_2014-12-13_9-24-42.png
    123.4 KB · Views: 480
  • upload_2014-12-13_9-25-7.png
    upload_2014-12-13_9-25-7.png
    94 KB · Views: 401

Motopreserve

Drone Enthusiast
Yep, Horizon is your level. Sorry, the terms have changed over the years. :)

Your GUI settings look correct to me. Obviously PID settings will depend on your MR. If the case prevents the sun and wind from getting to the Baro - you should be all set. The Baro and Mag can be very temp dependent. Make sure you give them enough time to acclimate to the outside temp.

You might try GPS hold without Baro to see if it effects it (you could put it on separate aux?).

Sorry I can't be more help.
 

F

fengshuidrone

Guest
I realize that this is an old thread but it never hurts to pass some info along to others who might have a similar problem.
Multiwii uses two modes that are very similar but still different. You have Angle (also known as level) mode, and Horizon. The two modes seem identical until you go crazy with the sticks. In Angle mode, it will never do a flip. Just shouldn't work. Now in Horizon, if you have your pitch/roll rate set up with higher figures than zero, you can fly calm and easy like in level mode, or if you decide you want to get crazy you can do flips and stuff. All in Horizon mode. Another flight mode is called Acro. In that mode you are only flying using a gyro with no other positional sensors active. That is the one where you can do anything but relax. As far as getting your GPS to work, do you have everything properly set up in your config.h file? In Arduino config.h you must enable the correct serial port (#2 on MW Pro) define it's baud speed, initialize it, go back and comment initialize, then uncomment NMEA then upload again. You must also set your magnetic declination to your flying location. All of that is done in the GPS section of your config.h file. When you have everything set up there, you will need to calibrate your mag. I calibrate my mag before each GPS flight or mission. Then you need to be sure you have at least a 5 satellite GPS lock before trying to fly. I see you have the MTK GPS module. It isn't one of the best ones out there. Ublox works way better and you don't need to initialize it before getting it to work correctly. You need to have your RX wires hooked up to your TX and your TX hooked up to RX. You need to make sure that you have your //#define USE_MSP_WP looking like this #define USE_MSP_WP by removing the two slashes. Also, GPS and waypoint missions are not really fully supported in MW 2.3. You should upgrade to 2.4 where all of the code in other sections of the MW sketch have been upgraded to functioning status for GPS.
I see on your screenshot that you have default RC expo and RC Rates set. RC Expo (RC exponential) reduces stick sensitivity towards the centre of the sticks range of travel. More RC Expo makes for smoother flying with sticks centered without reducing maximum travel when the sticks are at the edges. Yours at 65 is a pretty decent setting.
RC rate is just a simple scale used to tell the aircraft how much it should respond to a given stick input. More RC rate makes for increased sensitivity to stick inputs. Put this up for acrobatic flying. Too much makes smooth flying almost impossible. Yours being at 90, it could stand to be set back to around 35. Thr. Mid (throttle Mid point) just lets you set the mid point on your throttle stick. Yours being at 50% might be right if your craft hovers at mid throttle. If you need to move your throttle past half way to hover or less than half way to hover, you would adjust your mid to reflect where you actually hover. If it takes 75 percent of your throttle sticks throw to hover, then set your mid to 75. Some fine tuning of that number may still be needed to get the craft to hover at half stick.
Thr. Expo (throttle Exponential) makes the throttle more sensitive at the edges and less sensitive towards the center of throttle stick travel. More throttle exponential makes holding a smooth stable hover easier. I have mine set at 35 as it makes for a much more tame throttle response. I see in your Nav setting menu that you have takeover baro enabled. This will allow your GPS to automatically use baro when needed so you don't really need to switch it on in aux. Also, should you get return to home working, the settings have your craft rising to a height of 15 meters before trying to return. You can set that to whatever you feel safe with. I see you have both GPS filters on. You should probably only go with forward prediction filter instead of both. I see that your Pos Hold and Hold Rate PIDs are still at default. Try changing them some. My Pos Hold P is at .40 and my I is at .50. My Pos Hold Rate P is set at 4.0, my I at .20 and my D is .050. My position hold works good with those settings. Your numbers will probably be different but you could try mine. One other thing. GPS on these quads doesn't always work even when things are set up correctly. They are sensitive to fluctuations in the Earth's magnetic field, solar flares, cloudy skies and the list goes on and on. But on a good day mine works great and I can fly waypoint missions.
One more thing. If you update your firmware to 2.4 but still use the 2.3 Nav version of the Win GUI, you will need to go into your Multiwii Arduino Multiwii.h sketch and change the version number to 2.3 (it will be 2.4) then upload that sketch to your flight controller.
 
Last edited:

Top