7432 Commits

Author SHA1 Message Date
Fabien-B
ffaef0e684 Remove stm32 boards (#3585)
Some checks failed
Doxygen / build (push) Waiting to run
Issues due date / Add labels to issues (push) Has been cancelled
- Remove boards using the stm32 arch, deprecated in favour of ChibiOS.
- Remove the airframe and aircrafts depending on these boards.
2026-02-04 23:21:41 +01:00
Fabien-B
8fea57904b [boards] remove Apogee with bare metal arch. (#3583)
Co-authored-by: Fabien-B <Fabien-B@github.com>
2026-02-03 12:53:19 +01:00
Fabien-B
616ee240a6 [dac] remove DAC 2026-02-03 11:31:59 +01:00
Gautier Hattenberger
37a86bb389 [indi] rewrite indi stabilization and guidance for modularity (#3565)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
This PR allows to redefine the outer-loop for stabilization and
guidance, and to specify the guidance model for something else than a
quarotor (but still not an hybrid).
Two use case are proposed:
- replace the PD control of the outer-loop (still used by default) by
  and Hinfinity controller
- parametrize the guidance for an hexa-copter with tilted motors,
  allowing to produce side force for lateral motion control.
2026-02-02 18:41:03 +01:00
Fabien-B
06a7cde92e Uavcan update (#3579)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* Make UAVCAN arch independant
* Comply with uavcan info requests
* Comply with uavcan transfer_ids specifications
* Add uavcan dynamic node id allocation server
* Add uavcan tunnel device
* Add uavcan RC input
* Use uavcan semaphores to achieve thread safety
* Add key-value store
* Various tweaks to make everything work...
2026-01-30 13:10:54 +01:00
Ewoud Smeur
f5a643faf3 bebop2 airframe file tudelft (#3576)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2026-01-09 10:47:10 +01:00
Gautier Hattenberger
4560320201 [stab] scale integrator value with control frequency (#3571)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
- gains should not depend on frequency
- tune values accordingly for Ranger VTOL
2025-12-19 22:54:57 +01:00
Fabien-B
b7ed10502d rename circular_buffer to framed_ring_buffer (#3570)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-12-08 11:20:41 +01:00
OpenUAS
19b579c0d2 Better compatibillity with old airframes (#3567)
Some checks failed
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-11-26 22:31:59 +01:00
Gautier Hattenberger
5cda539646 [actuator] change configuration of actuators (#3548)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* [actuator] change configuration of actuators

- add a configuration structure to the actuators array
- limit the use of macros
- add a shell command to get and set actuator value
- update config for all boards

* fix actuator faulhaber for NPS

* add missing file in actuators nps
2025-11-25 16:58:44 +01:00
OpenUAS
c0416dfcbc Added noisy ADC filter option and other improvments (#3542)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* Added noisy ADC filter option and other improvments

* Changes add as requested in PR
2025-11-20 07:53:15 +01:00
OpenUAS
9f2062bbfc Added and option to get flyble values out of this old ETS sensor (#3534)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* Added and option to get flyble values out of the old sensor with decent filtering

* Extended the test block in module XML
2025-11-17 22:40:10 +01:00
Gautier Hattenberger
b2a1859cf6 [actuators] compute the real RPM from electrical RPM from DSHOT telemetry (#3564)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
Configured with the number of poles (default 14, which is common for
most motors).
The update of RPM and other parameters is done in the actuators commit
function to have the fastest rate, instead of being done in the ESC
message send function.
2025-11-17 17:57:18 +01:00
OpenUAS
3397687f3a Add support for Mateksys H743Wing v3 FC (#3552)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* Add support for Mateksys H743Wing v3 FC

* Added example AC for FC
2025-11-12 10:36:20 +01:00
Christophe De Wagter
86223094c2 Corax - Baby Wing AR Pro - Minimal size maximal endurance - IMAV2025 (#3561)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* Corax

* updated gains during competition

* Correct Flightplan

* Remove imav2025.xml flight plan and replace with basic.xml (#3562)

* Initial plan

* Remove imav2025.xml and replace references with basic.xml

Co-authored-by: dewagter <490108+dewagter@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: dewagter <490108+dewagter@users.noreply.github.com>

* Cleanup some comments

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: dewagter <490108+dewagter@users.noreply.github.com>
2025-11-09 11:33:42 +01:00
Christophe De Wagter
1240c3f8fd Disco - Mapping - IMAV2025 (#3560)
* IMAV2025 - Mapping

* Up the resolution to 320x240

* Fix unused
2025-11-09 10:23:32 +01:00
NoahWe
fa42bba3b5 [ekf2] Changes to mag fusion (#3557)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* ekf2 fuse mag changes

* remove ekf2 mag fusion type
2025-11-05 11:28:36 +01:00
Gautier Hattenberger
4ac6279aa9 Fix compilation tests (#3550)
Some checks failed
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
* [fix] fix some bugs

small errors from compilation tests

* Attempt to fix the detection of failing tests

Side effect: the file issues.md is not produced anymore, but still available in stdout, so needs a manual copy if needed
2025-10-20 16:57:24 +02:00
OpenUAS
b4ba0dac47 T4 actuators and T4 AOA now usable in Paparazzi master (#3401)
Some checks failed
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
Gautier Hattenberger
41048101d0 [rover] improve support for ROVER firmware (#3530)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
- possibility to use basic PID with steering rover
- fix navigation
- add support for mission mode
- fix simulator (orientation was wrong, leading to opposite steering
  between sim and reality)
- add support of 2 wheels rover in simulation
- add and update config files
2025-09-30 08:54:06 +02:00
OpenUAS
e9a8673f97 Add new support for common sonar sensors on I2C (#3540)
Some checks failed
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-09-22 22:22:24 +02:00
Gautier Hattenberger
528f9a5ade [cam_gimbal] rewrite the pan/tilt control module (#3538)
- generic pan/tilt gimbal control with several builtin modes
- gimbal position and orientation configurable
- specialization possible for gimbals not matching the default scheme
  (with an example using the Caddx GM3 3 axis gimbal)
- remove all the old unused code using gimbal control
2025-09-17 16:55:30 +02:00
OpenUAS
15ab112b9c Improved OUAS default 16CH MX22 radio config, labels for on simulated RC GUI re-added (#3533)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2025-09-02 17:49:23 +02:00
Gautier Hattenberger
692de3f879 [traffic] support GPS_INT message for air-to-air traffic info (#3529)
- parse GPS_INT message
- don't update info on older messages based on gps tow
2025-09-01 14:54:18 +02:00
Fabien-B
daf09b7bd0 [gps] Add uavcan.equipment.gnss.Fix2 support. (#3516)
Some checks failed
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-08-29 14:03:36 +02:00
Gautier Hattenberger
8900f6e47f [pprzlink] fix pprzlink proxy and add it as a tool (#3526)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
also update pprzlink
2025-08-28 22:33:50 +02:00
NoahWe
e42a7ef901 [rotwing] V3B Delivery (#3449)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* rebase with master

* undo double define during rebase

* revert eff sched changes
2025-08-15 16:00:32 +02:00
Fabien-B
c86ab15f0c [uavcan] buffer tx messages in FIFO (#3513)
* [uavcan] buffer tx messages in FIFO

* [uavcan] remove weird check

* [uavcan] Fix message reception

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-08-15 15:49:41 +02:00
Fabien-B
a05854c3b3 [test] improve module tests (#3517)
Co-authored-by: Fabien-B <Fabien-B@github.com>.
2025-08-15 15:48:51 +02:00
lthoma5
af2be6f092 [imu/board] Add support for ICM45686 and LTS release of the Cube Orange+ (#3519)
* Add invensense3_456 driver for ICM45686 IMU

* Add support for 9th SPI slave

* Add SPI_SLAVE9 with PG01 as Chip Select on Cube Orange

Used in the Cube Orange Plus LTS / "shiny" release for the non-isolated IMU (on SPI bus 1)

* Add cube_orangeplus_lts board with new ICM45686 IMUs
2025-08-15 15:35:06 +02:00
OpenUAS
e018eeed47 Fix state wrecking RM3100 mag spikes (#3522) 2025-08-15 15:32:23 +02:00
Christophe De Wagter
6e83bb634c Disable GPS_Fix for a given number of seconds (#3479)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* Disable GPS_Fix for a given number of seconds in ABI messages for testing purposes.

* Add protection to by default not allow disabling GPS

* Add example

* Covert into TRUE/FALSE since the define in seconds is not used.
2025-08-14 14:21:32 +02:00
Alejandro Rochas Fernández
4e7259a17f Add Bayesian Obstacle Grid Mapping with TFmini Lidar Support and Simulation (#3510)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2025-08-07 23:17:19 +02:00
Fabien-B
b706cebb5a [mag] add UAVCAN mag module (#3514)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-08-01 10:46:43 +02:00
Gautier Hattenberger
27e59d9db5 [guided] support full ref update in guided mode (#3502)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
New message can set position, speed, acceleration and heading setpoint
for an accurate trajectory tracking.

Also fix the update of ref when h_ref is disabled.
2025-07-21 16:21:44 +02:00
Fabien-B
9c2206f6a4 [can fuelcell] use DSDL definition (#3505)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-07-16 10:18:57 +02:00
Christophe De Wagter
0d9a3a1402 Wait for shaking to take-off (#3487)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* Wait for shaking to take-off
* Update sw/airborne/modules/nav/nav_shakestart.c
* Use Shake-Start in Flightplan
* Remove disable-GPS, ahrsAligned, DSM_On/Off, Wind
* fix make tests
2025-07-07 10:15:56 +02:00
Christophe De Wagter
834a420e9c Current compensation code is removed so these defines don't do anything anymore. (#3496)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2025-07-03 22:43:58 +02:00
NoahWe
8511252b9b [rotwing] TU Delft new and repaired airframes (#3450)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* rotwing airframe files v3i-k and conf
update repaired rotwing drones v3d an v3e
turn calc asml baro to true for all rotwing airframes

* remove old magneto calib v3d and v3e

* v3e flown in VB

* update imu filter v3i and v3j

turn off highspeed logging imu

calib all accelero on v3j

add all 3 imu filters v3j

* v3d all imu calibrations

v3d magneto calib

* turn off pfc debug, rotwing put air_data defines in common airframe file

* add magneto rotation for i,j,d

* merge with master

* rotwing airframe files v3i-k and conf
update repaired rotwing drones v3d an v3e
turn calc asml baro to true for all rotwing airframes

* try cube imu 1 on v3d

* pull some things from v3b

* small change in rotwing liftd eff scheduling

* re-do v3j magneto calibration

* v3e magneto rotation

* fix consistency of defines

* revert changes eff scheduling

* make compatible with rebase
2025-07-03 17:47:08 +02:00
NoahWe
03c2547a34 [rotwing] make setup for demo's simpler (#3475)
* rotwing demo module and remove rotwing effectiveness RC switch

* fix small mistake

* fix small logic error

* fix RC switch range

* make skew values customizable

* small cleanup

* remove rotwing_demo module and replace by flight plan WIP

* rotwing move some settings back to individual airframes

* some changes

* choose a different ac id for demo drone
2025-07-03 17:15:09 +02:00
NoahWe
07558af7a2 Airspeed consistency check with onboard wind estimation (#3478)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* initial commit airspeed consistency check module
* small edit
* address comments
* use INFO_MSG for airspeed consistency module
2025-07-01 10:07:35 +02:00
Christophe De Wagter
b7aad07a04 Activate barometric altitude in fixedwing Disco (#3480)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* Activate barometric altitude in fixedwing Disco

* Define not in NPS

* Replaced board by sensor driver...

* Fix with drone

* MAG Feedback in AHRS_DSM_FLOAT tested extensively.
2025-06-27 18:11:54 +02:00
Fabien-B
4df4c8436b Imu scale float (#3477)
* [imu] Use floats for scaling

* [imu] default scales float

* [imu] update comments

* Fix print function

* [imu] fix calibration

* [imu] calibration in float

* [imu] remove old calibration generation.
compilation error if IMU_IMU_ACCEL_CALIB is defined.

* remove static operations

Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>

* clarify scales

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2025-06-25 13:27:53 +02:00
Christophe De Wagter
993198a418 Disable power-down interupt in SD-logger code (#3481) 2025-06-25 12:37:49 +02:00
Christophe De Wagter
e34b42cd7f Fixedwing updates: Calibrate MAG, replay SD-log, Set WP (#3486) 2025-06-25 12:36:48 +02:00
Gautier Hattenberger
4b6c185516 [hybrid] add basic support for Heewing T1 Ranger VTOL (#3464)
Some checks failed
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
The Ranger T1 is a tilt-rotor hybrid plane. As a first basic approach,
two separated controls are used for hovering (INDI) and forward flight
(PID). The mixing is done by a dedicated module and the autopilot is
customized to support the specific modes.
A simple PID controller is added to the rotorcraft firmware as it is not
possible to directly reuse the one from fixedwing firmware.
In a future work, a full INDI version might be used, but this approach
can still serves as an example of customized autopilot.
A simulation model for JSBSim is also provided.
2025-06-24 15:02:36 +02:00
Fabien-B
982c6947a3 Threads I2C and SPI (#3471)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* [threads] Add binary semaphore timeout wait.

* [i2c] Update blocking functions to be RTOS aware.

* [SHT25] Refactor SHT25 driver as threaded I2C example.

* [spi] Update blocking function to be RTOS aware.

* [AMT22] add AMT22 driver using SPI blocking mode.

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-06-23 20:08:33 +02:00
Fabien-B
486ae432e1 [uavcan] Use CAN abstraction (#3440)
Some checks failed
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* [CAN] timestamp in us, and fix typo

* [uavcan] Use CAN abstraction

* [CAN] Add missing can2.

* [WIP] CAN error handling

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2025-06-23 15:02:17 +02:00
NoahWe
587b35eada [conf] TUDelft Remove duplicate define and remove accidentally added v3i-v3k airframes (#3469)
Some checks failed
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
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