Commit Graph

11910 Commits

Author SHA1 Message Date
Fabien-B 9b18744322 [doc] Add parser for modules doc generation. (#2973) 2023-02-06 11:16:10 +01:00
OpenUAS f59a809411 Update bmp_swd_nopwr_flash.scr (#2976)
Fixes #2974 Tested with tested with BMP Firmware v1.9.0 Hardware v2.3  OK and to test NOPWR in airframe defined:
      <configure name="FLASH_MODE"   value="SWD_NOPWR"/>
      <configure name="BMP_PORT" value="/dev/ttyACM0" />
2023-02-03 09:20:41 +01:00
OpenUAS 26d64c19ed Update bmp_swd_flash.scr (#2975)
To fix #2974  tested with:
tested with BMP Firmware v1.6.1 Hardware v1.0  OK
tested with BMP Firmware v1.8.2 Hardware v1.0  OK
tested with BMP Firmware v1.6.1 Hardware v2.0  OK
tested with BMP Firmware v1.8.2 Hardware v2.3  OK
tested with BMP Firmware v1.9.0 Hardware v2.3  OK
2023-02-03 09:18:56 +01:00
Fabien-B 59a89ae954 [Libopencm3] Fix #2969. (#2970)
* [Libopencm3] Fix #2969.

* [libopencm3] Replace timer_reset by rcc_periph_reset_pulse.
2023-01-27 12:35:36 +01:00
Gautier Hattenberger c1f47742ab [fix] missing ; after #2922 2023-01-25 23:35:00 +01:00
Fabien-B f60c68c130 Fix gcc prefix and update libopencm3. (#2922)
* Fix gcc prefix and update libopencm3.

See:
https://github.com/libopencm3/libopencm3/commit/7be50a5e75ed2d163d38a6759347c5e778ac02ab
https://github.com/libopencm3/libopencm3/commit/034dbf20ff8c54dcbee5238390b37a0d35180f44

* update luftboot
* Update linker scripts.
* Update deprecated function.
* Update rcc_clock_scale structure.
* Add compatibility defines.
2023-01-25 14:11:53 +01:00
Fabien-B c08a472eaa Update hacl-c. (#2967) 2023-01-25 12:06:46 +01:00
Fabien-B b9fb7f01fe [supervision] Add missing files. (#2961) 2023-01-09 13:43:36 +01:00
Ewoud Smeur dc998be91d Nederdrone ctrl scheduling + moving target app (#2957)
* Nederdrone ctrl scheduling + moving target app

- Nederdrone airframe files
- Ctrl effectiveness scheduling
- Target position communication and planning
- Approach to a moving target guidance

* Update conf

* fix compilation problems

* flight plan compatible new GCS

* remove module test

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2022-12-16 16:02:16 +01:00
Gautier Hattenberger 3502cab856 [natnet] display object in GCS based on optitrack markerset (#2958)
* [natnet] display object in GCS based on optitrack markerset

update natnet client to get markerset

* [natnet] Add a minimum refresh period for objects display.

Co-authored-by: Fabien-B <fabien.bonneval@gmail.com>
2022-12-16 16:00:36 +01:00
Fabien-B ce19885a1e [supervision] Add settings selector. (#2959) 2022-12-16 15:58:44 +01:00
Ewoud Smeur bf4adb45a2 INDI hybrid updates (#2954)
- Two interpolation segments during transition
- Quadratic lift effectiveness with airspeed
- Velocity setpoint input possible from module via ABI message
2022-12-02 21:58:48 +01:00
ALI JAMEI 828ef4fc4d [PX4] AP and FBW flash through bootloader fix (#2936)
* [PX4_Bootloader] update firmware generator and upload scripts with latest versions

* [PX4_flash] fix px4_flash module to support ChibiOS USB driver

* [PX4_flash] fix px4_flash FBW firmware upload through AP

* [chibios] change USB serial descriptor strings to the ones used in STM32 arch

* reboot to boot-loader for ChibiOS flash
2022-12-01 09:24:28 +01:00
Ewoud Smeur 351d90f86e File logger rename (#2956)
* file logger namechange to logger file

* airframe file updates with namechange
2022-11-29 21:58:02 +01:00
Ewoud Smeur 180ebd289a adaptive INDI fix (#2955) 2022-11-29 21:49:38 +01:00
OpenUAS 6df663ff53 Added driver for QMC5883L Magnetometer (#2953)
Co-authored-by: Open UAS <noreply@openuas.org>
2022-11-28 22:09:37 +01:00
Ewoud Smeur 6a44445dd2 Convergence rebase (#2946)
* Added disco_rotorcraft airframefile to be able to fly hybrid code

* Created files (airframe and flightplan) and added bebop_convergence to tudelft conf

* allow higher version bebop

* logging motor commands and accel bebop2

* Updated hybrid guidance indi  variables for bebop2

* improvements

* Prepared bebop2 airframe for cyberzoo test

* Flying bebop in the cyberzoo

* increase outer loop gains

* bebop2 jsbsim file

* no failsafe thrust for rotorcraft

* use ekf2 for bebop2

* Prepared flightplan for outside test

* fix static heading

* Added disco_convergence

* Updated hybrid guidance with extra variables as macro for convergence test

* extended logger with nav target

* typo with the nav_target

* fix thrust estimate

* no ctrl eff scheduling

* Flown code Valkenburg

* Tuned Disco convergence and added nps sim

* 24-06-2021 flown disco code, noise on thrust

* Updated disco flight plan to increase and decrease altitude 20 meters in flight

* change thrust effectiveness

* cleanup

* logger default freq, lexer, etc.

* further small improvments

* lower frequency for AHRS_REF_QUAT

* use more lexer

Co-authored-by: Dennis van Wijngaarden <wijngaarden.dennis@gmail.com>
2022-11-23 21:21:17 +01:00
Till Blaha 27c9c8a27f More intuitive axes systems for indoor test areas with Optitrack positioning systems (#2947) 2022-11-17 14:31:11 +01:00
Gautier Hattenberger b48d3e61e8 [datalink] add a datalink init function (#2950)
* [datalink] add a datalink init function

and get rid of the DATALINK_C trick

* [datalink] weak parsing function

* [sim] remove MODULES_C define from sim_ap

this is not necessary and is a source of multiple definition errors
2022-11-16 16:05:14 +01:00
OpenUAS f5a666b0b3 Add chibios for lisa mxs fc (#2949)
* Add Chibios support for Lisa MXS flightcontroller

* Moving towards Chibios support for all boards

Co-authored-by: Open UAS <noreply@openuas.org>
2022-11-11 21:56:47 +01:00
Freek van Tienen 174360345c [boards] Fix LisaMX v2.1 chibios I2C definitions (#2948) 2022-11-10 14:26:17 +01:00
Freek van Tienen d739f2830e Fix small bugs (#2945) 2022-11-04 00:29:54 +01:00
Freek van Tienen 6fa9cdfa53 [imu] Add heater and temperature options (#2929) 2022-10-27 14:00:13 +02:00
Fabien-B 6e6bc37d1d fix and update mavlink (#2920)
* fix and update mavlink

* Remove mavlink from default build target.

* remove mavlink from default Makefile target.

Co-authored-by: Fabien-B <fabien.bonneval@gmal.com>
2022-10-26 23:26:37 +02:00
Gautier Hattenberger 82d899ae0c [gps] fix parsing of PVT heading (#2939)
the flag headVehValid only concerns the headVeh (vehicle heading,
computed from dual antenna configuration), not the headMot, which is the
heading of motion, aka the ground course, always "valid"
2022-10-26 11:46:15 +02:00
Fabien-B ad01121a17 [nps] Fix IMU and MAG signs. (#2937) 2022-10-26 10:38:17 +02:00
Gautier Hattenberger 0b1ce4679e [nps] variables in nps_main should be extern (#2933)
fix #2932
2022-10-21 11:15:56 +02:00
Gautier Hattenberger fafbde8a41 Merge pull request #2931 from enacuavlab/tag_tracking_speed-integration
Tag tracking speed integration
2022-10-19 09:26:53 +02:00
Gautier Hattenberger acb7d1164a [ins] enable nav init for EKF2 by default (#2930) 2022-10-17 10:55:09 +02:00
Gautier Hattenberger 1fbbdf80bb [guidance] change guidance api names
Guidance set functions are not limited to guidance mode. Use them when
possible to set masks correctly.
2022-10-15 23:59:52 +02:00
Gautier Hattenberger 4b6b0acf87 [module] add tag speed control 2022-10-15 23:56:10 +02:00
Gautier Hattenberger 2ac79b3430 [nav] add a guided instruction for the flight plan
It allows (for rotorcraft) to use all the possibilities of the guided
mode from a single instruction in the flight plan, but without leaving
the NAV mode as it was done before. Thus all capabilities of the FP are
still accessible.
2022-10-15 23:56:09 +02:00
Fabien-B ca94874f74 [generated autopilot] Include settings defined in the autopilot file. (#2928) 2022-10-15 23:26:04 +02:00
Jesús Bautista Villar cc781ef5e6 Ublox GPS - Manual hot, warm and cold reset functionality (#2924) 2022-10-15 23:24:14 +02:00
Fabien-B 59ebf6336a Fix joystick for Ubuntu 22.04 (#2921)
Co-authored-by: Fabien-B <fabien.bonneval@gmal.com>
2022-10-15 23:23:10 +02:00
Freek van Tienen da196cefc1 [ground] Add heading to ublox2ivy (#2919) 2022-10-15 23:22:07 +02:00
Gautier Hattenberger 83e57b3733 [autopilot] fix detection of generated mode and generation dep (#2927)
- server extract the correct modes with generated autopilots
- compilation dependency fixed for generated autopilot
2022-10-12 09:51:27 +02:00
Fabien-B 45b020d678 Fix nucleo and crazyflie boards. (#2923)
* Fix nucleo board like #2898.

* Fix crazyflie board.
2022-10-11 16:31:59 +02:00
Freek van Tienen 46055fc8f8 [chibios] Fix i2c error handling (#2898)
* [chibios] Fix i2c hanging full autopilot for 50ms and better error handling
* [airspeed] Fix ms45xx faulty readings
* [board] Fix cube orange test build
* [actuators] Remove actuators_ppm which is not implemented
* [ppm] Fix warnings for lisa mx and lisa m
* [tests] Fix test build and std.h include for TRUE/FALSE
* [chibios] Update to latest paparazzi version
2022-10-07 15:27:43 +02:00
Freek van Tienen 10b8b96d7d [board] Fix chibios common i2c and pwm input (#2897)
* [board] Fix chibios common i2c and pwm input

* [board] Fix I2C defines default and px4fmu 5.0 PWM input
2022-10-07 15:26:10 +02:00
Freek van Tienen 354cc90812 [imu] Show warning for incorrect new configuration 2022-10-07 13:42:24 +02:00
Gautier Hattenberger 6084867ebb [ahrs] fix 1e filter for IMU, split binding and sending ID for aligner
The ABI id of the aligner should be different for binding (selecting an
imu) and sending (giving the result of alignment).
Also, binding ID for aligner has no reason to be the same than the one
of the IMU. For now, easier is to bind to broadcast id.
2022-10-06 14:32:36 +02:00
Gautier Hattenberger 5b5604250c [imu] apply signs corrections on default configurations
only needed for single imu config
2022-10-06 14:29:14 +02:00
Fabien-B 2a580c0c7e [server] extract airspeed from AIR_DATA message. (#2914) 2022-10-05 16:24:51 +02:00
Gautier Hattenberger 1a9fbc348a [imu] fix old config compat for axis signs (#2912) 2022-10-04 09:29:06 +02:00
Freek van Tienen 6f2634c8bb [imu] Fix old imu references (#2910) 2022-09-29 14:07:46 +02:00
Gautier Hattenberger e47ada4298 [nav] fix glide computation with a cast uint->int (#2909)
fix #2906
2022-09-28 15:51:46 +02:00
Gautier Hattenberger d721d0c727 Update conf enac imav (#2905)
* update enac conf and imav2022 flight plans

* collection of small corrections and improvements

- default mode is NAV for rover steering
- no rover throttle when killed
- xbee link doesn't send data to modem before end of config
- fix alt in server (geoid/ellipsoid)
- support GPS_INT in sd2log
- don't increment position in follow module
- use correct angles for hybrid
2022-09-28 15:34:59 +02:00
Gautier Hattenberger a1078c43f4 avoid mixing pacc and hacc 2022-09-28 15:28:15 +02:00
Gautier Hattenberger 9a27eea7a7 [gps][ins] improve gps support for ins filters
- use conveniance functions to access GPS position and speed
- try to improve support of UBX fix status
- gps.h compatible with cpp files
2022-09-28 15:28:15 +02:00