Commit Graph

16553 Commits

Author SHA1 Message Date
Freek van Tienen 2a9887a747 [chibios] Update and add Pixhawk 6X autopilot (#3254)
* [chibios] Update chibios and add Pixhawk 6X autopilot

* [conf] Change rotating wing 25kg

* [modules] Fix chibios sdlogger dependency on ADC

* [modules] Fix eff scheduling rotating wing warnings

* [chibios] Cleanup and fixes
2024-05-24 15:35:04 +02:00
Christophe De Wagter 5e9e61e499 Fix compile warnings make all_confs on v6.4 (#3277)
* DSHOT errors

* Fix extra variable
2024-05-24 15:33:27 +02:00
Freek van Tienen 9341cf0b12 [pfc] Add ground checklists (#3276) 2024-05-24 15:32:53 +02:00
Freek van Tienen 58caa662cd [modules] Support dual ublox GPS modules (#3267)
* [modules] Support dual ublox GPS modules

* Fix UCenter

* Fix make test_modules

* Fix: tell ins_ekf2 when no YAW is available

---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
2024-05-24 09:55:16 +02:00
Dennis-Wijngaarden d748af1afb Rotwing guidance bank fix (#3271)
* max bank in deg

* Fix allocation switching problem

* [rot_wing_v3] Updated max bank in all airframes

* Update sw/airborne/modules/checks/preflight_checks.c

Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>

* use unit and alt_unit for conversions instead

* remove needless conversion

* Also fix normal INDI to fit the code

---------

Co-authored-by: Ewoud Smeur <e.j.j.smeur@tudelft.nl>
Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2024-05-23 21:55:24 +02:00
Dennis-Wijngaarden b87ab09536 [RotWing] FREE_STATE mode and pusher rate limiter (#3268)
* [rotwing_state] Added free configuration to be requested for rotwing drone

* [rot_wing_eff_sched] Added rate limiter on pusher prop

* [rot_wing_state] fix nav_max_goto_speed setting from state machine

* [rotwing_state] move rotwing free state processor to NAV if statement

* [rot_wing_state] Updated free state in rotwing_state

* [fp] Added free state standby waypoint to rotwing EHVB fp

* [rotwing_state] Removed non used speed_to_target variable
2024-05-23 13:37:16 +02:00
Christophe De Wagter b29b94d811 [module] parachute (#3273) 2024-05-23 11:15:42 +02:00
Ewoud Smeur 35e90b5d2d add nav_hybrid module to rotorcraft disco (#3275) 2024-05-23 10:06:14 +02:00
Christophe De Wagter 8a9e1411de Fix for new stabilization (#3274) 2024-05-22 15:01:35 +02:00
Dennis-Wijngaarden 48048bdba2 [rot_wing] Configured correct YAW_DISURBANCE_LIMIT in airframes (#3270)
* [rot_Wing] Configured correct YAW_DISURBANCE_LIMIT in airframes

* [v3g] Updated elevator endpoints
2024-05-22 10:44:21 +02:00
Gautier Hattenberger ce7fe4c23f [control] rework the stabilization for rotorcraft (#3248)
Introducing several changes to the control stask for the stabilization:
- new structures: stabilization, stab (att and/or rates) and thrust (vector)
- more functional approach: stabilization receives the stab and thrust
  setpoints from guidance and fill command vector at the end
- modes and sub-modes are redefined (split stab and guidance modes),
  some AP modes are removed (FLIP and MODULE)
- RC read functions are removed and replaced by ABI bindings, one for
  each part (AP, stab, guidance_h, guidance_v) with dedicated functions
- transition ratio (float in [0-1]) replace transition_percentage (int)
- the AP_MODULE mode is replaced by generated autopilot
- the ABI hack for guidance indi is not needed anymore
- AP generator supports a new 'store' attribute to use return values of
  functions
- cleaning of the stabilization API (for setter functions)
2024-05-21 17:01:38 +02:00
Gautier Hattenberger f41c32a4bf mark v7.0 unstable
since it is a major version, backward compatibility is not guaranteed

WARNING: this tag have been moved to integrate the v6.4 stable version
v7.0_unstable
2024-05-21 16:06:30 +02:00
Gautier Hattenberger 232f532dc3 stable release v6.4 v6.4.0_stable 2024-05-21 15:45:39 +02:00
Christophe De Wagter f0607badaf Update cv_opencvdemo.xml (#3272) 2024-05-21 15:21:12 +02:00
Dennis-Wijngaarden e9b81bb885 [rot_wing_v3d] Updated magneto calibration (#3266) 2024-04-24 16:43:59 +02:00
Dennis-Wijngaarden 893a65f17e [guidance_indi_hybrid] Added airspeed filtering with separate filter values for guidance (#3260)
* [guidance_indi_hybrid] Added secondary airspeed filtering in guidance

* Rename for clarity: guidance_indi hybrid can have a separate filter

---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
2024-04-17 17:06:53 +02:00
Tomaso Maria Luigi De Ponti 50694ba217 Use Commands instead of actuator_pprz (#3265)
* Add actuator type attribute to command

* Implemented new command based counting of the atuators in the oneloop controller

* Added group attribute to dtd file. Initialize as empty subgroup count of commands. Avoid unnecessary array to list conversion.

* Generate list of names from defined commands

* Use the defined commands number and  name in NPS

* Update sw/tools/generators/gen_airframe.ml

Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>

* Added logic to remove redundant code

---------

Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2024-04-16 23:06:23 +02:00
Dennis-Wijngaarden 16068cc905 [rot_wing nps] add more aerodynamic drag in rotwing simulation (#3259)
* [rot_wing nps] add more aerodynamic drag in rotwing simulation

* Triple the CD * surface

---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
2024-04-16 18:03:10 +02:00
Christophe De Wagter d0f97e143d Rotwing show both CAN bus messages... (#3263) 2024-04-11 12:03:02 +02:00
Fabien-B 15d8a63956 Bidirectionnal DShot for H7 (#3253) 2024-04-10 00:44:47 +02:00
Tomaso Maria Luigi De Ponti 6fb37f8b00 [modules] EKF2 fixed initialization warning (#3262) 2024-04-09 13:36:33 +02:00
Tomaso Maria Luigi De Ponti afa93784ed [modules] Rotating wing better ADC sensor integration (#3251)
* Make adc sensor mappable from the airframe. Better interface for adc in the rotwing state.

* Added parameters to v3b airframe

* Addressed the comments

* Removed external variable
2024-04-09 11:25:44 +02:00
Christophe De Wagter 25ec86275f TUD course update 2024 (#3258)
* removed the -o flag because it caussed natnet errors

* smaller obstacle zone for first week testing

* Updated distance measurement script

* 3x3 convolution addition (#97)

Added a convolution algorithm for a general 3x3 kernel

---------

Co-authored-by: robinferede <robinferede@tudelft.nl>
Co-authored-by: yamacbirol <y.birol@student.tudelft.nl>
Co-authored-by: dvanwolffelaar <50547974+pigparty6@users.noreply.github.com>
2024-04-04 11:00:14 +02:00
Ewoud Smeur 69f2248a32 INDI restructuring (#3256) 2024-04-04 10:55:41 +02:00
Tomaso Maria Luigi De Ponti 6667d5091d Slight Changes to INS EXT POSE and INS EKF2 (#3233) 2024-04-03 15:02:25 +02:00
Gautier Hattenberger 5b13467c71 [board] fix crazyfly board files (#3255)
- use correct main file with chibios
- fix pin definitions
2024-03-26 10:11:58 +01:00
Ewoud Smeur 3bedf9576d Use altitude waypoints for EKF2 2024-03-25 11:20:36 +01:00
Ewoud Smeur 757c6372f0 fix omega discontinuous (#3250)
* fix omega discontinuous

* readable code, add comment
2024-03-14 13:23:25 +01:00
Till Blaha 12da43ec1b Fix natnet2ivy rotation order (#3231) 2024-03-01 14:50:54 +01:00
Fabien-B ae5f47a518 Add vl53l5cx driver (#3240)
Based on St ULD
2024-02-29 10:46:01 +01:00
Dennis van Wijngaarden edff4bc3b9 [airframes] Updated calibrations of rotating wing drones 2024-02-27 09:26:41 +01:00
Dennis-Wijngaarden f44444c918 Rot wing updates (#3238)
* [airframes] rot_wing airframe updates

* Updated small rot_wing drones

* Updated rot_wing_v3f calibrations
2024-02-13 13:33:23 +01:00
Gautier Hattenberger 2ae4fed4e3 [conf] update Enac rotorcraft so that they work in simulation as well (#3235)
- update Enac rotorcraft airframes
- remove dead aircraft
- add jsbsim model files
- update bebop2 example
2024-02-07 13:54:55 +01:00
Gautier Hattenberger 19952d8e04 [fix] guidance sp was not correct in speed mode (#3236)
After #3197, the functions guidance_h_set_xxx are reseting the state so
it creates inconsistent behavior when abusing the 'set_pos' to update
the gcs display.
2024-02-07 10:20:27 +01:00
Gautier Hattenberger bbcb166d37 [nav] remove nav_manual mode (#3234)
This mode is not really used and not even recommended. It is also not
implemented in all firmwares. If a direct call to stabilization command
is needed, it should be done with a specific function but not from a
builtin instruction from the flight plan.

It was discussed in #3208, but not applyied because of nav_heli_spinup.
A new h_mode 'NONE' allows to disable guidance and stabilization while in
NAV mode, which allows to set directly the commands.
2024-02-05 09:40:09 +01:00
Gautier Hattenberger fe35af7382 [nps] fix inconsistent sensor scaling in simulation (#3230) 2024-01-29 16:19:05 +01:00
Fabien-B 41998a12b3 [doc] Update pprzcenter and GCS presentation. (#3229)
* [doc] Update pprzcenter and GCS presentation.
Simplify install instructions.

* [doc] Windows install + some fixes
2024-01-26 09:01:13 +01:00
Gautier Hattenberger 1b345804b4 [generator] add support for matrix and struct in airframe (#3228)
* [generator] add support for matrix and struct in airframe

update ENAC airframe and code for indi G1 matrix and IMU calib

* update calibration tool output
2024-01-09 10:46:47 +01:00
Gautier Hattenberger 175e3e018c [doc] fix version number in doc 2023-12-22 12:00:40 +01:00
Christophe De Wagter 45884b3eea Fix all compile warnings confs (on 20.04) (#3227)
* JP aircraft removed from ENAC

* Silent compile warnings GVF

* silent warning: periodic freq must be dividable by telemetry freq

* NPS_COMMANDS_NB

* gzip -f since compiling make small targets in a row can have the same file name if compiling is too fast.
2023-12-22 10:36:40 +01:00
Christophe De Wagter 78c3ff3401 [flightplans] tudelft flightplans (#3220)
* 4 different files

* Landing based on height
2023-12-22 10:35:49 +01:00
Gautier Hattenberger 6f3d9f68c2 mark v7.0 unstable
since it is a major version, backward compatibility is not guaranteed
v6.4_unstable
2023-12-21 15:29:25 +01:00
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