Commit Graph
7406 Commits
Author SHA1 Message Date
NoahWe e42a7ef901 [rotwing] V3B Delivery (#3449)
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-BandFabien-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-BandFabien-B <Fabien-B@github.com>. 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)
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)
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-BandFabien-B b706cebb5a [mag] add UAVCAN mag module (#3514)
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)
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-BandFabien-B 9c2206f6a4 [can fuelcell] use DSDL definition (#3505)
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)
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)
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)
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)
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)
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
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)
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-BandFabien-B 982c6947a3 Threads I2C and SPI (#3471)
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-BandFabien-B 486ae432e1 [uavcan] Use CAN abstraction (#3440)
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)
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
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 TienenandChristophe De Wagter 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
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 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 SansouandFlorian 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
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
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
Fabien-BandFabien-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-BandFabien-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
Fabien-BandFabien-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-BandFabien-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
NoahWe d669809239 [rotwing] Re-add gps fusion mode and sdlog preflight error (#3416) 2025-01-17 10:21:15 +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 ec2b5cb17b [module] fix tests of baro bmp280 module (#3414) 2024-11-27 15:24:09 +01:00
Florian SansouandFlorian 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
Gautier Hattenberger 45abdefc86 [sonar] protect sonar reading by mutex for bebop (#3408)
Both ABI and telemetry messages are not thread-safe and should be
protected by mutex.
Simulation of sonar is handled by NPS.
2024-11-08 15:06:31 +01:00
Tomaso Maria Luigi De Ponti 67edd8ab68 Oneloop Controller updates (#3405) 2024-11-01 17:58:50 +01:00
NoahWe 1f08f638ce [rotwing] Smalle fixes (#3404)
* small changes

* increase eff scheduling freq to 500Hz

* remove freq from eff sched xml

* fix mistake
2024-10-31 09:39:54 +01:00
Tomaso Maria Luigi De Ponti 655a496f7e [rotwing] Update state machine (#3397)
* first push

* starting to fix make modules

* Fixed test modules

* Update flight plan valkenburgh

* fix define
2024-10-30 16:47:21 +01:00
Tomaso Maria Luigi De Ponti 249c0285b6 Rotwing Demo (#3396)
* First push

* clean up and frequency adjustment
2024-10-18 19:39:31 +02:00