HI MARK,
i am using UDB4 , I was not able to get my Quad
to be stable enough for flight.
i get a strange behevier, for example one of the motor stop
run and the second run at full rpm.
what may be the problem ?
would you like to send me your code ?
thanks.
alex.
On Apr 5, 3:39 pm, markw <kd0...@gmail.com> wrote:
> Hi All,
>
> Here's a short video of my quad flying in the back yard. UDB4 in
> AeroQuadFPV frame, 1700 grams <https://www.youtube.com/watch?v=ZrZJW8lG_2U>
>
> The air was calm for this flight, but I did input some rather large
> roll/pitch and throttle commands to test stability and look for overshoot.
> I thought it was quite informative to watch the video in slow motion at
> 720p, and would be interested in any observations you might have on
> stability and performance.
>
> I'm running 100Hz telemetry to an OpenLog, and analysis shows the response
> latency from roll/pitch command to commanded tilt angle is 120msec for this
> flight. The following plot is a cross-correlation of roll and pitch motor
> control commands with roll and pitch angles, with the x axis in units of
> 10msec samples.
> <https://lh5.googleusercontent.com/-ZU5NHtZPxcU/T32RZxEAS4I/AAAAAAAAGd...>
>
> regards,
> --markw
Hi MARK,thanks for your replay, i download the version with 400 hz, and i have problem:after calibration all motors start to run without any command from me.i use udb4 plate.thank you.IGAL.2012/5/12 Mark Whitehorn <kd0...@gmail.com>
it was the problem :) . wow ..i seems to be very impressive.i suppose that i can run it only with gyro and acc ?igal.
Hi Mark,
i am using RS232 protocol with hyper terminal program.
i didnt success to get tx with your 400 hz version.
what is the right baude rate?
thanks,
igal.
On May 13, 12:17 am, Mark Whitehorn <kd0...@gmail.com> wrote:
> Hi Igal,
>
> I'm glad it's working for you, even more so that it seems impressive.
>
> You don't need GPS or magnetometer, and there isn't yet any GPS
> functionality, though I hope to soon start on a position hold mode. A
> magnetometer will eventually eliminate yaw drift, but that's not fully
> debugged yet.
>
> regards,
> --Mark
>
>
>
>
>
>
>
>
>
> On Sat, May 12, 2012 at 2:46 PM, igor isakov <igor...@gmail.com> wrote:> > 2012/5/12 Mark Whitehorn <kd0...@gmail.com>
> > it was the problem :) . wow ..i seems to be very impressive.
> > i suppose that i can run it only with gyro and acc ?
>
> > igal.
>
>
> >> Igal,
>
> >> Did you modify options_base.h to the correct input and output channel
> >> mappings for your radio and quad, then rename it to options.h?
>
> >> regards,
> >> --Mark
>
> >> On Sat, May 12, 2012 at 1:27 PM, igor isakov <igor...@gmail.com> wrote:> >>> 2012/5/12 Mark Whitehorn <kd0...@gmail.com>
>
> >>> Hi MARK,
>
> >>> thanks for your replay, i download the version with 400 hz, and i
> >>> have problem:
> >>> after calibration all motors start to run without any command
> >>> from me.
> >>> i use udb4 plate.
>
> >>> thank you.
> >>> IGAL.
>
>
> >>>> Hi Alex and Igal,
>
> >>>> Sorry for the slow reply, Alex. There's a new MatrixPilotQuad branch
> >>>> contains the 400Hz version.
>
> >>>> I recommend that you use a failsafe mux and be very sure that the input
> >>>> and output channel mappings are correct before you attempt to fly this
> >>>> version. Also, the options.h file currently in the repository is configured
> >>>> for my quad and you should start by renaming options_base.h to options.h,
> >>>> then modify that to match your own quad.
>
> >>>> best of luck,
> >>>> --Mark
>
> >>> Mobile:+972-52-3970141begin_of_the_skype_highlighting +972-52-3970141
> >>> EMail: igor...@gmail.com
>
> >> --
> >> Mark Whitehorn
> >> kd0...@gmail.com
>
> > --
>
> > Igor Isakov
>
> > Mechanical Engineer
> > Mobile:+972-52-3970141begin_of_the_skype_highlighting +972-52-3970141
> > EMail: igor...@gmail.com
>
> --
> Mark Whitehorn
> kd0...@gmail.com
ok. i will try.i checked your gain.. and i get better performance with KDD=4.0how did you found the gains? by experiences ?igal.2012/5/15 Mark Whitehorn <kd0...@gmail.com>
HI Mark,
i attached a link with video that shows the performance with
the 400 hz version.
i changed the KDD gain from 1.86 to 2.35.
http://www.youtube.com/watch?v=RzV49FQRtEQ&feature=youtu.be
igal.
Mark,
wher may i find a theoretical material of what you did at your
code ?
why your code contain part of gain changing ?
thanks,
igal
On May 15, 10:05 pm, Igal <igor...@gmail.com> wrote:
> HI Mark,
>
> i attached a link with video that shows the performance with
> the 400 hz version.
> i changed the KDD gain from 1.86 to 2.35.
>
> http://www.youtube.com/watch?v=RzV49FQRtEQ&feature=youtu.be
>
> igal.
thank you very much, its look very interesting...now i know what to do with other knob on my remote control :))) .because until now i used only the joystics.igal.
Hi ,
what is the different i if the udb4 get the power (+5 v) from
ESC or from external voltage regulator that supply +5 volt ?
Igal.
On May 16, 12:27 am, Mark Whitehorn <kd0...@gmail.com> wrote:
> Igal,
>
> I just noticed that the system diagram I attached above appears to say the
> SJ1 on the UDB4 is installed. That is not the case: SJ1 is open and VCC is
> separate from SVCC.
>
> I'm looking forward to seeing video of your quad flying around.
>
> good luck,
> --Mark
>
>
>
>
>
>
>
>
>
> On Tue, May 15, 2012 at 3:14 PM, igor isakov <igor...@gmail.com> wrote:> > 2012/5/16 Mark Whitehorn <kd0...@gmail.com>
> > thank you very much, its look very interesting...
> > now i know what to do with other knob on my remote control :))) .
> > because until now i used only the joystics.
> > igal.
>
>
> >> Igal,
>
> >> Other than changing CPU clock frequency and control loop frequency, the
> >> only change from Bill Premerlani's MatrixPilotQuad branch is in the details
> >> of the control loop.
>
> >> While Bill is using a controller design based on his measured system
> >> dynamics:
>
> >> I have reverted to an ArduPilot style PID loop:
> >>http://code.google.com/p/arducopter/wiki/AC2_Tweaks
>
> >> The code in main.c for adjusting PID gains uses two receiver channel to
> >> allowing changing one of three gain values without reprogramming. The gain
> >> values are stored in the UDB4's EEPROM. If you'd like to enable this, you
> >> will need to connect two additional channels from RX to UDB4. I use a
> >> three-position switch to select between TILT_KP, KD and KDD and a knob to
> >> adjust the gain up and down. I've attached a picture of how my RX is
> >> connected to the UDB4.
>
> >> regards,
> >> --Mark
>
> >> On Tue, May 15, 2012 at 1:48 PM, Igal <igor...@gmail.com> wrote:> >> kd0...@gmail.com
>
> >>> Mark,
> >>> wher may i find a theoretical material of what you did at your
> >>> code ?
> >>> why your code contain part of gain changing ?
> >>> thanks,
> >>> igal
>
> >>> On May 15, 10:05 pm, Igal <igor...@gmail.com> wrote:
> >>> > HI Mark,
>
> >>> > i attached a link with video that shows the performance with
> >>> > the 400 hz version.
> >>> > i changed the KDD gain from 1.86 to 2.35.
>
> >>> >http://www.youtube.com/watch?v=RzV49FQRtEQ&feature=youtu.be
>
> >>> > igal.
>
> >> --
> >> Mark Whitehorn
>
> --
> Mark Whitehorn
> kd0...@gmail.com
Thanks Mark.i have the same problem with RS232 protocl... i can get on the connection.. i set the baude rate to 115200 and nothing appear at my screen.i use a simple connected wired RS232 board.with other versions (40 hz ) its work.may be it because of the 400 hz ?regards,igal.
Hello everyone,
As you suggest, you can find the patch file.The biggest modifications are on the telemetry.c . Because my quad is controled with my PC.As my pc is the controller, I had a function "PID Tune" on my windows application. For that I have to modify the define for the differents Til_Kx. I transform the defines in variables. Like this, I can modify the Tilt by telemetry.I join to the post my windows application who is totaly managed code with a little directx implementation for Joystick input.In future, I'de like to implent the telemetry of matrixpilot, for others gcs.For the moment, my quad is on the ground with propelers a little broken. I test my code and don't find best pid.