35 Commits

Author SHA1 Message Date
Gautier Hattenberger eef2792d39 [modules] move datalink from subsystems to modules 2021-11-13 00:48:14 +01:00
Fabien-B 87a0526f37 Fix flight plans (#2740)
* [Flightplans] Replace ">" by "@GT".

* [Flightplan] Replace "&&" by "@AND".

* Add GetPosHeight() macro.

* [FlightPlan] Replace "stateGetPositionEnu_f()->z" by the GetPosHeight() macro.
2021-06-28 13:20:55 +02:00
Gautier Hattenberger 1da047b8ce [ocaml] add special keyword to avoid conflict with XML invalid characters (#2434)
see #2429
2019-05-31 13:51:59 +02:00
Gautier Hattenberger 363dec8693 Autopilot refactor (#2009)
* [autopilot] refactor autopilot API for both firmwares

With this, fixedwing and rotorcraft are mostly using the same interface
for the autopilot. Some specific code and messages handling are still
firmware dependent.
A large part of the autopilot logic of the fixedwing is moved from
main_ap to autopilot_static.
More getter/setter functions are provided.

* [autopilot] update the rest of the system and the conf

for using the refactored autopilot API

* [autopilot] fix some errors from CI servers

* [actuators] use dummy actuators module to prevent autoloading

* Rename Bart_heliDD_INDI.xml to tudelft_bs_helidd_indi.xml

* Rename Bart_heliDD_pid.xml to tudelft_bs_helidd_pid.xml

* Delete tudelft_course2016_bebop_colorfilter.xml

* Delete tudelft_course2016_bebop_avoider.xml

* [actuators] don't autoload actuators when set to 'none'

* [gcs] autodetect firmware for strip mode button
2017-02-19 11:45:57 +01:00
Felix Ruess 995a9ed066 [conf] update flight_plans to use call_once 2016-12-14 23:51:05 +01:00
Gautier Hattenberger 1207be9736 [ground_alt] add GetAltRef() to FW nav and update flight plans 2014-05-22 14:26:10 +02:00
Gautier Hattenberger ce77d4a531 [flight_plan] remove nav_line from basic FP
basic flight plan only uses standard routines, nav_line is now in
versatile and other custom flight plans
2014-04-11 09:52:38 +02:00
Felix Ruess d7babaa6b3 [modules] rename nav_x_start to nav_x_setup
find conf sw/airborne/modules \( -name "*.xml" -o -name "*.[ch]" \) -exec sed -i 's/nav_\([a-z_]*\)start(/nav_\1setup(/g' {} \;
2014-04-05 22:15:18 +02:00
Felix Ruess 5b85dc15dc Merge branch 'master' into nav_modules
to get altitude fixes for nav routines

* master: (81 commits)
  [rotorcraft] gps_sim_hitl: set gps alt and hmsl
  [rotorcraft] simple HITL by using ref as gps
  [ins] gps_passthrough type for rotorcrafts
  [ins] no baro update if vf_reset && !baro_initialized
  [ins] vf_extended: rename update_alt to update_z
  [ins] Made it possible to use GPS altitude
  [ins] hf_float: remove inline from functions
  [ins] hf_float: fix compilation with GPS_LAG
  [ins] IIR filter replacing mean in hff
  Use PPM [usec] values for radio config files with SBUS
  [actuators] dualpwm fixes for nps
  [actuators] actuators driver that generates dual pwm pulses.
  [ground_segment] add libprcre to natnet
  [math] fix resolution in ltp_def rotation matrix
  [conf] remove obsolete BARO_HAS_BOARD defines
  [chibios] fix compilation with chibios
  [datalink] Fixed some small issues with UDP datalink
  [follow] Fixed following module
  [modules] Added a module for following based on received remote GPS
  [ardrone] Updated gains and reference model for inside
  ...

Conflicts:
	sw/airborne/modules/nav/nav_drop.c
	sw/airborne/subsystems/navigation/OSAMNav.c
	sw/airborne/subsystems/navigation/poly_survey_adv.c
	sw/airborne/subsystems/navigation/spiral.c
2014-04-05 19:14:33 +02:00
Gautier Hattenberger bda3b830c4 [shortkey] allow to use Qt style for common key modifiers
this allow to avoid GTK style which makes the xml not valid because
of < and > characters (this makes some parsers fail)
2014-03-22 01:02:04 +01:00
Gautier Hattenberger 2a04c30245 [nav] update some flight plans and airframes 2014-03-14 22:28:23 +01:00
Loic Drumettaz ebccc37a06 [fixedwing] convert nav_line to a module 2014-03-10 23:02:44 +01:00
Gautier Hattenberger 2aa9ed3ff3 use correct word in FP button to circle around a point 2013-12-28 23:52:15 +01:00
Christophe De Wagter 45c3387a28 [v4.2-import] Recent additions to V4.2 2013-02-08 16:14:44 +01:00
Gautier Hattenberger bbdaa965d5 [flight_time] estimator_flight_time is now autopilot_flight_time 2012-08-23 17:09:59 +02:00
Gautier Hattenberger 08cdc771eb [flight plan] update flight plans to use state interface 2012-08-23 11:29:50 +02:00
Gautier Hattenberger 4aa4297223 [ins] improving and cleaning ins interface
- INS interface build for FW and Rotorcraft on the same basis as AHRS
- For FW, most of the old estimator (vertical kalman filter) as been moved
  to the new ins_float. Some triggers are missing for main_ap, especially
  the baro_event since the Baro interface is not done here.
- Some more integration is needed to remove old estimator.c
- INS modules should follow the general interface
- FW main_ap is not very clear concerning the INS (nor the AHRS) because
  of the freq scaling part from CDW
2012-08-21 18:32:33 +02:00
Gautier Hattenberger e59985c8f7 move all datalink related files to subsystems/datalink 2011-12-05 23:15:21 +01:00
Felix Ruess 8b160c6efd updated landing block for better alignment on a left landing, thx Reto. 2011-03-25 16:46:16 +01:00
Felix Ruess 0d44e6600b fix more nav includes 2010-11-20 13:53:24 +01:00
Gautier Hattenberger 78e382023f add feature to group strip buttons verticaly with attribute "group" in settings and flight plans 2010-10-19 15:39:07 +00:00
Pascal Brisset 483210b267 Add "path" instruction preprocessed into "go" instructions 2009-08-13 17:16:53 +00:00
Pascal Brisset 2d11b0dcb0 Bug fixed in basic.xml (test incorrectly commited) 2009-08-12 13:11:52 +00:00
Pascal Brisset bc9ee9626c key shortcut example 2009-06-30 22:24:33 +00:00
Pascal Brisset c00ba5ebe6 Non standard && replaced by And() 2009-01-19 13:43:32 +00:00
Pascal Brisset 5bd89406d5 pre_call, post_call added in blocks; pitch (in degrees) fixed 2008-02-28 08:50:23 +00:00
Pascal Brisset d20c997f7d TOD removed, BASELEG hidden, full throttle for takeoff 2007-12-20 09:56:09 +00:00
Pascal Brisset cac4ceee26 default conf updated 2007-12-06 07:02:49 +00:00
Pascal Brisset 0b6ef3d655 *** empty log message *** 2007-11-28 23:35:53 +00:00
Pascal Brisset 04b35a2c0c datalink expcetion moved to line block 2007-11-08 20:05:18 +00:00
Pascal Brisset 1f537bfaaa qfu now optional in flight plans 2007-11-06 16:24:58 +00:00
Pascal Brisset b84c0e03c6 Prettier ... 2007-10-26 10:00:32 +00:00
Pascal Brisset 82725780b2 New icons 2007-10-26 08:28:35 +00:00
Pascal Brisset a090d024b3 Icons in strips 2007-10-09 07:18:51 +00:00
Pascal Brisset 734637d530 *** empty log message *** 2007-10-05 15:30:55 +00:00