MegaPirateNG / ardupilot-mpng

MegaPirateNG
GNU General Public License v3.0
117 stars 105 forks source link

Plane: auto landing fails. where is the code? #113

Open dispetto77 opened 10 years ago

dispetto77 commented 10 years ago

Hi at all. I tried an auto landing setting-up a mission with land to the final WP.

Landing fails. I saw so more times the video of the flight and I assumed that speed was too hight and climb-rate, as the negative pitch too, was too slow.

So I started looking for parameters at first, and code later, commanding descent and landing of the plane. But I didn't found nothing,

function "do_land" under commands_logic doesn't resolve my question.

So... where is the relative code ??

smurfy commented 10 years ago

Somewhere in the ArduPlane folder (i think landing is basically just a setting to reduce altitude, all related code to autonavigation is in the navigation.pde), also i think this is more of a general question not a megapirate related one. so i think you should take a look here.

If this helps and resolves your question please close this issue as-well. thank you.