Level flight controller - any interest?

Hi,

I have an application where it is desired that the plane stays level in auto flight. It should turn with the rudder and not bank at all.

ArduPlane currently cannot do that. It uses ailerons as primary heading change control and the rudder is used at most for achieving coordinated turns, where local lateral acceleration is zero. This is normally done for occupant comfort but hmmm it's a UAV.

Has anybody ever tried to write such a controller, or is anybody else interested in having one?

I can see the L1 controller does have some functionality to hold a heading with the rudder - for when rolling on the ground. Maybe this could be rewritten into flying towards a point instead of just keeping a direction.

Is there a presentation of how the L1 controller works somewhere? Maybe even the APM implementation?

Regards

Soren

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

Join diydrones

Email me when people reply –

Replies

  • Implementation for this type of controller should be relatively simple...

    I think it is best done by copying out the navigation roll command to a new variable (for example to nav_yaw_cd), then set the nav_roll_cd to 0. All this is in the function which performs the calculation for the navigation in auto mode ( the function is called update_current_flight_mode(void))

    After this all which is left to do is to modify the Attitude.pde file. Therefore instead of having the rudder being actuated in order to do some coordinated turns, the new nav_yaw_cd variable is used to calculate navigational error. After this the error can be stuck into the Rudder PID and you are done.
    Does this make any sense to you? I think with this methode you only have to manipulate 10-20 lines of code, and you should be ready to go...

  • I am frequently doing perfectly flat turns with my Easystar when flying FPV. Basically, rudder full left and ailerons right as much as needed for flat turn. It wastes energy. It is great way not to loose signal when far with vertically polarized antennas.

  • Or this:

    http://vimeo.com/m/71031671

  • Moderator

    Physics say the aircraft will have to bank after time secondary effect of controls. http://www.bmfa.org/faq/rc/flight_controls.html more here http://www.gliding.co.nz/sites/gliding.co.nz/images/documents/Train...

This reply was deleted.

Activity