|
From: | Pascal Brisset |
Subject: | Re: [Paparazzi-devel] Problems with flight plans |
Date: | Wed, 16 Jul 2008 00:30:09 +0200 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080505) |
Hi,bad luck, there is a strong discontinuity in the SRTM model at your launching point location. If you load the SRTM model in the GCS (from the Nav menu), the ground altitude of the location of the pointer is displayed on the top right. You can read 131m on your HOME location, and 146m immediately to the north of this point. On takeoff, the simulator gets immediately an altitude of -15m and considers it as a crash. The simplest way to avoid this is to disable the ground detection in the simulator: stop the Simulator agent, add the "-noground" option to the command and restart. You will read a -15m AGL during the first seconds but it won't stop. The current threshold for crahs detection is -3m (sw/simulator/flightModel.ml:178 an awfull numeric constant in the middle of the code ...)
--Pascal Bernard Davison wrote:
Hi, I'm having trouble making a flight plan that actually works in the sim. I've downloaded the latest source and built, srtm files for Australia. I've copied the basic.xml flight plan and changed only the the following:<flight_plan alt="300" ground_alt="200" lat0="-36.778810" lon0="149.696277" max_dist_from_home="1500" name="Basic" security_height="25">... <waypoint alt="300.0" name="AF" x="177.4" y="45.1"/> <waypoint alt="200.0" name="TD" x="28.8" y="57.0"/>When I load the example project with these changes and launch the A/C very quickly stops. (crashes) I've tried changing the ground_alt and alt to real values (150) and always get the same result.What am I doing wrong? Thanks, Bernie. _______________________________________________ Paparazzi-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |