Commit Graph

16311 Commits

Author SHA1 Message Date
Gautier Hattenberger 5113a2105d stable release v6.3 v6.3.0_stable 2023-12-21 15:07:35 +01:00
Christophe De Wagter d5097190b8 New final corrections (#3224)
* Silent warning: accel_x shadows global declaration

* [disco] was a shared airframe file with ENAC
2023-12-20 17:39:43 +01:00
Gautier Hattenberger 378b9367de Enac conf cleaning (#3223)
move boards test files to separated folder
2023-12-20 09:33:15 +01:00
Christophe De Wagter c1ab6d5418 [airframes] cleanup all tudelft airframes (#3221)
* bug fixes: simulation not selecting airframe, error when removing command, ADC not present in simulation

* remove command_trimmed not used warning (indeed not used) + add comments

* RAM3 overflow. Test of module done in RW3.

* coverity - Microjet - SIM

* clean BR

* CDW + tests

* make openuas/mavlab

* Remove Special ARDrones

* conf

* fixed typ in  eff_scheduler of rotwing_25kg

* Updated preflight checks for rotwing v3b actuators

* Updated tudelft conf

---------

Co-authored-by: Dennis van Wijngaarden <32736330+Dennis-Wijngaarden@users.noreply.github.com>
2023-12-19 21:30:49 +01:00
spacewolfXfr 6614729042 Gvf for rotorcrafts (#3197)
* Core GVF changes
* Update GVF module conf file for rotorcrafts
* Integration of acceleration in guidance rotorcraft firmware
* Update command chain in guidance for ACCEL command integration
* [guidance] select guidance sp mode with enum instead of bitmask
* [guidance] reset ref if input type has changed

---------

Co-authored-by: Mael FEURGARD <mael.feurgard@laas.fr>
Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2023-12-19 15:04:30 +01:00
Gautier Hattenberger cf23b6bd27 [fix] nominal throttle was not initialised (#3222) 2023-12-19 14:34:29 +01:00
Freek van Tienen 3a956fa4aa [link] Pprzlink router (for herelink) (#2497) 2023-12-19 10:22:20 +01:00
Christophe De Wagter 20ef4162bc Remove command_pitch and command_roll and command_yaw (#3208)
... when not used
2023-12-19 09:58:39 +01:00
Christophe De Wagter 1ea818de9c [xml] Airframe updates after testflights (#3218) 2023-12-19 08:54:46 +01:00
Christophe De Wagter 94c79d42ca Cleanup airframes: make test_all_confs (#3217) 2023-12-18 21:51:01 +01:00
Christophe De Wagter 5fd7d56630 [pfc] Actuator motion pre-flight-check (#3202)
* PFC for actuator deflections

* [checks] Preflight check actuators

[checks] PFC actuators

merge-error

* Fixes for other airframes

* [pfc] Fix better debug information for actuator checks

* [modules] Fix warnings in test build

* Update conf/modules/imu_mpu9250_i2c.xml

* Update conf/modules/imu_mpu9250_spi.xml

* [uavcan] Fix possible misconfiguration and overflow

---------

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2023-12-18 15:47:40 +01:00
Fabien-B 751edc5170 Add flash mode: STM32CubeProgrammer (#3204) 2023-12-18 15:16:03 +01:00
Christophe De Wagter e0d188a4ab Electrical update: add VBoard for CUBE (#3213)
* [electrical] Add board voltage

[energy] Test energy message

[conf] Fix offset

Testing airspeed fixes

[arch] Fix i2c invalidate buffer when reading

* Revert debug

* Default when not defined

* Send VBoard in ROTORCRAFT_STATUS

---------

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2023-12-18 14:53:18 +01:00
Christophe De Wagter a07d674c19 Fix compile warnings in ``make test`` (#3216)
* Silent compile warnings in tests

* silent warnings in conf_test

* fix defines: if OLD -> warn and convert. If new, then use. If no old and no new, use default.
2023-12-18 12:34:58 +01:00
Christophe De Wagter f0d2cd3bdc [rotwing_state] Redundant reading of actuator feedback (#3215) 2023-12-18 11:15:44 +01:00
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