Airplane new user

This forum is dedicated to all issues and questions related to your individual setups and configurations
Post Reply
unisev
Posts: 7
Joined: Mon Aug 13, 2012 5:11 pm

Airplane new user

Post by unisev »

Hello,

I'm a new MultiWII user, I'm using Drotek 10DOF in Airplane mode and my plane is an EPPIM.

My question is :
Where must I set my MID offset ?

Setup in PassThruMode.
Set all TX trims to zero and check the value when the sticks centers.
If it's not 1500 change #MIDRC in the code.
* Adjust MID Offset in the code to center the ControlSurfaces.
* Set the ServoRates to maximum possible for the model.

from : http://fotoflygarn.blogspot.fr/2012/03/ ... -same.html


Sev

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Airplane new user

Post by PatrikE »

unisev wrote:Hello,
My question is :
Where must I set my MID offset ?
Sev


All settings is in config.h

Code: Select all

 
 /***********************          Airplane                       ***********************/
    #define SERVO_RATES      {100, 100, 100, 100, 100, 100, 100, 100} // Rates in 0-100%
    #define SERVO_DIRECTION  { -1,   1,   1,   -1,  1,   1,   1,   1 } // Invert servos by setting -1
.......


    #define SERVO_OFFSET     {  0,   0,   0,  0,   0,   0,  0,   0 } // Adjust Servo MID Offset & Swash angles



/Patrik

unisev
Posts: 7
Joined: Mon Aug 13, 2012 5:11 pm

Re: Airplane new user

Post by unisev »

Thank you Patrick.

That was what was searching for (MIDRC) :

Code: Select all

  /**************************************************************************************/
  /***********************     motor, servo and other presets     ***********************/
  /**************************************************************************************/
    /* motors will not spin when the throttle command is in low position
       this is an alternative method to stop immediately the motors */
    //#define MOTOR_STOP

    /* some radios have not a neutral point centered on 1500. can be changed here */
    #define MIDRC 1475

unisev
Posts: 7
Joined: Mon Aug 13, 2012 5:11 pm

Re: Airplane new user

Post by unisev »

I've set all servo direction, everything seems ok, the last point is :

My ROLL axe (ailerons) feel "hysteric", even when the plane is on the ground, I'm thinking about play with this "param" :

Code: Select all

    /******                Gyro smoothing    **********************************/
      /* GYRO_SMOOTHING. In case you cannot reduce vibrations _and_ _after_ you have tried the low pass filter options, you
         may try this gyro smoothing via averaging. Not suitable for multicopters!
         Good results for helicopter, airplanes and flying wings (foamies) with lots of vibrations.*/
      //#define GYRO_SMOOTHING {20, 20, 3}    // separate averaging ranges for roll, pitch, yaw


Maybe this :
#define GYRO_SMOOTHING {10, 0, 0}

Do you think 0 value is working ?
Or can I solve my hysteric problem only by changing PID values ?

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Airplane new user

Post by PatrikE »

Setting a Zero value there means a division with 0 and can crash your code!
Never go below 1 on this values!.
Set 10,1,1

unisev
Posts: 7
Joined: Mon Aug 13, 2012 5:11 pm

Re: Airplane new user

Post by unisev »

Thank-you, and what about solving this hysterical ROLL by PID adjustment ?

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Airplane new user

Post by PatrikE »

You can set P lower.
Will give smaller movements but it will probably still be nervous.

Using a avarage will smoot the readings and eleminate the "spikes".
I know that on helis a smoothing of 60 can be nessesary.
#define GYRO_SMOOTHING {60, 1, 1}

It's quite safe to increase the value really high.

unisev
Posts: 7
Joined: Mon Aug 13, 2012 5:11 pm

Re: Airplane new user

Post by unisev »

Hello,

- The GyroSmoothing (10,1,1) or (60,1,1) seems to slow every axes, not only the roll axe
- Lowering the P value make the smaller servo correction, but servo are still jittering

So let's try with jittering servos :D

Is it possible to totally disable the motor arming procedure, cause I allready have one on my radio ?

Sev

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Airplane new user

Post by PatrikE »

You can connect Esc direct to RX.
But for Acctrim and some other functions you need to be able to unarm.

I dont think its a big issue!

You can go dance jitterBug then....;)

unisev
Posts: 7
Joined: Mon Aug 13, 2012 5:11 pm

Re: Airplane new user

Post by unisev »

Let's go with jittering's ailerons and ESC connected on the Rx !

https://www.youtube.com/watch?v=hm-6zsF ... ata_player

Thank you for your answers !

Post Reply