Commit Graph

16284 Commits

Author SHA1 Message Date
Gautier Hattenberger 7279d9b0d1 [fix] fix some bugs from #3190 (#3195) 2023-12-04 11:30:49 +01:00
Freek van Tienen 12c65241ab [checks] Add IMU heater preflight check and fix minor bugs (#3193) 2023-12-04 09:10:48 +01:00
Gautier Hattenberger cd3c2af7aa [pwm] use different names to activate PWM drivers in chibios and pprz (#3194)
ChibiOS PWM driver is required for DShot driver, but activating it
should not result in an activation of the PWM driver by paparazzi.
Otherwise, the last driver to be called at init will set the
parameters and eventually overwrite the correct values.
2023-12-04 09:10:00 +01:00
Freek van Tienen 8b60965be5 [imu] Fix Invensense V3 driver temeperature and disable AFSR (#3192) 2023-12-04 09:09:23 +01:00
Ewoud Smeur cfae3bc0d9 INDI actuator dynamics in continuous time (#3190)
* change INDI to use continuous time actuator frequency

* change to continuous time act dynamics definitions

- guidance_indi
- guidance_indi_hybrid
- stabilization_indi_simple

* keep the old values as deprecated default
2023-12-04 09:08:39 +01:00
amtcvx 8751466515 Jpo2023-Chimera-WS2812 (#3188) 2023-11-28 09:19:38 +01:00
Fabien-B 9c1e21d0ce [supervision] Add log extractor. (#3186) 2023-11-27 08:52:30 +01:00
Florian Sansou b0b127d50e [fix] Wrong header file (#3187)
Co-authored-by: Florian Sansou <florian.sansou@enac.fr>
2023-11-27 08:47:37 +01:00
Christophe De Wagter dd49c23691 [fix] typo in master 2023-11-26 14:36:58 +01:00
Gautier Hattenberger 8d01b021de [ins] fix ekf2 status flag when using external vision positionning (#3184) 2023-11-25 22:38:34 +01:00
Gautier Hattenberger 68ddea1e3f [scheduling] harmonize efficiency scheduling modules (#3182)
- harmonize name
- make a 'generic' module with basic linear scheduling
- old ctrl_effectiveness_scheduling was very specific to cyfoam, so
  renamed
- add falcon scheduler, related airframe will come later
2023-11-25 22:16:03 +01:00
Christophe De Wagter 44a3abb977 warnings (#3185) 2023-11-24 11:26:40 +01:00
Tomaso Maria Luigi De Ponti 92b5ad0571 we need force forward also in NPS (#3181) 2023-11-23 15:24:50 +01:00
Fabien-B d00796924f [supervision] Fix sessions save. (#3183) 2023-11-23 11:11:18 +01:00
Freek van Tienen 7b54c09acc [checks] Add preflight checks (#2951)
---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2023-11-15 22:54:38 +01:00
Christophe De Wagter 80ad17cdfa [xml] final quadplane xml files rotwing (#3176)
* [xml] final quadplane xml files rotwing

* Since no other airframes use crossfire AUX4 we can modify the original instead of making a copy
2023-11-15 22:02:09 +01:00
Christophe De Wagter 9634e5615e nav_transition_automation (#3172)
* nav_transition_automation

* new filtering update

* fix compile

* Update conf/airframes/tudelft/rot_wing_25kg.xml

* Update conf/airframes/tudelft/rot_wing_25kg.xml

* filtering shorter and cleaner notation

* Typo

* docs

* freq from module

* Update sw/airborne/modules/rot_wing_drone/rot_wing_automation.c
2023-11-15 09:20:18 +01:00
Christophe De Wagter 82d1f94239 fix INT filtering: @freek this is nice but is this used? (#3174) 2023-11-14 11:29:19 +01:00
Alessandro Mancinelli 5aff1f7894 Remove the dependencies of 'nav_hybrid' from 'guidance_indi_hybrid'. (#3160)
* remove nav_hybrid dependency from guidance_indi_hybrid

* removed NAV_MAX_SPEED definition from the testing airframe

* removed dependency from max bank angle of guidance

---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
2023-11-13 14:24:21 +01:00
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