Commit Graph

16296 Commits

Author SHA1 Message Date
Christophe De Wagter ab18f2a6f3 [modules] Add offset and scaling to UAVCAN airspeed sensor (#3212)
Updated airspeed and servo endpoints

Airspeed debugging

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2023-12-18 10:22:50 +01:00
Christophe De Wagter b040314103 [imu] simulating 3 IMU's failed since an NPS IMU is added. Increase MAX_IMU to 4 (Solves #3135) (#3211) 2023-12-17 15:29:53 +01:00
Christophe De Wagter 4d8c690d8f Hide actuator driver number from code (#3206)
* Hide actuator internal driver number. Should never be used in code.

* Bugfix ... these should not be actutator_driver numbers but INDI output numbers
2023-12-15 08:25:23 +01:00
Gautier Hattenberger fc047cf243 [boards] fix pwm timer enabled for lisa_mx[s] boards with chibios (#3209)
close #3207
2023-12-15 08:12:32 +01:00
Fabien-B f7a981a0d0 Support for TawakiV2 (STM32H7) (#3199)
* tawakiV2 support.
* clean and update linker scripts
* update ram configuration
* update chibios
* update airframe
2023-12-14 11:19:27 +01:00
Ewoud Smeur 38d8388f3d error if non-standard periodic freq without imu sampling spec (#3191)
---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
2023-12-13 17:08:14 +01:00
Christophe De Wagter 250250d04c Set wing rotation via rot_wing_state (#3177)
* Rotating wing controller moved to rotating wing state

extra airframe

* Update _IDX and rebase

* Requested changes from PR

* Code style

* xml fix

* Update sw/airborne/modules/ctrl/eff_scheduling_rot_wing.c
2023-12-13 14:23:52 +01:00
Christophe De Wagter a8f1c063a6 Rotwing State Update: no hardcoded defines in flightplan (#3201) 2023-12-13 13:22:07 +01:00
Gautier Hattenberger 481a53dbaf [fix] use variable instead of macro for thrust dyn in guidance_indi (#3200) 2023-12-12 15:49:04 +01:00
Freek van Tienen 864cfba4bd [modules] UAVCAN range sensor and cleanup (#3198)
* [modules] Cleanup airspeed uavcan

* [modules] Add UAVCAN range sensor
2023-12-11 20:39:47 +01:00
Christophe De Wagter 0b8cc6b5f2 Control camera's over MAVLink (#3178)
Allow to configure the MAVLINK autopilot type to drive e.g. DJI camera's but do not change the default behaviour
2023-12-08 10:49:02 +01:00
Christophe De Wagter 2083b5898f Fix continuous actuator (#3196)
* fix extra bug for #3190

* fix extra extra bug for #3190

* fix for fix of fix

* final fix?

* Update comment: specify natural log = ln
2023-12-07 20:19:08 +01:00
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