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