Commit Graph

16652 Commits

Author SHA1 Message Date
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
Ewoud Smeur bdad22ca96 put max decel calc in function to be used in route as well (#3400) 2024-10-23 10:08:03 +02: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
Tomaso Maria Luigi De Ponti 5ae4fd913f Changes to Rotwing 7kg simulator and Actuator dynamics (#3394)
* First push

* More airframes adapted
2024-10-15 13:55:50 +02:00
Fabien-B 32074c9333 Python virtual environment (#3305)
* [python] setup venv and update pprzlink.
* [supervision] open terminal in the venv if it exists.
* clean setup.py
* guard venv boostrap
* [install] Use distro instead of lsb_release.

---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
2024-10-14 15:02:21 +02:00
Christophe De Wagter de12803ee2 [rotwing] Import rotwing changes after Droneport (#3391)
* Import rotwing changes after Droneport

* fix style
2024-10-07 14:24:04 +02:00
Christophe De Wagter 70bcbca557 remove warning (#3390) 2024-10-07 13:28:36 +02:00
Gautier Hattenberger ade23ab09c [flight plan] add a max_speed attribute to fp instruction (#3387)
This is only for the rotorcraft firmware at the moment, and it is
replacing the explicit call to guidance_h_SetMaxSpeed to simplify the
flight plans.
2024-10-04 08:53:30 +02:00
Gautier Hattenberger cea5c644e5 [flight plan] add on_enter and on_exit functions for nav block (#3385)
The functions passed to the attributes 'on_enter' and 'on_exit' will be
called once every time the flight plan state machine enters or leaves a
block, even if the block change is requested by the operator or if it is
caused by an exception.
It allows to properly activate and then disable services related to a
specific block.
Another good side effect is that the block and stage index are now
private and can't be modified by external modules. Old variables
nav_block and nav_stage can still be used as read-only.

Based on the work from:
Baptiste Pollien, Christophe Garion, Gautier Hattenberger, Pierre Roux, Xavier Thirioux.
A Verified UAV Flight Plan Generator. 2023 IEEE/ACM 11th International Conference on Formal Methods in Software Engineering (FormaliSE),
May 2023, Melbourne, Australia. pp.130-140, 10.1109/FormaliSE58978.2023.00021
2024-10-04 08:52:57 +02:00
Christophe De Wagter d7c50a262b Fix Python tools - file name consistency - compile master without warnings - airframe fix (#3388) 2024-10-04 08:51:01 +02:00
Christophe De Wagter fa1eeeb98f pprz_link for #3374 2024-10-03 14:08:35 +02:00
Christophe De Wagter 4e98f10f67 Rotwing control update made compatible with master (#3374) 2024-10-03 13:55:33 +02:00
Christophe De Wagter 0abafed245 Fix more airframes (#3384)
* rotwing_automation was removed
* GVF was missing and gave compile warnings
* INS_EXT_VISION_ROTATION define is in airframe, not genertic define
* rename rot_wing also in conf
* Oneloop controller does not export specific thrust
* Missing conf file
* rotwing_vis_transition removed
* Missing airframe
2024-10-02 15:08:15 +02:00
Christophe De Wagter b7b64d4f44 [uavcan] actuators - fix (#3377)
* Revert "RunOnceEvery instead of counter"

This reverts commit 4601b2010e.

* Revert "Revert "RunOnceEvery instead of counter""

This reverts commit d1cf1de2d1.

* Move to headers
2024-10-02 11:11:16 +02:00
Christophe De Wagter 903b4897f8 Fix airframes in master (#3380)
* Nederdrone fixes

* fix automation
2024-10-02 09:59:07 +02:00
Tomaso Maria Luigi De Ponti 5fce15418b RotWing Demo (#3382) 2024-10-01 15:29:41 +02:00
Tomaso Maria Luigi De Ponti 0bb47009b3 Updates of Oneloop Controller (#3381) 2024-10-01 15:28:18 +02:00
Tomaso Maria Luigi De Ponti 77b0daffd4 Some changes to NAV Hybrid (#3335)
* first push

* Addressed the comments

* address comments

* Correct prefix and variable name

* make radius circle limiting optional

* first push

* Addressed the comments

* address comments

* Correct prefix and variable name

* make radius circle limiting optional

* Added soft acceleration limit

* Remove nav goto where not used. Added logic for minimum no-transition distance. Code clean-up.

* Add possibility to force max goto speed if needed

* Removed nav_goto_max_speed
2024-10-01 13:13:33 +02:00
Christophe De Wagter 5a45a6158d Update ground detect (#3365) 2024-10-01 12:56:08 +02:00
Christophe De Wagter 02d93d9bc9 mavlink update (#3369)
* mavlink

* Cleanup

* Use mavlink
2024-10-01 11:28:16 +02:00
Christophe De Wagter 91e4c4b0a0 [rotwing] update simulator models (#3375)
* [rotwing] update simulator models

* revert
2024-10-01 11:07:59 +02:00
Christophe De Wagter b7e9a97196 Fuel-Cell Monitoring over CAN (#3359)
* Fuel-Cell Monitoring over CAN

use in airframe

correct messages

* Missing telemetry
2024-10-01 08:17:16 +02:00
Christophe De Wagter 347676ff39 remove rot_wing_automation module (#3373)
Co-authored-by: Ewoud Smeur <e.j.j.smeur@tudelft.nl>
2024-09-29 09:06:38 +02:00
Christophe De Wagter 4f1bd75203 [tests] Fix printing summary after testing confs (#3371) 2024-09-28 23:15:12 +02:00
Gautier Hattenberger 51e43fb67d Collection of changes after IMAV2024 (#3370)
- update airframe and add competition flight plans
- fix flight plan DTD
- mag params for Bristol
- add a set_expo function (might be weak) for digital cam driver
- fix tag tracking for simulation, add getter functions
- add option to skip initial circle in nav survey
- fix jevois driver parsing
2024-09-28 14:54:49 +02:00
Christophe De Wagter 7ac367b77c UAVCAN actuator update (#3367)
* UAVCAN actuator update

* RunOnceEvery instead of counter
2024-09-28 14:53:28 +02:00
Christophe De Wagter 7da8daf6e2 [rotwing] Rename to make name consistent (#3366)
* Make naming consistent rotwing

* Fixes

* more files

* fix conf

* revert

* update

* double id's

* Missed a file

* missing renames

---------

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2024-09-27 16:43:02 +02:00
Christophe De Wagter c5b9678d77 Airspeed Filtering (#3360)
* Airspeed Filtering

* Change to handler function
2024-09-27 16:18:14 +02:00
Christophe De Wagter c5316c14fb Power UAV-CAN (#3361)
* Power UAV-CAN

* pprzlink
2024-09-27 15:40:35 +02:00
Christophe De Wagter 4d50e8d61c PFC 2024-09-27 09:57:27 +01:00
Christophe De Wagter 5369e4ab0a Actuator Faulhaber Update (#3358)
* Actuator Faulhaber Update

* Fix <test>

* fix uart
2024-09-25 20:46:02 +02:00
Christophe De Wagter e63b7fda6f update airframe files removing useless defines (#3357)
Co-authored-by: Ewoud Smeur <e.j.j.smeur@tudelft.nl>
2024-09-25 10:00:28 +02:00
Christophe De Wagter 3794ffceeb EKF_AW Initialization fix (#3364) 2024-09-25 09:54:32 +02:00
Christophe De Wagter b400d1b995 Enable 2 extra UARTS 2024-09-24 12:16:11 +01:00
Gautier Hattenberger 0a33f4be35 [tool] fix calibration tool output
XML is not correctly formated.
fix #3354
2024-09-15 23:43:36 +02:00
Christophe De Wagter 1382aaf036 [tools] ivy2udp (solves #3352) (#3353) 2024-09-05 10:43:26 +02:00
Christophe De Wagter 14b278dac6 [ground] Fix wind.py for gtk3.0 (#3351) 2024-08-13 16:45:22 +02:00
NoahWe 6f47dfc720 [modules] Update checklist and add bypass logging (#3342)
* New checklist item and log bypass

* address comments
2024-08-08 16:08:56 +02:00
Fabien-B 6e46350858 [jevois] tag ids can contains '0'. (#3346)
---------

Co-authored-by: Fabien-B <Fabien-B@github.com>
Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2024-08-01 14:22:29 +02:00
NoahWe 6ea0b681e8 motors running returns true in simulation so drone takes off automatically (#3350) 2024-08-01 12:34:37 +02:00
CyrilCarlier31 bba5b2f5a4 Dockerfile update to make DroneCAN overhaul checks pass (#3349) 2024-07-31 13:21:37 +02:00
CyrilCarlier31 389cf7ef04 Update Dockerfile (#3348) 2024-07-31 10:19:35 +02:00
Tomaso Maria Luigi De Ponti ba6daccdc8 Generic RC_UP message for datalink RC (#3332) 2024-07-31 10:19:00 +02:00
Freek van Tienen 7f13148139 [actuators] Update controller faulhaber (#3347) 2024-07-30 11:02:42 +02:00
Fabien-B dc2ba583e8 [board] Fix tawakiV2 ADC and alternate functions. (#3343)
Co-authored-by: Fabien-B <Fabien-B@github.com>
2024-07-26 16:58:54 +02:00
Fabien-B 3f011db7bd [board] Activate RTC on Tawaki V1 and V2. (#3341)
Co-authored-by: Fabien-B <Fabien-B@github.com>
2024-07-26 13:31:15 +02:00
Tomaso Maria Luigi De Ponti 10e20581b0 [telemetry] Change STAB_ATTITUDE and EFF_MAT messages (#3329)
* first push

* temp tracking of new pprz link branch

* update of pprzlink

* fix highspeed telem

* fix telem

* Add example guidance eff mat msg streaming

* track new pprzlink

* Lighter STAB ATTITUDE

* delete old msg

* fix bug

* removed warning

* Fix bug

* change conf to match new messages

* fixed indentation

* No need to stream u_cmd as it is already in COMMANDS

* track new pprzlink

* Move RC6CH to new pull request

* Remove ACTUATORS SATE

* Use different telemetry

* Small fix

* Track pprzlink master
2024-07-24 14:29:56 +02:00
Gautier Hattenberger ec1c1e7004 [imu] better default configuration for ICM42688 (#3339) 2024-07-24 10:48:43 +02:00