Commit Graph

16311 Commits

Author SHA1 Message Date
Christophe De Wagter 10fedcc487 Eff_scheduling update (#3062)
* Eff_scheduling update

* add setting to differentiate front and back wing

* back wing pitch eff scaling

* actually implement back wing pitch eff

* fix

* fix mistake setting

* add some comments

---------

Co-authored-by: Ewoud Smeur <e.j.j.smeur@tudelft.nl>
2023-09-09 10:04:21 +01:00
Ewoud Smeur 13f2d21c8f fix log time overflow (#3056) 2023-09-08 00:51:43 +02:00
Freek van Tienen 63fd015f4d [modules] Fix follow me (#3055)
* [misc] Ublox2Ivy update

* [modules] Follow me moving waypoints and approach moving target handling unknown heading
2023-09-06 21:52:57 +02:00
Freek van Tienen a267e39e82 [ins] Fix EKF2 working with HMSL (#3053) 2023-08-30 13:46:11 +02:00
Gautier Hattenberger 3749664a1b Merge pull request #3052 from EwoudSmeur/set_speed_without_ref
Set speed without ref
2023-08-25 13:43:01 +02:00
Fabien-B ee01f2720b [supervision] Set custom icons, and change shortcut for clean. (#3049)
* [supervision] Set custom icons, and change shortcut for clean.

* [supervision] Add control panel selector.

* [supervision] remember last target built.

* [supervision] refresh AC before build.
2023-08-25 13:21:07 +02:00
Ewoud Smeur 6c5093f1ac add nav_hybrid to nederdrones 2023-08-24 13:42:28 +02:00
Ewoud Smeur 44e57c6be9 fix setting ref speed if not using ref model 2023-08-23 18:19:07 +02:00
Fabien-B 78f117b902 [digital cam] Fix PAYLOAD_COMMAND pointer error. (#3051) 2023-08-23 17:45:11 +02:00
Freek van Tienen ab53b6a755 [chibios] Fix ADC reading sample rate error on H7 (reading wrong ADC values) (#3046) 2023-08-03 23:25:38 +02:00
Fabien-B ded55b6136 Feetch servo (#3048) 2023-08-02 14:27:13 +02:00
Ewoud Smeur 5a51d5f874 fix origin altitude ekf2 2023-07-21 19:31:27 +02:00
Fabien-B 7954fa63df [utils] Add circular buffer. (#3038) 2023-07-12 14:18:29 +02:00
Ewoud Smeur d1c8f1c4d2 Imu sample rate (#3035)
* correct sample rate at 500hz periodic

* don't set INDI rate gain to zero
2023-06-08 22:25:28 +02:00
Ewoud Smeur a1a8704b30 Only do one INDI init call (#3034) 2023-05-24 15:49:20 +02:00
Gautier Hattenberger e7781e7b87 [dshot] fix dshot telemetry and provide pprz message support (#3033)
* [dshot] fix dshot telemetry and provide pprz message support

each dshot driver supports it's own telemetry uart
pprz message ESC can be sent over telemetry or flight recorder
configuration is done by giving the uart number

* [dshot] send RPM Abi message from DSHOT driver
2023-05-17 10:05:21 +02:00
Ewoud Smeur 5dacd6a666 Fix indi wu initializer (#3032)
* update WU init and always return iter

* add another test case for WLS
2023-05-16 14:43:17 +02:00
Freek van Tienen b9564ddffc [nps] Fix NPS compile warnings 2023-05-12 13:38:03 +02:00
Gautier Hattenberger 10bdec0463 [ocaml] add old and new GCS srtm path to default directory list (#3030) 2023-05-09 09:09:46 +02:00
guidoAI 1a985e5623 Changes to fix video streams not working in Ubuntu 22.04 (#3029) 2023-05-03 21:06:35 +02:00
Freek van Tienen e5fa273f88 [board] Fix I2C 400kHz for H7 common board (#3027) 2023-05-01 14:32:09 +02:00
Hector Garcia de Marina cd03b42651 Merge pull request #3026 from paparazzi/fix-state_speed
[state] fix speed convert functions
2023-04-27 07:11:32 +02:00
Gautier Hattenberger 66363bf806 [state] fix speed convert functions 2023-04-27 01:08:55 +02:00
Gautier Hattenberger 5f4a4603f0 [nav] fix survey hybrid (#3025)
* [nav] fix survey hybrid

- call init function
- set to valid at the end of setup so it works with mission correctly

* [nav] fix unit, indexes and doc for survey hybrid
2023-04-24 14:51:52 +02:00
Fabien-B 2a98d9fb69 Add PyBullet FDM for nps. (#3024) 2023-04-16 22:10:53 +02:00
Gautier Hattenberger 53987d5a71 Merge pull request #3021 from paparazzi/survey_hybrid-integration
Survey hybrid
2023-04-14 22:14:15 +02:00
Gautier Hattenberger e5af06a001 [ocaml] parse XML file with ExtXml version (#3023)
it provides better messages in case of XML or DTD errors
2023-04-09 17:37:17 +02:00
Gautier Hattenberger eb83c03928 [modules] indicate that digital cam modules are providing 'digital_cam' 2023-04-04 20:07:12 +02:00
Gautier Hattenberger dbed41784e [nav] implement survey for hybrids
Survey based on the OSAM algo for rotorcraft. Instead of going from one
sweep line to the next with a line, a circle aligns the aircraft with
the next line.
Circles radius at the start of lines can be either automatic (sweep distance),
fixed or direct line (equivalent to original rotorcraft).

The code itself is reorganized to use a global structure instead of many
variables.
2023-04-04 20:00:40 +02:00
Gautier Hattenberger 07a43ca4c4 fix typo 2023-03-30 15:00:58 +02:00
Gautier Hattenberger 36fd2901f5 make GUIDANCE_H_MAX_BANK visible in header 2023-03-30 15:00:58 +02:00
Gautier Hattenberger 1a03da28ca [nav] implement nav_circle for hybrids
The flight speed is adapted to the circle radius according to the
maximum bank angle allowed.
The oval implemented in base rotorcraft nav is also compatible with the
hybrid primitives registered in nav.
2023-03-30 15:00:58 +02:00
Freek van Tienen d27ef116f4 [uavcan] Add support for the EQUIPMENT_ACTUATOR_ARRAYCOMMAND message (#3016) 2023-03-29 22:57:56 +02:00
Fabien-B aaa5368ea5 Allow to use extra_dl in simulation. 2023-03-29 14:42:18 +02:00
Dennis-Wijngaarden 366d451e7f [fix] guidance_indi_hybrid, bounding the vertical speed was inverted (#3019) 2023-03-29 09:36:47 +02:00
Gautier Hattenberger b855de512e Merge pull request #3015 from paparazzi/fix-chibios
[chibios] Small fixes
2023-03-28 09:42:43 +02:00
Gautier Hattenberger eba266a6b6 [fix] apply correctly horizontal and vertical setpoints (#3018)
horizontal and vertical can have setpoints of different types (pos, speed or accel) independently
2023-03-27 23:44:00 +02:00
Freek van Tienen f0a8ed3050 [mcu_periph] Disable USB serial debug endpoint when not in use 2023-03-24 11:10:11 +01:00
Freek van Tienen 5b7fd90c77 [modules] Fix SD logger errors 2023-03-24 11:10:06 +01:00
Freek van Tienen 009469f18a [tools] Update PX4 uploader to wait for autopilot 2023-03-24 10:57:44 +01:00
Freek van Tienen ba71081d9e [chibios] Disable GDB symbols by default 2023-03-24 10:56:49 +01:00
Fabien-B de8fb8b8fa [supervision] Add programs status. (#3014)
* [supervision] Add programs status.

* [supervision] turn program line red on error.
2023-03-23 21:18:38 +01:00
Gautier Hattenberger 767333a02c [fix] update generated rotorcraft autopilot for new guidance (#3012) 2023-03-17 21:44:20 +01:00
Gautier Hattenberger 1d7b6dff57 [nav] takeoff and land module (#3010)
* [nav] takeoff and land module

Functions for takeoff and landing (fixedwing and rotorcraft), can be
called from the flight plan or from the mission module.
Two flight plan examples are provided.
Various options are possible, see module description and header file.

* [sim] ins_sim module is only doing INS, not AHRS

add AHRS requirement for sim target, if needed provided by ahrs_sim
2023-03-16 21:45:21 +01:00
Gautier Hattenberger 02df6da2d7 Update README for new Semaphore badge 2023-03-13 22:19:23 +01:00
Ewoud Smeur 9c6c45ee9f Nederdrone trim and INDI startup PD control (#2960) 2023-03-13 21:44:09 +01:00
Gautier Hattenberger 4ba0f96458 Setup semaphore 2.0 (#3011) 2023-03-13 09:27:34 +01:00
Gautier Hattenberger 0844f72932 [guidance] fix missing dependency for guidance_hybrid 2023-03-09 08:53:54 +01:00
Gautier Hattenberger 03238c1639 [fix] fix dep solver to recursively check suggested module (#3009)
* [fix] fix dep solver to recursively check suggested module

the issue was that suggested modules can depend on modules that should
be found from the suggested list

also enforce that an autopilot should have at least an ins or a ahrs

* move dep to targets
2023-03-08 12:42:31 +01:00
Gautier Hattenberger 62646d68de Modules recommends and suggests (#3005)
Add two new items in module's dependency:
- recommends: a recommended module tells the sorting algo that if the module is found, it should be sorted accordingly. It is useful for optional dependencies, like shell or mission in some modules
- suggests: if a functionality is not provided by the user, a module can suggest a list of modules that can provide them. It is a convenient way to have "default" modules.

As a result the former autoload node is removed and replaced by suggested modules.
2023-03-07 17:14:15 +01:00