Commit Graph

16505 Commits

Author SHA1 Message Date
Christophe De Wagter 3f7bc48507 AHRS_DCM_FLOAT fix heading: export has 180deg error, du to sign error in correction, so the align is always 180deg wrong (#3470)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2025-06-17 22:21:06 +02:00
Gautier Hattenberger 6370ff488b [calib] implement the calibration button for mag_viewer (#3472)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2025-06-17 17:21:27 +02:00
Fabien-B ab21964c1a Mag viewer (#3465)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* [supervision] Add raw mag viewer tool

* [supervision] mag viewer improvements

* [supervision] organize utilities with tabs

* [supervision] MagViewer: do not normalize data, and adjust view size automatically

* [supervision] MagViewer: prepare calibration

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-06-16 13:01:03 +02:00
NoahWe 587b35eada [conf] TUDelft Remove duplicate define and remove accidentally added v3i-v3k airframes (#3469)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2025-06-16 12:00:29 +02:00
Gautier Hattenberger 65de23341e [build] fix compilation warnings and remove unused code (#3468)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
Some code from base64 module in ocaml is deprecated but is only used by
the outdated tool broadcaster. Better remove them.
2025-06-12 11:21:23 +02:00
OpenUAS 942efae9b0 Fix the warning for MilliAmpereOfAdc(adc) re-defined (#3467)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2025-06-09 16:21:53 +02:00
Gautier Hattenberger e7273bda38 [mission] add an option to skip the first GOTO in mission PATH (#3463)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
Going a GOTO can be problematic with hybrid aircraft when the flight
mode is different between a simple goto (hover) and a route (forward).
2025-06-04 22:42:30 +02:00
Gautier Hattenberger 06a0542090 [nav] add an option for takeoff height (#3462)
Add a parameter to the takeoff function to specify the height at which the takeoff is considered finished.
A negative value tells that the default value (configurable from airframe file) should be used.
Update demo FP
2025-06-04 22:41:41 +02:00
Gautier Hattenberger 12586a6811 [nav] navigation around poles for rotorcraft and hybrids (#3461)
Also support mission mode
2025-06-04 22:40:56 +02:00
Freek van Tienen 6b06dbfa3a [conf] Update rotating wing 25kg (#3455)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* [conf] Update rotating wing 25kg
* [conf] Add easystar 3
* [conf] Update rotating wing 25kg
* Fix ID's
* Less changes
* Test

---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
2025-06-03 13:25:15 +02:00
NoahWe 92531947d6 update jsbsim wmm (#3458)
Doxygen / build (push) Has been cancelled
Issues due date / Add labels to issues (push) Has been cancelled
2025-05-26 13:49:17 +02:00
Freek van Tienen 41af189540 [chibios] Fix SPI driver for STM32F7xx (#3457)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
Docker update / build_docker_image (push) Has been cancelled
2025-05-21 19:59:28 +02:00
OpenUAS b6d1ca99ab WMM module updated to 2025 data (#3456) 2025-05-20 18:26:22 +02:00
Jesús Bautista Villar 4ee8e5e1b9 [gvf] Refactor GVF module framework, add GVF_IK, fix bugs, and provide full example config (#3451) 2025-05-16 22:00:28 +02:00
NoahWe f19834aaa7 [rotwing] Fly back to standby in fixed wing. Gih add setters for max bank, climb, and descend speed (#3452)
Doxygen / build (push) Has been cancelled
Issues due date / Add labels to issues (push) Has been cancelled
2025-04-29 13:00:28 +02:00
NoahWe 4aa83b108f Rotorcraft static ap add option to use failsafe throttle setting (#3453) 2025-04-29 12:59:11 +02:00
Gautier Hattenberger c18137ac49 [airspeed] fix auto offset for SDP3X driver (#3448)
Doxygen / build (push) Waiting to run
Docker update / build_docker_image (push) Has been cancelled
2025-04-04 16:52:21 +02:00
Gautier Hattenberger 6f7342fdd8 [fix] utm coord was not initialized in landing module for FW (#3445)
Doxygen / build (push) Has been cancelled
Also
- kill throttle after landing
- add module takoff/land to demo mission flight plan
2025-04-01 18:39:10 +02:00
Florian Sansou 33ebce980a Add betafpv AIO and tmotor AIO (#3413)
Doxygen / build (push) Waiting to run
---------

Co-authored-by: Florian Sansou <florian.sansou@enac.fr>
2025-04-01 12:53:08 +02:00
Gautier Hattenberger 56a0f850e6 [ahrs] fix name of the setting handler to match the XML description (#3446) 2025-04-01 12:48:52 +02:00
Jesús Bautista Villar a7af05cc2f [ins] Properly initialize utm0 altitude in ins_alt_float (#3443)
Doxygen / build (push) Has been cancelled
2025-03-28 10:57:04 +01:00
Gautier Hattenberger 294baad643 [ext] test for em module needed by dronecan (#3444)
Doxygen / build (push) Has been cancelled
Docker update / build_docker_image (push) Has been cancelled
* [ext] test for em module needed by dronecan

- add empy and setuptools to requirements
- fix dep order for dronecan makefile

* fix type
2025-03-26 10:18:24 +01:00
Gautier Hattenberger 646a79795d [guided] rewrite guided mode example with a separated lib (#3442)
Doxygen / build (push) Has been cancelled
* [guided] rewrite guided mode example with a separated lib

* [Settings] Allows to set setting by name.

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-03-21 16:51:41 +01:00
Christophe De Wagter aa0863fd4f Airframe fixes TUD (#3438)
Doxygen / build (push) Has been cancelled
* Airframe fixes TUD

* Modes now set in control_loop.xml

* Fix all joysticks
2025-03-17 14:24:48 +01:00
Fabien-B 8cdcda4317 [doc] Update install instructions. (#3441)
Doxygen / build (push) Has been cancelled
2025-03-14 22:32:28 +01:00
Fabien-B 5facb3c93b [doc] mission mode (#3439)
Doxygen / build (push) Waiting to run
* [doc] Mission mode documentation.
Still missing custom patterns.

* fix typos

* [doc] add mission mode illustration

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-03-14 13:12:34 +01:00
Fabien-B 776a22f459 Uavcan update (#3424)
Doxygen / build (push) Waiting to run
* [uavcan] Start updating UAVCAN to latest version.
Now renamed DroneCAN.

* [uavcan] Update airspeed.

* [uavcan] Update power.

* [uavcan] Update range sensor.

* [uavcan] WIP actuators.

* [dronecan] Fix makefile for new installations

- The Makefile doesn't execute the .sync .update when added to the .PHONY section
- The DSDL folder doesn't exist before the .sync .update of the DSDL

* [can] Add documentation for USE_CANx define and fix dronecan

* [dronecan] Update actuators

* [dronecan] Cleanup actuator feedback

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2025-03-13 10:23:13 +01:00
Gautier Hattenberger 27860ffa49 [generator] add global node for selection of modes in gen_autopilot (#3436)
With this, the previous behavior of using macros in airframe file can be used to select the modes.
Update rotorcraft autopilot file accordingly.
2025-03-10 16:48:17 +01:00
Gautier Hattenberger 1e50fb70ce [state] fix bug when checking if airspeed is valid (#3434)
Doxygen / build (push) Has been cancelled
Docker update / build_docker_image (push) Has been cancelled
Issues due date / Add labels to issues (push) Has been cancelled
It is currently clearing the flags instead of checking them.
Also remove the direct airspeed update from NPS, use ABI message only.
2025-02-21 01:13:25 +01:00
Fabien-B f16318992e SLCAN bridge (#3433)
Doxygen / build (push) Waiting to run
Add CAN over Serial Link bridge.
Allows to use DroneCAN GUI Tool to monitor all DroneCAN devices on the bus through the autopilot.

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-02-20 10:24:25 +01:00
Fabien-B fda93554d6 CAN abstraction (#3430)
Doxygen / build (push) Has been cancelled
---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-02-14 09:09:11 +01:00
Gautier Hattenberger 980e52eecf [autopilot] fix parsing of modules in generated AP files (#3432)
Doxygen / build (push) Waiting to run
2025-02-13 13:57:49 +01:00
Fabien-B d97533b353 [Flightplan lib] Retrieve flight plan over http if needed. (#3431)
Doxygen / build (push) Waiting to run
Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-02-12 18:07:51 +01:00
Reinier Zwikker 899bb15636 Fixed linking issue by removing '#define NAV_C' from orange_avoider module code (#3429)
Doxygen / build (push) Has been cancelled
2025-02-07 08:50:52 +01:00
Fabien-B 8944fdc176 [I2C] Fix bug introduced in #3426. (#3427)
Manifesting if no I2C is used.

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-02-06 10:27:47 +01:00
Florian Sansou aadd2a5c01 [doc] Update paparazzicenter doc and add airframe doc. (#3398)
* Update paparazzicenter doc and add airframe doc.
* remove empty files.

---------

Co-authored-by: Fabien-B <fabien.bonneval@gmail.com>
Co-authored-by: Florian Sansou <florian.sansou@enac.fr>
2025-02-03 14:11:12 +01:00
Fabien-B 02b08b08c4 Threads abstraction (#3423)
* Threads and synchronization abstractions for paparazzi.
* Test module for the threads abstraction.
* Replace old mutexes by the new ones.

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-02-03 14:05:16 +01:00
Fabien-B e851238972 [UART & I2C] factorize error telemetry functions. (#3426)
* [UART & I2C] factorize error telemetry functions.

* Fix test

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-02-03 11:09:12 +01:00
Gautier Hattenberger ca92171aec [autopilot] call the set_mode function at startup (#3425) 2025-02-03 11:07:18 +01:00
Gautier Hattenberger c1fffe906a [build] check gnomecanvas package before compiling legacy GCS (#3422)
Doxygen / build (push) Has been cancelled
Docker update / build_docker_image (push) Has been cancelled
This module is not supported with the custon lablgtk2 for 24.04
2025-01-22 18:20:06 +01:00
Gautier Hattenberger cdae9fa77b [makefile] don't build mavlink if required packages are missing (#3421)
This is a temporary measure to compile or not on ubuntu 24.04 until the
mavlink submodule is updated and integrate the required adaption to cope
with deprecated packages
2025-01-22 17:46:12 +01:00
NoahWe d669809239 [rotwing] Re-add gps fusion mode and sdlog preflight error (#3416) 2025-01-17 10:21:15 +01:00
Gautier Hattenberger d2c88765a9 [ins] fix reset_ref for ins_alt and fixedwing nav (#3420) 2025-01-15 23:16:40 +01:00
Fabien-B 1a93fdeaad [TawakiV2] Add UART4 on AUX_A1/A2 (#3418)
Doxygen / build (push) Has been cancelled
Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-01-06 15:42:47 +01:00
Florian Sansou 10dab31174 Start of documentation for adding boards (#3395)
Doxygen / build (push) Waiting to run
* Start of documentation for adding boards

* Update path

* Add information to common_board.h

---------

Co-authored-by: Florian Sansou <florian.sansou@enac.fr>
2025-01-06 13:09:14 +01:00
Freek van Tienen 31b84454c2 [gps] Move GPS relative position to ABI message (#3410)
Doxygen / build (push) Has been cancelled
2024-12-05 14:01:27 +01:00
Gautier Hattenberger dfd8e93927 State interface input filter (#3409)
* [generator] generate unique ID and names table for modules
* [state] add accessors for the state origin
* [state] don't access directly to state origin, use getters
* [state] filter inputs with module ID
* [ahrs] convert AHRS modules to state input filter
- selection of ahrs with settings from each module
- init functions for each ahrs modules
- remove old chimu
* update unit test
* [ins] decoupled INS implementation
To allow multiple INS at the same time:
- remove weak functions from ins.c
- remove the INS_TYPE_H define
- use ABI message to trigger INS reset
* [state] protect for c++
2024-12-03 22:34:27 +01:00
Gautier Hattenberger 32b0dc6944 Add new shell commands (sys_time and imu) (#3411)
* [shell] add imu shell command

read current config and values of IMUs from shell

* [shell] add a sys_time shell command

read current sys_time and registered timers
2024-11-27 15:30:39 +01:00
Gautier Hattenberger ec2b5cb17b [module] fix tests of baro bmp280 module (#3414) 2024-11-27 15:24:09 +01:00
Florian Sansou 6de702a144 Driver for MPU6500, HMC59xx and BMP280 (#3406)
* Enables MPU6500 with MPU60x0 spi driver, adds hmc59xx and enables BMP280 SPI and I2C

---------

Co-authored-by: Florian Sansou <florian.sansou@enac.fr>
2024-11-25 22:53:33 +01:00