Channel 6 PID Tuning Problem

I just can't seem to get the channel 6 PID tuning to work properly despite spending many many hours over several days reading the wikki and searching posts and fiddling with settings, hopefully someone can help, I'm getting really frustrated.  I'm using firmware 2.9.1 and Mission Planner 1.2.46 and a Turnigy radio with er9x.

The problem is that on the config page mission planner seems to be ignoring the min/max values I enter for the tuning. For example for rate P, I set min to .05 and max to .15 but when I make adjustments with the ch6 knob it stays a 0 for the first half rotation then rapidly increases to a max of .16.  It does the same behavior no mattter what I set the min/max values to (I tried many)  and it behaves the same (ignors the min/max values) for other PIDs.

I am communicating with the 3DR radio (not usb), the props are off and I does not seem to matter if the quad is armed or disarmed. My radio is calibrated properly and CH6 works fine on the radio calibration page.  What I find really weird is that it works perfectly in CLI mode using test: tune, smooth as butter and min/max values are correct as I set them in MP.  So if it works in CLI why won't it work on the Arducopter Config page?.

Here is a screenshot of what I'm seeing, no matter what I do the max value goes to .1600 and for the first half rotation of the knob it stays at zero even though min is .05 

Has anyone seen this before? Am I doing something wrong? Is there a bug in this version of MP?

3691020550?profile=original

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

Join diydrones

Email me when people reply –

Replies

  • I FOUND THE BUG, finally!  I stayed persistant since it was driving me crazy, after screwing around with the radio awhile I went to changing random things in MP that shouldn't make any difference.  I found that if I disabled the camera gimble settings it suddenly worked as it should, enable camera gimble and it goes back to behaving badly.  I had the camera gimbal set up previously but have since changed the motors/ props to handle the camera weight, then I couldn't tune the new setup.  Thanks James and Ali for chirping in, I was beginning to think I was alone here, I believe disabling the camera gimble will solve your problems too. Right now my ch6 knob only works for half its travel, but at least it works, this might be the radio, I'll look at that next.

    This issue really should be in the wikki instructions or be fixed, anyone know how to properly report this?

    • I had same issue. Re-calibrating radio in MP helped.

    • 7

      This is probably a bit late, but a great find. Just experienced the same problems when trying to tune my APM 2.5 with the 3.1.3 firmware. The minimum and maximum limits of the tuning knob had no effect until I disabled the outputs to the role and pitch axis of the camera gimbal. Then everything started working perfectly :-).

      Apparently this was never reported as a bug?

  • Still getting frustrated, I updated to MP 1.2.50 and same problem. Also changed ch 6 endpoints on Tx from -100/100 to 0/100 which simply changes the pwm output range  (990 to 1500), changed to a different pot on Tx, changed endpoints to  -90/90, recalibrated several times but same result every time. 

     I really dont think its the Tx since it works like a charm in the CLI test/tune.  Why on earth is MP completely  ignoring the min/max values for the Ch6 option?

    I set CH6 Opt to CH6_RATE_KP. Set a min value of .05, max value of .12, "write params" to APM.  If I turn the pot all the down and "refresh params" I get 0 for Rate P (not .05), if I turn it to the halfway point and "refresh params" still 0, if I turn it all the way and "refresh params" I get .16 (greater than my max value).  Its the same every time, no matter what values I use for min/max.  It is also the same result (different numbers) for all the other PIDs. 

    Using the CLI test tune feature, the min value is correct with Ch6 knob turned all the way down, the max value is correct turned all the way up and all values in between are smooth and scaled correctly.

    Is there possibly something else in MP that is blocking me from using the Ch 6 tuning? Am I doing something wrong? Anybody??

  • I had the same problem until I went into my transmitter settings and made sure the AUX channels "end points" were set to 0 -100  

  • How did you calibrate the radio? Via Cli or MP? There were problems with the CLI method in previous versions of AC. When you look at the Mavli k Parameter list, what does it give you for the radio channel limits?

    There is a newer version of MP available. Have you tried to update?

    Otto
This reply was deleted.

Activity

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
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
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24
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
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
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
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
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
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
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
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
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…