Commit Graph

16652 Commits

Author SHA1 Message Date
Fabien-B 131215935f [GPIO] Put common GPIO function in gpio.h 2026-04-22 08:41:28 +02:00
Gautier Hattenberger 07b5404f4d [build] use lto=auto option to remove compilation warning (#3645)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
Merging, so CI test are not failing any more
2026-04-18 10:25:52 +02:00
Gautier Hattenberger 61bdcdf0c6 [build] remove example using gazebo (#3643)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
CI tests are currently not possible with our version of Gazebo.
See issue #3642
2026-04-17 00:26:16 +02:00
Fabien-B 16f9f764fc [uavcan] fix reporting warning (#3644) 2026-04-17 00:25:47 +02:00
Fabien-B ccb0c4f55b [build] update to pcre2 (#3637)
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
2026-04-15 23:19:11 +02:00
Gautier Hattenberger 7e4d65d7fb [docker] install python imp module (#3641)
From zombie package, needed by our current version of mavlink.
It is a workaround that could be removed if we manage to update mavlink,
now based on importlib rather than imp (removed in python 3.12).
2026-04-15 22:52:42 +02:00
Gautier Hattenberger eb6800f10d [docker] add correct gazebo version (#3640) 2026-04-15 20:14:47 +02:00
Fabien-B 0e68505ec8 [docker] Install curl (#3639)
Co-authored-by: Fabien-B <Fabien-B@github.com>
2026-04-15 19:20:42 +02:00
Gautier Hattenberger e9cabf45f3 [docker] update ubuntu version to 24.04 (#3638) 2026-04-15 13:08:55 +02:00
Mael FEURGARD 14dc9f36bd Gtk to pyqt : Add alternatives to deprecated GTK GUI elements (#3356)
* add started setting to the module, to be set by gcs setting panel or flight plan

* Added a Gaia widget based on PyQt5

* Added new Messages GUI

* Revert "Added new Messages GUI"

This reverts commit 311b31cd11.

* New Messages GUI scripts

* Silenced notification and handle changed size dict Error msg

* Added a Gaia widget based on PyQt5

* Added new Messages GUI

* Revert "Added new Messages GUI"

This reverts commit 311b31cd11.

* New Messages GUI scripts

* Silenced notification and handle changed size dict Error msg

* Revert "Merge remote-tracking branch 'refs/remotes/origin/gtk_to_pyqt' into gtk_to_pyqt"

This reverts commit 8b7d4cc46c, reversing
changes made to ba21ff3516.

* update pprzlink

* add new gaia as a tool

* add pprz_home to path

* Gaia fix: Wind dial has North up

* Gaia fix: North on wind dial should be up

* restore submodules from master

* fix wind direction, try to set a fixed color for dial button

* Use Custom-made arrow for wind selection in Gaia

* Added ASCII art comment for arrow

* Removed redundant signal emition (improved performances by x2)

* Pin message is now truly hidden until a pin is active.

* fix ref

* Updated pprzlink (Cython gen fix)

* Use paparazzi/paparazzi/master pprzlink version

* Removed redundant plotting scripts

* Added 'main' function to 'messages.py' (useful for profiling)

---------

Co-authored-by: amtcvx <xp31@free.fr>
Co-authored-by: Mael FEURGARD <mael.feurgard@laas.fr>
Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2026-04-15 12:58:51 +02:00
alexandre bustico 6cf27208f3 [chibios] Features/chibios 2026 resync (#3628)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* chibios: update submodule to stable_21.11.x and sync HAL config

Switch the ChibiOS submodule to the upstream stable_21.11.x branch,
update the submodule URL, and adjust the Paparazzi ChibiOS config files
to match the newer HAL layout.

This commit is intentionally limited to the submodule/config update and is
known to leave Paparazzi in a non-building state until the follow-up RTOS
monitor compatibility fix lands.

* rtos_mon: fix ChibiOS 21.11 build break and sample CPU load by interval

Update the RTOS monitor to use the current ChibiOS kernel statistics API,
fix the thread bookkeeping regressions introduced by the submodule update,
and compute CPU/thread load from deltas between monitoring samples instead
of lifetime cumulative counters.

This restores compilation of rtos_mon_arch.c with the updated ChibiOS tree
and makes the reported CPU load reliable over the reporting window.

* chibios: enable BDMA for H7 ADC3

Configure ADC3 on STM32H7 to use the BDMA path expected by the
updated ChibiOS ADCv4 driver, and provide the companion DMA/BDMA
stream definitions used by the new configuration checks.

This fixes H7 builds that fail with STM32_ADC_ADC3_DMA_STREAM being
referenced while ADC3 is intended to run on BDMA.

* rtos_mon: use the ChibiOS 21.11 core memory API

Adjust rtos_mon_arch.c to the current chCoreGetStatusX() API, which now
returns the amount of free core memory directly instead of filling a
memory_area_t structure.

This fixes the remaining build break in the RTOS monitor with the updated
ChibiOS tree.

* tawaki: enable BDMA for H7 ADC3

Mirror the H7 ADC3 configuration fix in the Tawaki board mcuconf so the
updated ChibiOS ADCv4 driver takes the ADC3 BDMA path expected on STM32H7.

* shell: fix ChibiOS 21.11 core memory query API

* matek: enable BDMA for H7 ADC3

* chibios: include newlib syscall bindings

* can: use ChibiOS 21.11 FDCAN defaults and API

* chibios: restore submodule URL to paparazzi fork
2026-04-14 10:47:31 +02:00
Gautier Hattenberger 879c971eb0 Digital cam pwm trigger (#3636)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* [gps] send NMEA frames to external sensors
* [digital_cam] add pwm trigger module
2026-04-13 10:02:14 +02:00
Gautier Hattenberger eaeee4879a [logger] fix include and add compilation test to logger utils (#3635)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2026-04-12 18:33:16 +02:00
Christophe De Wagter cf7c8b3797 MAVLab Course2026 Updates (p1) (#3632)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* updated distance measurement script.
- automatically shows which ids are available
- filter out big jumps
- plot_summary.py shows distance over time with recording regions

* Adding config file for radiomaster pocket joystick ble/usb (#108)

* added radiomaster tx16s xml (#123)

Co-authored-by: Wiebe van der Knaap <wkvanderknaap@tudelft.nl>

* Fix joystick device argument parsed as single token in control panel sessions (#118)

The `-d 0` joystick device flag was passed as a single `flag` attribute,
causing the joystick program to receive it as one token instead of two
separate arguments. This prevented the device number from being recognized,
breaking joystick input in the Simulation - Gazebo and Flight UDP sessions.

Fixed by splitting into `<arg flag="-d" constant="0"/>`.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* fixed names of variables and resolution bugs, added documentation (#113)

Co-authored-by: macoman <macoman@student.tudelft.nl>

* Update Gazebo Models: Gate, Plants, Logo

* Added some (math) tests (#114)

* added a test for paparazzi's math librarie's int sqrt function and int quaternion normalization function
* Keep essential tests

Reduced the number of tests planned from 9 to 6 and removed tests for int32_sqrt.

---------

Co-authored-by: LSSchef <l.s.scheffer@student.tudelft.nl>
Co-authored-by: AniketBehura <aniketbehura1023@gmail.com>
Co-authored-by: diaa <D.abbasi@student.tudelft.nl>

* Feat: readme update for submodule installation (#115)

* feat: readme update for submodule installation

* Rename README to README.md

---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>

---------

Co-authored-by: robinferede <robinferede@tudelft.nl>
Co-authored-by: Robin Euger <robin.euger@gmail.com>
Co-authored-by: Wiebe van der Knaap <wkvanderknaap@tudelft.nl>
Co-authored-by: EAbbenhuis <113993394+EAbbenhuis@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Mihai Coman <127535163+miki133@users.noreply.github.com>
Co-authored-by: macoman <macoman@student.tudelft.nl>
Co-authored-by: Swayam Kuckreja <110131770+swayamkuckreja@users.noreply.github.com>
Co-authored-by: LSSchef <l.s.scheffer@student.tudelft.nl>
Co-authored-by: AniketBehura <aniketbehura1023@gmail.com>
Co-authored-by: diaa <D.abbasi@student.tudelft.nl>
Co-authored-by: Douwe-Rijs <Douwe@standofl.nl>
2026-04-09 15:37:28 +02:00
Gautier Hattenberger 84adc6f1e2 [link] only disable ACINFO with flag noac_info
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2026-04-08 10:26:56 +02:00
Gautier Hattenberger 850ebab9f7 [state] fix conversion error for LLA_F 2026-04-08 10:26:56 +02:00
Gautier Hattenberger 41b5c7ef82 [log] add logger_utils module
Definitions and tools to abstract ChibiOS/Linux logging.
Use with control effectiveness logger and traffic_info (adding logging
support).

fix alt scaling in ACINFO_LLA message
2026-04-08 10:26:56 +02:00
Gautier Hattenberger 345ae58312 [traffic] register ACINFO message for position broadcasting 2026-04-08 10:26:56 +02:00
Gautier Hattenberger 2cb12e1cf4 [ucenter] easier configuration flag to disable NMEA with ucenter module 2026-04-08 10:26:56 +02:00
Gautier Hattenberger a625c75e70 [fix] update EFF_MAT_STAB message error (#3633)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
abusing admin rules to fix master branch
2026-04-03 23:10:37 +02:00
Fabien-B 8217738ed4 [ahrs] Fix AHRS DCM course (#3630) 2026-04-03 16:23:19 +02:00
NoahWe 219363e102 [Rotwing] Changes to ground detect and add hx711 based strain gauges (#3616)
* changes to ground detect and hx711
* keep reverse thrust even if ground_detect cuts out e.g. during tip over
* force sensor struct
* update pprzlink
2026-04-03 10:08:58 +02:00
NoahWe 846989b2d2 filt yaw difference and ZXY order for quadplane guidance (#3624)
* filt yaw difference and ZXY order for quadplane guidance

* small fix

* fix yaw filt guidance quadplane
2026-03-31 15:48:11 +02:00
Gautier Hattenberger 68720b360d [ci] update OS type for semaphore to Ubuntu 24.04 (#3625) 2026-03-30 13:19:09 +02:00
NoahWe 0a5f36b207 [Rotwing] Adjust 25kg rotwing airspeed scales (#3623)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* rotwing7 airspeed scale

* fix ms45 scale for RW5 and RW6
2026-03-27 16:44:23 +01:00
Gautier Hattenberger de1b9f95a2 Protect env var reading and update packages first in install script
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
This is required for a fresh install with WSL2 on Windows
2026-03-22 19:40:37 +01:00
Gautier Hattenberger bbb6eda3c5 [gps] don't configure SBAS integrity flag with UBX ucenter
With this flag, only GPS with valid integrity data is used, which is
greatly limiting the number of satellites actually used, and a much
lower precision in the end.
2026-03-22 19:40:37 +01:00
Gautier Hattenberger 618355b9b7 [logger] adapt logger_control_effectiveness for linux based OS 2026-03-22 19:40:37 +01:00
Gautier Hattenberger 41572358f3 [bebop] send low level commands if INDI_COMMANDS is defined 2026-03-22 19:40:37 +01:00
Gautier Hattenberger a5e551d336 [rtcm] fix ID for message 1097 when registering (#3620)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
RTCM corrections 1097 (Galileo) were not sent correctly.
Also fix some comments.
2026-03-20 10:57:57 +01:00
Christophe De Wagter ff56b97d74 Fix bebop camera startup and view video with gstreamer (#3615)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* [conf] gstreamer instead of vlc
* Quickfix for now video

At first boot of a Bebop1, the camera did not work. Wait half a second more,  and the camera works now also at 1st boot time.

* OpenCV 4.10

---------

Co-authored-by: OpenUAS <OpenUAS@users.noreply.github.com>
2026-03-18 12:07:47 +01:00
Christophe De Wagter 29f001478a Fix accidentally reverting opencv in #3606 (#3618)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2026-03-17 14:14:23 +01:00
Gautier Hattenberger 68ea2b661e [wls] return when a solution is found instead to reach max iter (#3617)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
This bug is intruduced by #3320. Without the return, wls only ends after
reaching max_iter. In simulation, only 1 iteration is needed to reach a
solution in flight, while max iter is set to 10.

https://github.com/paparazzi/paparazzi/pull/3320/changes#diff-fd1514a7b2a74afb97095b63a4d2d7986c427e9d939db0a36eb68620d9e351c1R273
2026-03-17 10:00:43 +01:00
Christophe De Wagter bc6cac516f Install error colors and script updates (#3614)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* add colors and headers to installation scripts

* Try gazebo11 first, fall back to gazebo package if unavailable.
Show info message to user when fallback is triggered.

* Fix for install buttons.

* Fix: missing dronecan module on normal make, make clean unifiedmocap

---------

Co-authored-by: robinferede <robinferede@tudelft.nl>
2026-03-06 16:33:13 +01:00
Christophe De Wagter 15accba262 Fix ahrs_int_cmpl_quat in NPS simulation by updating state input filters in sim_overwrite_ahrs (#3611)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled
2026-03-05 11:19:28 +01:00
Christophe De Wagter 10040de4cd Docker image with tools for Gazebo classic and Bebop. (#3608)
Issues due date / Add labels to issues (push) Has been cancelled
Docker update / build_docker_image (push) Has been cancelled
Doxygen / build (push) Has been cancelled
* Docker to run Gazebo Simulation on  Ubuntu 24.04
* Add bebop compiler to docker image

---------

Co-authored-by: Aramov1 <acarmolopes@tudelft.nl>
2026-02-20 20:09:18 +01:00
Gautier Hattenberger 979c01cd7c [stabilization] set commands from indi actuators array (#3606)
Make it possible to set the command vector from the stabilization INDI controller, when STABILIZATION_INDI_COMMANDS array is defined. The benefit is a simpler configuration of the control_laws section of the airframe file when using INDI.
Be careful that with this, a "correct" failsafe_value is needed for the commands, since it is the value applied in KILL mode. Some special keywords (e.g. MOTOR_STOP) are added to help avoiding mistakes.

Backward compatible if STABILIZATION_INDI_COMMANDS is not defined.

- add example airframe
- add special names for command failsafe values:
  - MOTOR_STOP = MIN_PPRZ = -9600
  - MAX_PPRZ = 9600
  - MOTOR_IDLE = 0
2026-02-19 10:46:12 +01:00
Christophe De Wagter d13141477d Fix make test_all_confs (#3599)
* Hide 'no-overloaded-virtual' warnings inside JSBSim itself
* Cleanup link to non-existing
* Cleanup old airframes
* Fix: might be used uninitialized
* Fix MAVLink
* Cleanup
* DSDL compile error: new empy does not accept @)
2026-02-19 08:43:21 +01:00
Christophe De Wagter 4df9b5907b [tools] Add UnifiedMocapRouter (#3598)
* Replace NatNet with UnifiedMocapRouter
* Safeguard + install
* Remove warning in make clean
* Subproject update: readme about smaller install and make clean
2026-02-17 15:49:13 +01:00
Christophe De Wagter 2de3786485 [tools] Fix bebop upload on 24.04 (#3605) 2026-02-17 12:08:49 +01:00
Christophe De Wagter 0c37063570 [conf] TUDelft conf fixes. (#3604) 2026-02-17 11:47:50 +01:00
Christophe De Wagter a68739ea07 Fix python setup.py in venv (#3603) 2026-02-17 11:46:57 +01:00
Christophe De Wagter 5418f4ff3c Upgrade to OpenCV 4.10.0 for Bebop - Fix compiling on Ubuntu 22 and 24 (#3600)
* OpenCV 4.10.0 For Bebop on Ubuntu 22.04 and 24.04
2026-02-15 20:53:01 +01:00
NoahWe 760d17f081 [rotwing] 25kg updates (#3594)
* rotwing add flightplan defines and comment out fuelcell
* rotwing 25kg adjust battery defines and remote low batt standby from EHVB flight plan
* calibrated rotwing7 accelerometer
* accel calib rotwing5 and turn usb_serial off rotwing7
* rotwing6 accel calib
2026-02-15 17:34:24 +01:00
Christophe De Wagter f381fdf91a Add missing XCB for QT5 to install script. (#3595) 2026-02-14 11:41:17 +01:00
NoahWe 313b292a07 [rotwing] v3j and v3f repairs (#3591)
* adjust rotation mech endpoints

* fix tail config of elevator

* fix v3f tail
2026-02-12 15:20:49 +01:00
Christophe De Wagter 6a640bf84e Fix PPRZ Bebop Orange (#3592)
* Fixes from last year
* Remove old GCS
* FP cleanup
* Change AHRS to version that works with simulaton
* Install script updates: Gazebo packages moved
* Install New Gazebo
* Apply suggestion from @dewagter
* Apply suggestion from @dewagter
2026-02-12 13:55:06 +01:00
Gautier Hattenberger 5aa3d5f368 [gps] support rtcm message 1097 (Galileo) and other fixes (#3589)
- update airborne parsing
- update and factorize ground tool rtcm2ivy
- change offset type to uint16 to avoid overflow and garbage sending
  (it should have never worked!!!!!)
- fix packet size checks
2026-02-11 08:55:00 +01:00
Fabien-B d464df9ee4 Remove stm32 arch (#3586)
* remove stm32 arch

* remove libopencm3 and luftboot

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2026-02-10 23:02:53 +01:00
Fabien-B ea2f5e029e Remove old GCS and supervision. (#3587)
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
2026-02-08 10:58:53 +01:00