paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Re: Strong Wind


From: Pascal Brisset
Subject: Re: [Paparazzi-devel] Re: Strong Wind
Date: Sun, 19 Apr 2009 10:20:46 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Hi Stephen,

the WIND_INFO flag has been added for simulation only (in conf/autopilot/sitl.makefile). So if you want to use this feature in real flight or/and HITL simulation, you want to write:

ap.CFLAGS += -DNAV -DAGR_CLIMB -DLOITER_TRIM -DWIND_INFO -DSTRONG_WIND

--Pascal

Stephen L Hulme wrote:
Dear Pascal
Christophe De Wagter said: "Just call it with the extra -DWIND_INFO and -DSTRONG_WIND flags" You kindly announced you had set the -DWIND_INFO flag. If I wish to trial this addition to the code where do I set the flag for -DSTRONG_WIND. Is the following appropriate for the funjet1.xml file? ap.CFLAGS += -DNAV -DAGR_CLIMB -DLOITER_TRIM -DSTRONG_WIND
ap.srcs += nav.c fw_h_ctl.c fw_v_ctl.c


# Config for SITL simulation
include $(PAPARAZZI_SRC)/conf/autopilot/sitl.makefile
sim.CFLAGS += -DCONFIG=\"tiny.h\" -DAGR_CLIMB -DLOITER_TRIM -DALT_KALMAN
-DSTRONG_WIND
I apologise in advance for being software challenged. But I do live in a very windy location within the 'Roaring Forties' - Wellington NZ Regards Stephen

Pascal Wrote:
Hi
thanks Christophe for your contribution. It should probably be included in the 
main code. I've just committed
related misc changes:
- -DWIND_INFO flag is now the default in SITL simulation 
(conf/autopilot/sitl.makefile)
- I moved the heading estimation (estimator_psi) from fw_h_ctl.c to estimator.c 
(computed when a GPS message is received)
- this heading is now correctly displayed by the GCS (new field in the 
FLIGHT_PARAM message)
- the angles of the ATTITUDE message are now in radians (airborne and ground 
conversions removed). There are still displayed (in Messages and Plotter) in 
degrees thanks to the alt_unit_coef specification (messages.xml)

--Pascal





reply via email to

[Prev in Thread] Current Thread [Next in Thread]