Commit Graph

92 Commits

Author SHA1 Message Date
Gautier Hattenberger 494e3f3ad9 [tests] add a compilation test node to modules (#2653)
When adding a test node to a makefile section, with required compilation
flags, include and other options, all the files (not arch dependent
files) can be compiled with a TAP compatible program, included in the
standard tests of the CI servers.
Not all module's XML files are converted, but a large part of the most
important parts are already covered. More will be added later. The
number of tested airframes (full compilation of all targets) have been
reduced to speed the CI compile time but still covers the relevant
architecture and boards.
The main benefit is that the overall coverage is already better than
before as previous test aircraft were compiling more or less the same
part of the airborne code, while this new mechanism is more efficient to
test modules not included in any config.
2021-02-08 17:24:19 +01:00
Gautier Hattenberger de7a96c292 [conf] drop support of VMS ECU board and related modules 2021-02-02 18:27:17 +01:00
Gautier Hattenberger 65a5405908 [conf] replace ardrone2_opticflow with bebop2 version (#2617)
seems to make Semaphore CI happy and ardrone2 is not produced anymore
2020-11-10 10:15:08 +01:00
Gautier Hattenberger a27212a6d1 [build] comment rust/hacl test conf until this is repaired on CI side 2020-01-28 19:42:04 -04: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
Gautier Hattenberger 26b66809b0 Conf cleaning (#2327)
* [cleaning] remove PBN module
* [cleaning] remove ENOSE module
* [cleaning] update ENAC conf

* Cleaning on flight plans

* [cleaning] clean example and test conf

* add gazebo to the install step and compile example airframe
2018-09-27 11:15:27 +02:00
Freek van Tienen 285a72c931 Update airframes with throttle curves 2018-06-21 15:56:15 +02:00
Christophe De Wagter 7b3988f2a9 [rpm_control] throttle curves with RPM control 2018-06-21 15:30:38 +02:00
Michal Podhradsky 6536a80f58 Fix in mission fw module (so it compiles) (#2211)
Add test for fixedwing mission fw module

Better heading for simulation purposes
2018-01-04 10:12:31 -08:00
Michal Podhradsky 2c35ebeb80 Update HACL-C snapshot as a proper submodule (#2199) 2017-12-04 09:22:33 +01:00
Ewoud Smeur 2e0a520bb7 Rename TUDELFT to tudelft, remove tudelft_ prefix 2017-10-30 17:30:10 +01: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
Michal Podhradsky de58bd52ac Added AggieAir airframes 2017-05-06 09:59:36 -07:00
Michal Podhradsky ae7b16411a [vms_ecu] Updated board config and added test module 2017-03-04 15:34:01 -08:00
Michal Podhradsky 40160f1279 [conf] Added Iris. Iris_chibios and Lia chibios tests 2017-02-23 11:25:31 -08:00
Felix Ruess d9b1cd21f6 [conf] fix Quad Navstik and update some settings 2017-01-29 11:47:35 +01:00
Gautier Hattenberger 61ec3e302f [conf] update settings in test and demo conf files 2017-01-10 21:11:11 +01:00
Felix Ruess 8cd43d40e3 [conf] update settings_modules
to avoid annoying reodering changes when opening a conf is opened in Paparazzi Center
2016-12-15 00:34:46 +01:00
Christophe De Wagter aa3294cd4e [servo_switch] -> module name=switch type=servo|uart 2016-10-14 21:26:44 +02:00
Michal Podhradsky 49e058010e Nps update - proof of concept of HITL+SITL integration (#1831)
* FlighGear and Ivy thread working

* Main loop replaced with main_thread

* Cleaned up nps_main

* HITL main - test TX with Vectornav

* Added AggieAir control panel

* [modules] Flight logger module added

* [fixedwing] Airframe configuration updated

* [hitl] Proof Of Concept - IO and simulation running

* [nps] Minor changes in main hitl

* [nps] Performance Test with Pthread library

* [hitl] Working with pthreads instead of glib threads

* [hitl] Minor updates

* [nps] Refactoring to get rid of Gthreads

* [nps] Minor changes, added mutex guards

* [nps] Minor Ivy fix

* [nps] Threads working properly
[hitl] Ins separated

* [hitl] Check for launch variable

* [nps] Refactoring makefile into common and hitl/sitl specific

* [hitl] Hitl works, sitl too

* [hitl] ins_vectornav comments

* [hitl] Updated launch routine

* [nps_hitl Cleaned up version of NPS/HITL
- added support for ACTUATORS message (Rotorcraft)
- resolved start issue for Fixedwing (works fine now)
- minor improvements in threads (fg_thread, ap_init)

* [nps] Minor fixes to save current work

* [nps] Minor fixes

* Update to latest pprzlink

* FlighGear and Ivy thread working

* Main loop replaced with main_thread

* Cleaned up nps_main

* HITL main - test TX with Vectornav

* Added AggieAir control panel

* [modules] Flight logger module added

* [fixedwing] Airframe configuration updated

* [hitl] Proof Of Concept - IO and simulation running

* [nps] Minor changes in main hitl

* [nps] Performance Test with Pthread library

* [hitl] Working with pthreads instead of glib threads

* [hitl] Minor updates

* [nps] Refactoring to get rid of Gthreads

* [nps] Minor changes, added mutex guards

* [nps] Minor Ivy fix

* [nps] Threads working properly
[hitl] Ins separated

* [hitl] Check for launch variable

* [nps] Refactoring makefile into common and hitl/sitl specific

* [hitl] Hitl works, sitl too

* [hitl] ins_vectornav comments

* [hitl] Updated launch routine

* [nps_hitl Cleaned up version of NPS/HITL
- added support for ACTUATORS message (Rotorcraft)
- resolved start issue for Fixedwing (works fine now)
- minor improvements in threads (fg_thread, ap_init)

* [nps] Minor fixes to save current work

* [nps] Minor fixes

* Update to latest pprzlink

* Fixed the feed function

* Compilation fixes

* More compilation fixes

* Last compilation fixes

* Added a simple automated flight plan (auto take off and landing)

* Fixes in NPS

* Removed SBUS fakerator

* Removed superfluous "else"

* Renamed "flight recorder" to "xgear"

* Fixed formatting

* Updated extra_dl module

* Initial support for extra_dl to run over USB serial

* Fixed usb_serial for extra_dl

* extra_dl_periodic() called at TELEMETRY_FREQUENCY
2016-10-04 14:42:10 +02:00
Felix Ruess eca3d3b229 [conf] update settings_modules in example confs 2016-09-26 20:38:14 +02:00
Felix Ruess 21d3c21a9a [math] fix typo 2016-09-25 23:55:34 +02:00
Felix Ruess 82b9b52fed [conf] update confs for removed settings 2016-09-20 14:21:13 +02:00
Felix Ruess 17d32772c0 [imu] convert imu subsystems to modules (#1788)
* [imu] convert imu subsystems to modules

Also
- get rid of explicit imu init|event|periodic calls in main
- each imu implementation has their own imu_x_init/event/periodic

* [imu] fix some imu modules

* [imu] fix bad paths

* [imu] add imu_common module that every implementation autoloads

and put body_to_imu settings in imu_common module

* [imu] fix imu_ardrone2

* [conf] add imu_common settings module in conf_example and conf_tests
2016-08-12 12:02:38 +02:00
Michal Podhradsky 3373596088 Updated geofencing (#1802)
* Added geofence_max_agl and related checks

* Proper geofence checks in nav_geofence
2016-07-14 16:53:36 -07:00
Felix Ruess 62544b28c9 [conf] update settings to loaded modules 2016-07-01 11:55:02 +02:00
Deon Blaauw f1f75e96b8 Hybrid guidance code for hybrid drones (#1769)
This pull request is for the guidance algorithms used to control hybrid drones like the Quadshot and MavShot. It supports autonomous waypoint navigation as well as "forward-flight". The code was flight tested in autonomous waypoint navigation mode, including autonomous landing (using sonar).
2016-06-30 21:51:52 +02:00
Felix Ruess b97e23bdb3 [ins] convert ins subsystems to modules (#1740)
and get rid of ins calls in main and register functions
2016-06-25 17:45:30 +02:00
Felix Ruess dfa6678b6c [conf] commit reordering done by pprz center 2016-06-16 19:42:45 +02:00
Michal Podhradsky 9a8c325e36 Fixed aircraft IDs for new airframe (#1688) 2016-05-26 15:55:54 -07:00
Michal Podhradsky 75f8e34e51 Skid landing (#1669)
Skid landing navigation routine.
Comes with an optional landing control for vertical control system
I did test the build at a localhost.
2016-05-26 15:37:17 -07:00
Felix Ruess 18fadbde59 [boards] support for OpenPilot Revolution board
IMU, mag, baro and telemetry tested.
Positive x-axis of the IMU is indicated by the arrows on the board, the side with LEDS and F4 is up (negative z-axis).
Still missing support for the modem and the external flash...

To get the axes correct also extended the imu_mpu600_hmc5883 driver to allow different axes/channel assignments.
2016-05-19 21:49:03 +02:00
Christophe De Wagter c982c04537 [board] remove classix support (#1626) 2016-04-25 22:54:08 +02:00
Christophe De Wagter e3958e6029 Cleanup cdw airframes (#1623)
* [conf] 2seas2o -> tudelft

* [conf] non-existing airframe

* [airframe] simulate indi frog with no inertia

* [conf] start cleaning old IMAV airframes, remove non-existing

* [airframe_editor] point to other default airframe

* [CHIMU] documentation and examples

* [airframe] yapa_xsens is TUDELFT
2016-04-21 21:55:44 +02:00
Felix Ruess 48b0dbd3bd [conf] update settings_modules in some confs 2016-04-21 01:00:18 +02:00
Freek van Tienen 93959f5080 [conf] Remove unused rate controller and settings 2016-01-27 17:23:23 +01:00
Felix Ruess 29c4174be7 [gps] add fields_valid and remove GPS_USE_LATLONG
add fields_valid bitfiled to gps struct and use that to decide whether a valid UTM pos is availabe instead of always computing UTM if GPS_USE_LATLONG is defined

should close #641
2015-12-13 00:59:51 +01:00
Open UAS 5ce986736e Unified CDW airframe naming and moved related configs 2015-12-10 11:37:15 +01:00
Felix Ruess 348a0a2da5 possibility to use register_periodic_telemetry for mavlink and others
in the telemetry xml file a type can be specified for the process (default is "pprz").
You can also set "mavlink" and use mavlink messages, which will be sent as specified if the mavlink module is loaded and that mavlink message is registered there.
2015-11-27 16:37:54 +01:00
Open UAS d2ab55d30c Special directory testhardware and it beloning config lowercased 2015-10-22 01:00:44 +02:00
Felix Ruess 41d52d0c6a [modules] separate opticflow calculation and guidance hover loop 2015-09-13 17:22:59 +02:00
Felix Ruess 43c62e64d5 [conf] add nps settings to example/test aircrafts 2015-09-12 16:19:37 +02:00
Felix Ruess f2a0bd56a3 [conf] update settings_modules in conf example and tests 2015-09-04 22:58:49 +02:00
Christophe De Wagter efd04742f7 [test] bluegiga test airframe 2015-08-21 11:25:21 +02:00
Piotr Esden-Tempski 6a712d24cd [ELLE0] Added ELLE0 example airframe and sutup files. 2015-08-11 20:21:19 +02:00
Freek van Tienen b143548515 [conf] Fix navstik INDI config 2015-08-07 17:39:53 +02:00
Felix Ruess 0536b76f99 [conf] update settings in example/test confs 2015-07-30 13:55:22 +02:00
Felix Ruess 609d3a0011 third release candiate for v5.6 stable release 2015-07-30 13:47:45 +02:00
Felix Ruess f5c68c569b [airframes] some more cleanup 2015-07-25 10:38:43 +02:00
Felix Ruess 0eae573174 [airframes] move parrot airframes to examples/untested subdirs 2015-07-24 15:50:00 +02:00