Menu

Help with Flying Wing / Delta / Aileron and Elevator Mixing.

Features
Anonymous
2013-09-07
2013-09-09
  • Anonymous

    Anonymous - 2013-09-07

    Hello I have been using your library with great success on standard fixed wing airframes like the Bixler 2.

    However I recently tried to program a flying wing aircraft but I have become stuck with the plane model example and I have tried to change it to work with a flying but I simple can’t figure out why it won’t work.

    The plane has only 2 aileron servos these to servos are mixed with the elevator as well it also has a single brushless pusher motor that I would like to be able to control with the arduino. I have tried many different ways but for some reason only 1 servo moves.

    I have checked that the servo is still working and have tried running the code on a Duemilanove board and the Mega to no success. I am also confused as to what settings I should be using on my transmitter.

    I am using a Spectrum DX7s this transmitter has lots of features’ including mixing for flying / delta wings built in so should I set the transmitter up to use the flying wing mode of normal fixed wing mode.

    That’s mainly where I’m confused I can’t decide if the Arduino should be mixing the servos or should the DX7s transmitter be outputting the mixed signal instead?

    Your help would be greatly appreciated. I am incorporating your library into my UAV project similar to Ardupilot but improved.

     
    • dvdouden

      dvdouden - 2013-09-09

      If you're planning to build an autopilot or flight stabilizer then I recommend you do the mixing in the Arduino; it's a lot easier to make changes to separate aileron/elevator input than to mixed signals.
      You'll nIf you're planning to build an autopilot or flight stabilizer then I recommend you do the mixing in the Arduino; it's a lot easier to make changes to separate aileron/elevator input than to mixed signals.
      You'll need to use WingType_Tailless, AileronCount_2 and RudderType_None. TailType is ignored for Tailless planes. You'll have to set elevonAileronMix and elevonElevatorMix to some decent values as well (try 128 ( = 50%) to start with). Make sure you have rc::Output_AIL1 and rc::Output_AIL2 connected to a channel. If you're having problems getting multiple servos to work, try having connected one servo at a time, if all servos work separately but not together then you have a decoupling problem (the servo motors interfere with the digital signal).

       

Anonymous
Anonymous

Add attachments
Cancel