Needed a servo travel limit in elevon mixing

Hi.

I am using the software elevon mixer in the ArduPlane and the problem is there is no maximum servo travel limit like EPA (End Point Adjustment) in any transmitter to ensure that the servo don't go above the limit to not brake the mechanics.

I propose to implement a new parameters like CH1_EPA_MIN, CH1_EPA_MAX (0-3000) (ms) or something like this. It should be for all phisicall channels if they use PWM output for servo control.

Or at least it should be something like this just in elevon mixing.

Working logic, this is like final stage filter:

 

    if (IN_PWM > CH1_EPA_MIN) then

        {OUT_PWM = IN_PWM}

    else

        {OUT_PWM = CH1_EPA_MIN}   

    if (IN_PWM < CH1_EPA_MAX) then

        {OUT_PWM = IN_PWM}

    else

        {OUT_PWM = CH1_EPA_MAX}

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

Join diydrones

Email me when people reply –

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
More…