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

DIY Robocars via Twitter
RT @_JonMyer: 🚨Our 1st AWS DeepRacer Community Race is Underway on http://twitch.tv/aws 🚨 Join us to find out which member of your commu…
yesterday
DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
RT @BackyardRobotcs: After an admittedly long wait, the new Tinymovr R3.3 motor controller is now available https://tinymovr.com 🥳
yesterday
DIY Robocars via Twitter
RT @_JonMyer: 🏎 1 hr left before the #AWS #DeepRacer Community 🏎 Top 5 Race tomorrow LIVE on Twitch 1st Place = $50 Amazon GC or AWS Credit…
yesterday
DIY Robocars via Twitter
Friday
DIY Robocars via Twitter
Oct 15
DIY Robocars via Twitter
Oct 14
DIY Robocars via Twitter
RT @davidfsmith: Race virtually with The AWS DeepRacer Community Race and then join us on the track to see how your times compare on the ph…
Oct 14
DIY Robocars via Twitter
Oct 14
Hiroki Tanaka liked Hiroki Tanaka's profile
Oct 13
DIY Robocars via Twitter
RT @breadcentric: It's now!
Oct 13
DIY Robocars via Twitter
RT @SahikaGenc: Happy Prime Day! AWS DeepRacer is available at a 30% discount today! @sunilmallya #AWSDeepRacer https://www.amazon.com/AWS-DeepRacer-Fully-autonomous-developers/dp/B07JMHRKQG/ref=sr_1_5?dchild=1&keywords=deepracer&qid=1602609599&sr=8-5
Oct 13
DIY Robocars via Twitter
RT @chr1sa: Printing all the parts for @DIYRobocars https://t.co/ygRxBBBQbi
Oct 11
DIY Robocars via Twitter
RT @chr1sa: Cool new @donkey_car controller app (iOS or Android). Can even do training in-app. Impressive! cc @DIYRobocars https://t.co/XD…
Oct 11
DIY Robocars via Twitter
RT @chr1sa: Drifting with @donkey_car! This is an example of the fully autonomous @DIYRobocars we race monthly now (virtually, in the shar…
Oct 10
DIY Robocars via Twitter
Oct 9
More…