97 Commits

Author SHA1 Message Date
Gautier Hattenberger 1e14fd5bde [modules] clean some remaining traces of subsystems 2021-11-13 00:48:14 +01:00
Gautier Hattenberger d32a1584eb [firmware] split firmware makefile into modules
these modules are automatically loaded according to the target, board
and firmware
2021-07-27 13:34:23 +02:00
Gautier Hattenberger 4c1785d00b [cleaning] drop support of LPC21 boards and related conf (#2695) 2021-04-14 14:05:17 +02:00
Tom van Dijk fba667b75c Add software-I2C (#2514) 2020-04-03 11:06:15 +02:00
Fabien-B 71f9f05c0a [E-id-fr] Apply patch enacuavlab@40abf31 2019-08-29 15:20:08 +02:00
Freek van Tienen 009b121cfd [ins] Add EKF2 from the PX4 ECL library (#2402)
* [abi] Add timestamp to AGL and BARO_ABS

* [make] Add support for c++0x for all architectures

* [math] Add air density calculation

* [gps] Add horizontal and vertical position accuracy

* [boards] PX4FMU change default baudrate and add SBUS

* [ins] Add EKF2

* [tests] Add Bebop2 with EKF2

* [nps] Fix jsbsim simulator initialisation and GPS accuracy
2019-04-12 23:12:31 +02:00
Kirk Scheper a40b69fe2e upgrades to optical flow landing module 2 (#2087)
* fix cov method 2 array initialisation for optical flow landing
* add extra divide by 0 checks
2017-08-17 08:29:37 +02:00
Michal Podhradsky 74f8b74624 First shot towards a separate HITL target (#2062)
* First shot towards a separate HITL target

* Changes in HITL - still doesn't compile

* Added makefile selection

* HITL target works for fixedwing and rotorcraft - still needs cleanup and TLC

* Removed info messages from compilation process
2017-06-13 13:39:10 -07:00
Michal Podhradsky e30a03cc00 Copilot fixes 2017-05-06 14:47:51 -07:00
Michal Podhradsky 626448c713 Fixed copilot module (#2060)
* Fixed copilot module to work both with rotorcraft and fixedwing firmwares

* Minor fixes

* Fixed compilation test
2017-05-06 13:27:07 -07: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
Gautier Hattenberger b1f6cde2c2 [rotorcraft] add support of ChibiOS for the rotorcraft firmware (#1999)
* [rotorcraft] add support of ChibiOS for the rotorcraft firmware

allows in particular to use the SDLOG on Apogee boards, and any modules
based on chibios threads in general

* [rotorcraft] also port rotorcraft FBW part to chibios
2017-02-06 21:42:15 +01:00
Gautier Hattenberger 3048259ea8 [modules] convert GNC susystems to modules for rotorcraft 2017-01-10 21:11:11 +01:00
Gautier Hattenberger 5613d79dc4 [autopilot] support generated autopilot, based on rotorcraft firmware
By default the original static autopilot is used. A config flag can
enable the use of the generated AP code.
A basic autopilot description is provided (4 modes + failsafe modes).
The server is capable of using the list of generated mode to properly
display mode names.
Tested in NAV and GUIDED mode in sim, and direct attitude control on
real aircraft.
2016-12-19 22:21:04 +01:00
Gautier Hattenberger 9956f97dc5 [rotorcraft] move guided mode in a separated place (#1905)
no reason to keep this mixed with the main autopilot logic and it should
help to have this more modular in the end
2016-10-18 18:42:26 +02:00
Gautier Hattenberger 4316871b63 Telemetry modules (#1835)
* [modules] convert telemetry subsystems to modules
* [modules] add init and event functions to modules
* [datalink] remove old datalink lib export
* [datalink] drop audio_telemetry code
* [modules] generate modules functions grouped into tasks
2016-10-07 14:35:07 +02:00
Michal Podhradsky b164c2204d Lisa MX 2.1 chibios initial support (#1743)
* Lisa MX 2.1 chibios initial support

* Renamed chibios board files
2016-06-20 14:00:35 -07:00
Felix Ruess 1a56085a4d [conf] cleanup NPS makefiles 2016-03-09 14:19:37 +01:00
Felix Ruess 6e75ed84e2 [build] use VPATH for pprzlink
for better dependency resolution and avoid having home/var/share/pprzlink instead of pprzlink in var/aircrafts/<AC>/<target>
2016-02-12 14:48:41 +01:00
Freek van Tienen a3a641c1ee [stabilization] INDI rewrite and rate control 2016-01-27 17:23:23 +01:00
Christophe De Wagter 22e876f70a [fbw] rotorcraft fbw 2015-11-20 16:34:46 +01:00
Freek van Tienen 1e4b0b6d91 [guidance] Add a flip guidance mode 2015-09-14 00:38:18 +02:00
Felix Ruess febd5d4660 [conf] add uart.makefile that can be used for sim as well 2015-09-13 02:18:29 +02:00
kevindehecker ad30502890 [modules][ARDrone2] Moved electrical ardrone2 to module, which fixes bat checks
closes #1252
2015-07-23 19:02:02 +02:00
Felix Ruess 4565c8ba16 [boards] add an optional board_init() function
and call it at the end of mcu_init

This should be used to init board functions like killing other processes on the Parrot drones
or initializing other onboard peripherals like the cmos cam chips.

So we use this instead of killing progs in electrical_init.

Replaces #1251 and is related to #1252
2015-07-22 18:40:51 +02:00
Freek van Tienen 53dd60e425 [ardrone2] Full remove of raw naming 2015-07-07 11:40:03 +02:00
Freek van Tienen 64ee6bf6f1 [ardrone2] Remove the deprecated SDK version 2015-07-02 13:40:28 +02:00
Freek van Tienen 835d9d0da3 [bebop] Sonar
Conflicts:

	sw/airborne/arch/linux/mcu_periph/spi_arch.c
2015-05-29 11:41:18 +02:00
Felix Ruess b6c9619ec7 [arch/linux] sys_time: link against librt for glibc < 2.17 2015-03-03 21:52:05 +01:00
Felix Ruess 6afd24427d [conf] remove AHRS_x_FREQUENCY defaults from imu/ahrs makefiles 2015-03-03 11:44:21 +01:00
Freek van Tienen 01a8bb28e5 [bebop] Added the new Parrot Bebop 2014-12-08 16:48:28 +01:00
Felix Ruess 45c6b9c6e2 [conf] remove obsolete USE_SYS_TIME
was only needed for old stm3 vector table, is now already long obsolete and used nowhere
2014-12-06 15:05:00 +01:00
Felix Ruess e94c4b3cfc [airborne] rename arch/omap to arch/linux 2014-12-03 18:48:43 +01:00
Felix Ruess cae8fca770 [modules] make air_data a module 2014-10-22 23:36:50 +02:00
Felix Ruess 64a280c0ff [firmwares] reorg rotorcraft makefile 2014-10-10 15:17:48 +02:00
Felix Ruess 8cbbf0fa56 [math] algebra_int functions in c file 2014-08-29 17:17:22 +02:00
Felix Ruess 0d443e866f [math] algebra_float functions in c file 2014-08-29 16:54:20 +02:00
Felix Ruess eb82253b58 [math] algebra_double functions in c file 2014-08-29 16:19:16 +02:00
Felix Ruess c1b24d6041 [build] add SRC_MODULES to rotorcraft 2014-07-25 22:50:02 +02:00
Felix Ruess b0b1502037 [stm32] remove sys plugs, works with gcc-arm-embedded 2014-04-10 12:37:15 +02:00
Felix Ruess 69feae7dc6 [conf][test] cleanup: remove old booz stuff 2013-10-29 17:29:41 +01:00
Felix Ruess 13c9f3b7ca [conf] remove non-functional FIRMWARE define
Defines don't work this way...
Was only used in gps_ubx_ucenter, replace it with GPS_UBX_UCENTER_SLOW_NAV_SOL flag
to set a lower NAV_SOL message rate (currently not set anywhere).
So you get full NAV_SOL messages rate for fixedwings as well
(just like before since the test for rotorcraft firmware was non-functional and always true).
2013-10-28 15:09:08 +01:00
Felix Ruess 8f8a2674cf Merge branch 'master' into baro_abi
get fixes from master for further testing
e.g. the ardrone navdata fixes
2013-09-13 13:55:46 +02:00
Felix Ruess ae0a26a45a [tools][conf] add TELEMETRY_FREQUENCY in generated/periodic_telemetry.h 2013-09-13 11:04:16 +02:00
Felix Ruess ddb2e04cb6 [conf] baro_board makefile for both fw and rotorcraft 2013-09-05 17:38:45 +02:00
Gautier Hattenberger 0896232488 Merge remote-tracking branch 'paparazzi/master' into baro_abi
Conflicts:
	sw/airborne/boards/ardrone/baro_board.c
	sw/airborne/modules/sensors/baro_ms5611_spi.h
2013-09-02 11:16:31 +02:00
Felix Ruess e3082044c9 [boards] add initial px4fmu_1.7 board and imu files 2013-09-01 16:35:49 +02:00
fvantienen 97563ded23 [superbitrf] Cleanup 2013-08-29 15:24:58 +02:00
Piotr Esden-Tempski bfc5598ad8 Initial commit for Lisa/S V0.1 support. 2013-08-29 15:24:57 +02:00
Gautier Hattenberger 815f7a9a0f [baro] convert remaining baro_board to ABI 2013-08-28 17:59:30 +02:00