Commit Graph

30 Commits

Author SHA1 Message Date
OpenUAS b4ba0dac47 T4 actuators and T4 AOA now usable in Paparazzi master (#3401)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* T4 actuators and T4 AOA now usable in Paparazzi master

* Rename ACTUATORS_T4_UART_DEV to ACTUATORS_T4_UART_PORT

since build failure on semaphore test  gave:
modules/actuators/actuators_t4_uart.c:194:19: error: ‘ACTUATORS_T4_PORT’ undeclared

* Rename ACTUATORS_T4_UART_PORT to ACTUATORS_T4_PORT

Wrongly named, FYI since for the future plans port could be as well CAN or I2C type no specific reference to UART device just plain ACTUATORS_T4_PORT
2025-10-19 19:55:09 +02:00
Christophe De Wagter 4c97648080 Fix problems with master after stabilization and chibi merges (#3280)
Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2024-05-30 09:25:58 +02:00
Freek van Tienen 58caa662cd [modules] Support dual ublox GPS modules (#3267)
* [modules] Support dual ublox GPS modules

* Fix UCenter

* Fix make test_modules

* Fix: tell ins_ekf2 when no YAW is available

---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
2024-05-24 09:55:16 +02:00
Gautier Hattenberger 4ae40567ed [hitl] rewrite support for hardware in the loop simulation (#3146)
- old way (based on ins_vectornav) is not supported anymore
- directly send sensor data and receive commands with a dedicated link
- examples with USB link for better results
- update sphinx documentation
- compilation in a single build
2023-10-31 14:48:55 +01:00
Gautier Hattenberger 62646d68de Modules recommends and suggests (#3005)
Add two new items in module's dependency:
- recommends: a recommended module tells the sorting algo that if the module is found, it should be sorted accordingly. It is useful for optional dependencies, like shell or mission in some modules
- suggests: if a functionality is not provided by the user, a module can suggest a list of modules that can provide them. It is a convenient way to have "default" modules.

As a result the former autoload node is removed and replaced by suggested modules.
2023-03-07 17:14:15 +01:00
Jesús Bautista Villar cc781ef5e6 Ublox GPS - Manual hot, warm and cold reset functionality (#2924) 2022-10-15 23:24:14 +02:00
Gautier Hattenberger 7709dcfa2e [datalink] move all hardcoded message parsing to modules datalink events (#2838) 2022-03-11 15:48:51 +01:00
Gautier Hattenberger a4632c33ca [modules] move gps from subsystems to modules 2021-11-13 00:48:14 +01:00
Gautier Hattenberger d02ec5ba98 [modules] update modules XML for proper dependcies and tasks 2021-07-27 13:34:23 +02:00
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 9380293ac4 [gps] compile gps generic part for fbw target 2020-03-20 11:19:46 +01:00
Christophe De Wagter 56a2eb21e0 [fbw_gps] GPS in FBW/FTD (e.g. geofencing) (#1876)
* [FBW_GPS] Run GPS driver in FBW, e.g. for geofencing

* [FBW_GPS] convert all GPS modules to run in FBW
2016-11-02 11:13:16 +01:00
Felix Ruess ebbdff8210 [modules] gps: cosmetic changes 2016-08-19 20:47:11 +02:00
Gautier Hattenberger 21b9d4043b [gps] remove duplicated elements (configured by common gps module) 2016-06-16 21:23:52 +02:00
Felix Ruess 2c12e96e02 [gps] separate gps module for gps_init and multi
- remove gps_init from main
- all actual gps_x implementations autoload the generic gps module
- generic GPS module has setting for multi_gps_mode
2016-06-16 14:39:55 +02:00
Felix Ruess 56e5bc891a [gps] fix invalid xml and dox 2016-06-15 23:51:03 +02:00
Felix Ruess 6bf56d7079 [gps] autoload gps_sim and gps_nps modules
from the "normal" gps modules so that you don't have to add them manually in your airframe to get the simulation running
2016-06-15 21:22:10 +02:00
Felix Ruess 6cc4d590f5 [gps] call gps_periodic_check from module 2016-06-15 21:22:09 +02:00
Felix Ruess 2374f82a98 [gps][sim] separate gps_sim and gps_nps modules 2016-06-15 21:22:09 +02:00
Felix Ruess 8afa5f01b2 [gps] call gps_x_init and event directly from module
and get rid of need for GPS registering.

PRIMARY_GPS (and SECONDARY_GPS) now needs to be UPPERCASE (the first part of the ABI id, e.g. GPS_UBX)
This is now only used/needed to resolve GpsId(PRIMARY_GPS) to e.g. GPS_UBX_ID

sim and nps are now failing, since the init and event functions are wrong for those targets.
Next step is to make gps_sim and gps_nps modules and remove those targets from the "normal" modules.
But maybe add the sim modules as dependencies so they can be auto-loaded?
2016-06-15 21:22:09 +02:00
Felix Ruess 8fb57b97b4 [gps] convert gps subsystems to modules
and remove obsolete/non-functional gps_ublox_hitl and gps_ardrone2

GPS functions still need to be called from main...
2016-06-15 20:48:07 +02:00
Felix Ruess 8b43408753 [modules] use string type where appropriate 2016-03-31 22:40:47 +02:00
Gautier Hattenberger 664bc8a775 [gps] update gps ublox module to comply with multi gps 2016-02-12 21:13:02 +01:00
Gautier Hattenberger a5ed01bab4 [build] use 'default' instead of 'value' to pass default values 2016-02-12 00:03:18 +01:00
Gautier Hattenberger 904507a4e6 [build] add case modifier to modules' makefile
- this allow to use lower and upper version of a makefile variable.
- can also be use to provide default value to some variables.
2016-02-10 18:05:43 +01:00
Felix Ruess 219eee929f [modules] fix gps_ublox sim target 2016-02-03 23:45:39 +01:00
Felix Ruess e3e92dfaeb [modules] fix gps_ublox 2016-02-03 23:12:41 +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
Felix Ruess 1a475f1699 [simulator] remove jsbsim target
as it is a subset of NPS (when using JSBSim as FDM)
2015-03-02 17:30:53 +01:00
Felix Ruess c467b88db8 [modules] wrapper for ublox gps 2014-08-29 11:48:19 +02:00