Commit Graph

16265 Commits

Author SHA1 Message Date
Christophe De Wagter 0ec27e76cf Rotating wing state machine (#3169)
* Rotating wing state machine
* state now drives the wing rotation
* module does not run stand-alone
* Update conf/modules/rotwing_state.xml

Co-authored-by: Dennis van Wijngaarden <D.C.vanWijngaarden@tudelft.nl>
Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2023-11-11 15:51:41 +01:00
Christophe De Wagter 5c04a35a30 [quadplane] simulator, telemetry and visualizers ---> PR 3173 (#3173) 2023-11-11 10:26:48 +01:00
Freek van Tienen 8f507c319f [imu] Fix accelerometer and gyroscope filters (#3170) 2023-11-10 09:58:00 +01:00
Tomaso Maria Luigi De Ponti 90e1d71ea4 Joystick file for the radio master tx12 (#3171)
Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
2023-11-09 20:19:04 +01:00
Christophe De Wagter 8d40909aad [modules] wing-rotation controller with servo (#3143)
* [modules] wing-rotation controller with servo
2023-11-09 15:10:27 +01:00
Tomaso Maria Luigi De Ponti cc071e1ca7 Oneloop Controller Pull Request (#3150) 2023-11-07 14:16:37 +01:00
Gautier Hattenberger 41451d5422 [sim] moving the old ocaml simulator to NPS (#3167)
- the exact same basic model is now a NPS FDM
- sim target still woks, it is just an alias to NPS with the proper FDM
- the old ocaml files are removed
- AHRS and INS are bypassed, since the accelerations are not well calculated by the model
2023-11-07 10:21:12 +01:00
Freek van Tienen dfb08fa733 [imu] Add accel and gyro filtering options (#3164) 2023-11-07 10:17:27 +01:00
Christophe De Wagter dc042ac992 CommandsFromRC overwritten in INDI (#3162)
* AutoCommandsFromRC overwritten in INDI

fix?

git status

No hidden define but a clear RADIO_CONTROL_THRUST_X

* Let's put it in stabilization and read RC directly after all...
2023-11-07 10:16:50 +01:00
Christophe De Wagter 140e359b21 Fix nav hybrid speed (#3165)
* fix incomplete rename

* add nav_hybrid to test conf for next time
2023-11-06 14:52:19 +01:00
Christophe De Wagter 7320b652aa Do not kill quadplanes in-flight. (#3163) 2023-11-06 12:14:57 +01:00
Christophe De Wagter 92afdb8a3b Debugging guidance (#3157) 2023-11-06 10:56:02 +01:00
Christophe De Wagter 54d2a2b681 hybrid quadplanes and tailsitters explicit (#3161) 2023-11-06 10:49:20 +01:00
Gautier Hattenberger 4d88bb9038 [nav] use a low speed for goto with hybrid (#3148)
* [nav] use a low speed for goto with hybrid

* [nav] change name and add documentation

* [nav] fix names in nav_hybrid
2023-11-06 10:00:13 +01:00
Christophe De Wagter c7511f54fe Updated ctrl_eff_sched_rot_wing (#3158) 2023-11-04 20:14:13 +01:00
Alfredo González Calvin 26d7c9055e Support for rovers and third order Bézier splines in GVF parametric (#3145) 2023-11-03 21:30:53 +01:00
Christophe De Wagter adc25c4db6 Ground-detect-fix (#3156) 2023-11-03 20:19:52 +01:00
Freek van Tienen 624214fc21 [imu] Fix Invensense V2 accelerometer DLPF config (#3152) 2023-11-02 15:54:21 +01:00
Fabien-B 2ba164cc41 [WLS] Fix defines to be used in other source files. (#3154) 2023-11-02 11:43:36 +01:00
Fabien-B decbf5c044 [calibration] Fix calibration warnings. (#3155) 2023-11-01 21:43:27 +01:00
Ewoud Smeur 92123924cb fix bug that gave zero effectiveness matrix (#3151) 2023-11-01 10:16:17 +01:00
Gautier Hattenberger 4ae40567ed [hitl] rewrite support for hardware in the loop simulation (#3146)
- old way (based on ins_vectornav) is not supported anymore
- directly send sensor data and receive commands with a dedicated link
- examples with USB link for better results
- update sphinx documentation
- compilation in a single build
2023-10-31 14:48:55 +01:00
Gautier Hattenberger 094997af4b [imav] ENAC flight plans for IMAV2023 (#3149) 2023-10-27 11:44:43 +02:00
Christophe De Wagter 1229e0489a [modules] EKF Airspeed and Wind (#3078)
* [modules] EKF Airspeed and Wind

* Test EKF_AW

* Also compile for non-rot-wing

* fix RPM in EKF_AW

* rpm fix

* Remove double debug messages

* follow master spacing

* Fix code style

* rotwing_controller renamed
2023-10-19 16:34:48 +02:00
Freek van Tienen 2db514a43e [modules] Fix error in Rotating Wing message (#3144) 2023-10-18 11:23:10 +02:00
Freek van Tienen 127409a14d [imu] Add fast logging 2023-10-17 11:27:31 +02:00
Christophe De Wagter 515cb9167f [airframe] Airframe update, missing default telemetry & fix reading angle 2023-10-16 15:54:57 +02:00
Christophe De Wagter 2b89019f1d [electrical]: extra ADC (#3134) 2023-10-16 12:29:27 +02:00
Christophe De Wagter 673beb5e6e [fix] Optical-Flow: configures not configuring, possible FAST9 segfault, several parameters not active in OF (#3140) 2023-10-11 11:35:42 +02:00
Florian Sansou 94319edf5a Fix dshot telemetry with new actuator feedback module (#3139)
Co-authored-by: Florian Sansou <florian.sansou@enac.fr>
2023-10-10 13:04:48 +02:00
Christophe De Wagter 15120ea87d [cleanup] remove infrared sensor messages (#3137) 2023-10-09 09:13:00 +02:00
Christophe De Wagter 4df13209e5 [opticalflow] bebop2 with dual optical flow (#3136)
* Squash on master
* fix bebeop2_flow
* Divergence is more noisy than previous time... added a low-pass filter, and allow for a higher threshold...
* fixed the sim, removed warnings, removed double airframe
* cleanup airframe, remove all warnings, allow placing camera parameters in sections
* PPRZLINK
* Silent warnings and compile errors
* reintegrated pprzlink
---------
Co-authored-by: guidoAI <guido.de.croon@gmail.com>
2023-10-09 08:35:07 +02:00
Christophe De Wagter cb97031d47 [airframes] RW25kg (#3133)
* [airframe] RW25kg
2023-10-09 08:08:32 +02:00
Christophe De Wagter 650509808d [fix] errors from last 10 PR (#3138) 2023-10-09 08:07:36 +02:00
Christophe De Wagter 5af84a4851 [ctrl] Morphing quad-plane control eff (#3124) 2023-10-06 14:06:04 +02:00
Christophe De Wagter 6983ecd5bb Notch filters (#3128) 2023-10-05 21:20:01 +02:00
Christophe De Wagter 889521b53e Negative airspeeds from negative differential pressures. (#3126)
* Negative airspeeds from negative differential pressures.
* Some protections against negative airspeeds
2023-10-05 20:46:27 +02:00
Christophe De Wagter 5b254269fc UAVCAN telemetry (#3129)
* UAVCAN telemetry

* [modules] Actuator feedback rewrite

---------

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2023-10-04 16:29:40 +02:00
Christophe De Wagter db4c67d64a [fix] cleanup make all conf airframes (#3127)
* cleanup all conf airframes

* docs update
2023-10-04 08:21:19 +02:00
Christophe De Wagter 4c848665d7 [jsbsim] Morphing quadplane models (#3125) 2023-10-03 12:51:54 +02:00
Christophe De Wagter 19875f6343 quadplane guidance (#3122)
* quadplane guidance
* Function doc and ifdef protect for normal guidance
2023-10-03 08:18:02 +02:00
Christophe De Wagter 8353c0ac36 quadplane stabilization (WLS-only) (#3121)
* quadplane stabilization (WLS-only)
* code style and unnecessary change
2023-10-02 22:54:50 +02:00
Freek van Tienen ff4bb2d107 [ahrs] Fix AHRS float DCM memory warnings (#3123) 2023-10-02 19:32:01 +02:00
Gautier Hattenberger de6a1ad38d [fix] led_hw.h fix dummy interface for testing (#3112) 2023-10-02 12:09:54 +02:00
Christophe De Wagter 46ea0a56be WLS update NaN (#3120)
* wls_alloc update
2023-10-02 11:31:55 +02:00
Gautier Hattenberger 01ac335eb7 [wls] make WLS lib, add support for guidance_indi_hybrid (#3115)
* [wls] make WLS lib, add support for guidance_indi_hybrid

* [wls] update test program

* [wls] restore static matrix size for WLS

* [wls] update test prog

* [indi] ABI thrust message to 3D vector (#3116)

* [indi] ABI thrust message to 3D vector

Common WLS for innerloop and outerloop

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

* Bound defaults to min in case of NaN

---------

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

* [guidance_indi] lift effectiveness and set stabilization limits in WEAK (#3117)

* do not allow code to run with insufficient matrix sizes

* Prefer not to roll when able.

* [wls] only check size if WLS is used

---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
Co-authored-by: Ewoud Smeur <e.j.j.smeur@tudelft.nl>
2023-10-01 23:15:36 +02:00
Christophe De Wagter 59fac571a6 [tools] Python visualizer updates quadplane (#3119) 2023-10-01 20:43:14 +02:00
Christophe De Wagter 25ba13db70 [guidance_indi] lift effectiveness and set stabilization limits in WEAK (#3117)
* [guidance_indi] lift effectiveness of the wing and weak function to set stabilization limits

Weak function to set indi_stab_dumin

* WEAK instead of ABI
2023-09-30 13:16:24 +02:00
Ewoud Smeur 92f467f8cc Bound function also bounds NaN (#3118)
* Bound function also bounds nan

* Update comment

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

* Bound defaults to min in case of NaN

---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
2023-09-30 13:04:53 +02:00
Christophe De Wagter ae1f8ed350 [indi] ABI thrust message to 3D vector (#3116)
* [indi] ABI thrust message to 3D vector

Common WLS for innerloop and outerloop

* fix both guidance

* cleanup

* cleanup
2023-09-28 09:39:58 +02:00