Moderator

2.6 auto landing

I was just reading the code to try understand how auto landing and takeoff works and just wanted to check if i understood it correctly?

Auto Takeoff
You set the desired take off alt (say 200m), and servo pitch (say 20deg), and autopilot will stick to this until the altitude is reached before switching to normal autopilot mode?

Auto Landing
Firstly you make waypoins file as normal, for landing you will gradually place them closer to ground level in a straight line etc...  Then you edit the defines file to specify the waypoint number that you want to fly at min FBW speed for approach, then the waypoint number that you want to cut the throttle?

Did I miss anything important? just think its better to check before i try it for real.

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

Join diydrones

Email me when people reply –

Replies

  • Developer
    You all have the general concepts right. The takeoff parameter is a pitch value versus a pitch servo value.

    Doc, if you want to try it without airspeed PM me and let me know what changes you would want other than just enabling the throttle cut in the no airspeed sensor case. I am busy working on Ardupilot Mega this week but may be able to fit this change in depending on how extensive you want it.

    When I wrote the auto landing I was not sure what someone without airspeed sensor would want. Maybe just a throttle cut is enough. That is easy.
  • Only in simulation...


    Note, Currently in the code you only get throttle cut if you have defined AIRSPEED_SENSOR true in your header.

    Simulator to follow shortly...

    launchnland.kml

    https://storage.ning.com/topology/rest/1.0/file/get/3692051454?profile=original
  • To be honest, im also curios about this, as its the next step for me....

    be interested to hear from someone who has done it.

    regards,.

    Mike.
This reply was deleted.

Activity