Commit Graph

361 Commits

Author SHA1 Message Date
Christophe De Wagter 609241add3 [airspeed] reduce number of airspeed raw messages: (#3094)
* [airspeed] reduce number of airspeed raw messages: ETS, MS45xx, SDP3x, UAVCAN -> RAW

* compile warning

* typo

* Update sw/airborne/modules/sensors/airspeed_ms45xx_i2c.h

* warning

* UAVCAN -> RAW

* ETS register airspeed

* AIRSPEED_RAW in telemetry

* cleanup SYNC-SEND but use register-telemetry instead

* [ardrone] Fix values variable

* [sim] Fix compile warnings discaring const

* [modules] Fix airspeed ETS

---------

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2023-09-22 12:04:13 +02:00
Freek van Tienen ff415a62bd [mavlink] Update to protocol V2 2023-09-18 12:09:49 +02:00
guidoAI a40e0fa4e1 Pull request with all the code for 6 DOF optical flow control, the ba… (#3028)
* Pull request with all the code for 6 DOF optical flow control, the basis of a Nature and Nature Machine Intelligence paper.

* Camera ID was already added.

* Remove a duplicate airframe file.

* Cleanup

* Simulator does not work with opticflow

* Incorporated comments review

* fix provides

---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
2023-09-13 15:46:23 +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
OpenUAS 4ef8b85690 PPM input, GPS input and Telem etc. all working now (#3000) 2023-02-28 18:38:32 +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
Freek van Tienen 6fa9cdfa53 [imu] Add heater and temperature options (#2929) 2022-10-27 14:00:13 +02:00
Freek van Tienen 1307cff084 [modules] Remove imu_mag_current module 2022-09-20 14:37:58 +02:00
Jesús Bautista Villar 9098b7c1dd GVF firmware adjusted to work with GVF Viewer (#2893) 2022-08-31 15:37:52 +02:00
Freek van Tienen a0e00fd753 [ins] EKF2 update to latest version (#2829)
* [conf] Add splash4 airframe
* [ins] Update EKF2
* [ekf2] Add support for optitrack and update gps datalink module
* [modules] Fix gps datalink module heading calculations
* [ground] Remove old natnet2ivy
2022-04-12 11:08:20 +02:00
Gautier Hattenberger e075daf06f [module] wind estimation from quadrotor motion (#2800)
- add a generic linear kalman filter lib
- add a quad model with linear drag and simplified for recent jsbsim
- add example frame and noisy NPS sensor config

see "Estimating wind using a quadrotor" in IMAV2021 proceedings
2021-11-28 22:24:44 +01:00
Freek van Tienen dcceffe1b4 Pixhawk ADC 5 and ADC 6 (#2762)
* [actuators] Add randomness to UAVCan telemetry

* [conf] Update Nederdrone

* [boards] Add ADC5 and ADC6 for the pixhawk 4
2021-08-30 20:55:03 +02:00
Freek van Tienen 47c591f6fb [combined] Small fixes (#2750)
* [conf] Add NederDrone Trailing edge motors

* Update the enter function of guidance_indi_hybrid

* added guidance hybrid message

* [ekf2] Fix EKF2 capabilities to fly with optitrack system

* [ground] Add Herelink python script for logging RSSI

Co-authored-by: Ewoud Smeur <e.j.j.smeur@tudelft.nl>
2021-07-15 15:50:11 +02:00
Freek van Tienen 627ecce31b [actuators] Add UAVCAN actuators for chibios (#2511)
* [actuators] Add UAVCAN actuators for chibios

* [conf] Fixes for Nederdrone

* [conf] Cleanup nederdrone

* [boards] Fix FMUv5 i2c DMA

* [conf] Fixes for Nederdrone4

* [actuators] Add uavcan simulator

* [uavcan] Rewrite to seperate module for actuators and sensors
2021-04-20 14:10:25 +02:00
hendrixgr ce5d9680e6 Fix some errors, added two modules and improved OSD files (#2614) 2020-11-15 22:22:19 +01:00
hendrixgr 8b56049d21 [board] add support of the MatekF405 board
includes baro bmp280 and updated max7456 osb

Squashed commit of the following:

commit 647ec61a9a16966b523bbf5f535ce85679785c9a
Author: Gautier Hattenberger <gautier.hattenberger@enac.fr>
Date:   Wed Oct 14 18:33:02 2020 +0200

    [conf] matek board module only configure internal sensors

    it makes it easier to reuse by other people

commit 9bfa96685d
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 17:41:32 2020 +0300

    Easyglider with Matek F405 Wing autopilot airframes

    Added coordinated turning using both the ailerons and the rudder in Auto2

commit e736781ac3
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 17:40:05 2020 +0300

    Easyglider with Matek F405 Wing autopilot airframes.

    I added the combi switch for coordinated turns using both the alilerons and the rudder in Auto2.

commit 8be348a1d8
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 17:39:02 2020 +0300

    Easyglider with Matek F405 Wing autopilot

    I added the combi switch for coordinated turns using both the alilerons and the rudder in Auto2.

commit c0f7339686
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 16:19:35 2020 +0300

    Easyglider and Matek wing autopilot module autoload file

    I just added some comments.

commit c4645705ad
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 16:12:44 2020 +0300

    Easyglider with Matek wing autopilot and module autoload/

    This airframe file needs the paparazzi/conf/module/board_matek_wing.xml file in order to compile.

commit 2c273589d3
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 16:04:50 2020 +0300

    board module for auto loading the required modules

    I don't usually change those airframe modules so i put them all in the board module file.

commit 58e1e551d1
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 13:34:18 2020 +0300

    Removed the Baro definitions and cleaned up the file.

commit a1a47ec150
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 13:30:02 2020 +0300

    Corrected the autopilot type and link to the manufacturer.

commit 870f2d2e94
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 13:26:41 2020 +0300

    Removed the .xml file type from modules and changed the spoken aircraft name.

commit 700141cc9c
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 08:05:31 2020 +0300

    Added support for the Matek F405 Wing autopilot OSD.

    Removed all warning and pragma messages and used PRINT_CONFIG_MSG() instead.
    Added support for rotorcrafts which i don't like....
    Matek osd will work now, TEXT artificial horizon is added, additional string format capabilities are given in the osd_put_s() and osd_sprintf() functions , able to inject special osd character code in to a string to be sent to the osd display
    and the code now checks the osd chip's busy flag instead of waiting and hoping that the OSD is not busy.

commit fe17c0250c
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 07:30:11 2020 +0300

    Update osd_max7456.xml

    I removed the PAL or NTSC selection because i think this should be done in the airframe file.

commit a1966511f9
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 22:38:21 2020 +0300

    Matek F405 Wing OSD support

    Added support for rotorcrafts which i don't like....
    Matek osd will work now, TEXT artificial horizon is added, additional string format capabilities are given in the osd_put_s() and osd_sprintf() functions , able to inject special osd character code in to a string to be sent to the osd display
    and the code now checks the osd chip's busy flag instead of waiting and hoping that the OSD is not busy.

commit 4edaecc3bf
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 21:34:38 2020 +0300

    Matek OSD support

    I changed the HOME waypoint altitude to ground alt in order to avoid a compiler error about not finding  waypoints[WP_HOME].a
    Matek osd will work now, TEXT artificial horizon is added, additional string format capabilities are given in the osd_put_s() and osd_sprintf() functions , able to inject special osd character code in to a string to be sent to the osd display
    and the code now checks the osd chip's busy flag instead of waiting and hoping that the OSD is not busy.

commit 201d5e7793
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 19:51:15 2020 +0300

    Delete Easystar_matek_f405_wing.xml

commit a6730fb148
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 19:49:50 2020 +0300

    Easyglider airframe file corrected.

    It had the parachute radio channel in it which doesn't exist but strangely it was compiling fine here until i deleted the aircraft and created a new one.

commit a430091754
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 18:26:31 2020 +0300

    Baro BMP280 files

    I can only test the BMP280 in I2C mode so SPI must wait...

commit 2bc25212ac
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 18:22:47 2020 +0300

    Barometer BMP280 files

    This time only double precision is available.

commit 03dc09de77
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 18:18:16 2020 +0300

    Matek F405 Wing board header file

    The Matek autopilot can measure up to 104A so logically 104 /4096 step of the ADC should give 25,3 ma for every adc count.
    Some measurements are needed.

commit c77c2365da
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 18:04:49 2020 +0300

    Barometer BMP280 module XML file.

commit 2e3721bbad
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 16:21:06 2020 +0300

    Improved OSD and Matek type OSD support.

    Matek osd will work now, TEXT artificial horizon is added, additional string format capabilities are given in the osd_put_s() and osd_sprintf() functions , able to inject special osd character code in to a string to be sent to the osd display
    and the code now checks the osd chip's busy flag instead of waiting and hoping that the OSD is not busy.

commit f67172d1a6
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 15:48:54 2020 +0300

    Radio file for OPENTX radios and 8 channels PPM signal

commit 294341357e
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 15:45:37 2020 +0300

    Telemetry file for use with the orangerx loaded with the OPENLRSNG firmware

    Telemetry file for use with the orangerx 433 Mhz receiver or any other OPENLRSNG capable receiver.
    The OPENLRSNG receivers have a transparent serial datalink built in to the radio control signal thus eliminating the need for a separate modem.

commit e8905c8158
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 15:38:53 2020 +0300

    Easystar glider with the MATEK F405 WING

    Airframe file of the Easystar powered glider with the Matek F405 Wing autopilot.

commit de3f5f54b3
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 12:33:09 2020 +0300

    improved osd

    Matek osd will work now, TEXT artificial horizon, additional string format capabilities, able to inject special osd character code in to a string to be sent to the osd display
    and the code now checks the osd chip's busy flag instead of waiting.

commit 78ae7cccc3
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 12:27:56 2020 +0300

    matek f405 wing autopilot makefile
2020-10-14 21:30:16 +02:00
Hector Garcia de Marina f38be8110c GVF Parametric (#2559)
Co-authored-by: Hector Garcia de Marina <hgdemarina@gmail.com>
2020-09-18 20:52:35 +02:00
Gautier Hattenberger 09c0c8ccb9 Aircraft generator (#2545)
* [ocaml] massive update of the build process
convert individual code generator to a single process, parsing everything once and calling the required generators
- remove all subsystems makefiles
- fix module name
- example of radio file without ctl attribute

* [build] start with flight plan to make semaphore happy
* [ocaml] move the buffer outside the lazy block
for some reason, it seems to make problems with compilation server
Semaphore
it really makes no sense, but nevermind...
2020-07-05 21:38:09 +02:00
OpenUAS 9c4a98028a Fixes PR #2475 (#2478) 2020-02-04 04:29:55 -04:00
Gautier Hattenberger 5b8a9ce371 [rover] small corrections and user files for rover operation 2019-07-01 12:16:11 +02:00
Freek van Tienen 009b121cfd [ins] Add EKF2 from the PX4 ECL library (#2402)
* [abi] Add timestamp to AGL and BARO_ABS

* [make] Add support for c++0x for all architectures

* [math] Add air density calculation

* [gps] Add horizontal and vertical position accuracy

* [boards] PX4FMU change default baudrate and add SBUS

* [ins] Add EKF2

* [tests] Add Bebop2 with EKF2

* [nps] Fix jsbsim simulator initialisation and GPS accuracy
2019-04-12 23:12:31 +02:00
Freek van Tienen 27c12a5dc6 [modules] Add TFMini lidar (#2395) 2019-02-27 13:32:02 +01:00
Freek van Tienen 4536f43c75 [chibios] Add PX4FMU V4 (pixracer) (#2394) 2019-02-26 10:31:18 +01:00
Hector Garcia de Marina 46a8bfb0a2 Futaba16SZ, units in circular formation, and no IMU in default msg cfg (#2382)
* fixed tab and IMU not necessary in default

* explicit units

* Futaba T16SZ conf file

* units

* fixed tab and IMU not necessary in default

* explicit units

* Futaba T16SZ conf file

* units
2019-01-29 11:19:24 +01:00
Kirk Scheper 70d221ed62 upgrade voltage and current to float (#2360)
merged with https://github.com/paparazzi/pprzlink/pull/95
2019-01-15 18:26:07 +01:00
Michal Podhradsky 8d7c8a501e Update AggieAir config (#2352)
* Update AggieAir config

* Moved  nodes into  section
2018-11-27 08:55:52 +01:00
Christophe De Wagter 9e1077dcf6 JeVois-Mavlink: push ABI messages on reception (#2342)
* JeVois-Mavlink: push ABI messages on reception

* Pprzlink changed SHA when merged
2018-10-05 09:27:26 +02:00
Gautier Hattenberger de839dc76d Merge pull request #2320 from enacuavlab/mekf_wind-integration
Mekf Wind INS
2018-09-07 22:39:55 +02:00
OpenUAS f096b4c73a Added Disco camera support and more fixes (#2319) 2018-09-07 17:20:52 +02:00
Gautier Hattenberger cb3b80e6e4 [system] various update
- flight recorder
- configurable power switch init
- configurable chibios AP stacks
2018-09-05 16:10:02 +02:00
OpenUAS 3454fdcfad Parrot Disco stage 1 of fixes added (#2303)
* Well flying Disco with fixes and extentions
2018-07-31 23:07:21 +02:00
Gautier Hattenberger 2114b8ae4e [firmware] add rover firmware
Basic support for a rover firmware based on ChibiOS and generated AP:
- simple control loop
- new navigation layer based on registered functions
- xbee_api for telemetry, gps_passthrough for ins
- basic telemetry and settings files
2018-06-23 21:51:48 +02:00
Christophe De Wagter 7b3988f2a9 [rpm_control] throttle curves with RPM control 2018-06-21 15:30:38 +02:00
Michal Podhradsky 606cd4eea2 Crypto updates (#2245)
* Cleaned up GEC code

* Added airborne support for pprzlink 1.0

* Update hacl-c

* Add proper indexing for pprz messages

* Updated airframe config for secure link

* Code style changes and updated code style script

* Bump rustlink

* Compilation fixes
2018-03-17 19:25:23 -07:00
Titus 30ab122e91 Monocular Optical Flow hover (#2239) 2018-03-12 14:39:13 +01:00
Michal Podhradsky d66fc0c3b7 galois embedded crypto module and secure transport (#2205)
* Added RNG for NPS, cleaned up telemetry config files
* Added Rust submodules
* Added simple status message
* Updated gec transport and key exchange
* Update pprzink
* Compilation fix for Travis
2018-01-19 00:09:17 +01:00
Michal Podhradsky 528a7b5882 Update AggieAir configs 2018-01-12 11:36:51 -08:00
Tom van Dijk 73993ee708 Drag-based velocity estimator (#2132) 2017-11-13 10:28:25 +01:00
Ewoud Smeur 2e0a520bb7 Rename TUDELFT to tudelft, remove tudelft_ prefix 2017-10-30 17:30:10 +01:00
Michal Podhradsky 28c343468d Refactor battery monitor to use asynchronous i2c API (as does regular paparazzi) (#2082) 2017-06-21 11:29:53 -07:00
Michal Podhradsky 8806e853f3 Aggieair updates (#2081)
* Updated aggie air configs

* Updated configs and some small compilation fixes

* Added layouts and control_panel updates

* An example with a new flight plan. Note the plane doesn't fly very well because of the model mismatch.
2017-06-21 10:51:53 -07:00
guidoAI 30d5e73242 Exponential gain landing pull request (#2071)
* Adding bebop to my own conf file

* Added Bebop 2 OF to my conf file

* Introducing an exponentially decaying gain and a rework of the optical flow landing module

* Fixed code style, set parameters to standard optical flow control, tested everything on Bebop 2.

* Implemented all remarks, placing function definitions in the c-file, getting the state properly, getting the time properly, making div_factor a setting.

* Set minimum of D-gain to 0
2017-06-13 22:06:42 +02:00
Open UAS 9fb9d310e0 Added LisaS based Fixedwing UMX SBach 342 2017-05-30 11:20:01 +02:00
Open UAS 2a1eea87ac Fixedwing for Pixracer 2017-05-30 08:12:20 +02:00
Michal Podhradsky 005b5cbc14 Updated aggieair conf 2017-05-06 13:37:14 -07:00
Michal Podhradsky ca68570d03 Mission Computer and payload computer support (#2053)
* Copilot module
* Added mission computer status
* modules_parse_datalink() now accepts arguments
* Update pprzlink
* Update cartography module to comply with the extended CAMERA_SNAPSHOT message
2017-04-19 18:11:54 +02:00
Michal Podhradsky 8f1e082cfe [HITL] Fixed fixedwing simulation - runs now nicely with Minion Lia as an example (#2054) 2017-04-15 23:16:44 +02:00
Gautier Hattenberger 3f4a05d13a [rtcm] RTK with UBlox8 modules (#2034)
* [rtcm] RTK with UBlox8 modules

based on #1902, with fragmentation of packets to fit in RF modems if
necessary

* fix warnings

* [pprzlink] update pprzlink for RXMRTCM message

* [rtcm] add missing files
2017-03-18 16:03:17 +01:00
Gautier Hattenberger aea1d5f8e9 [sdlog] update sdlog for chibios (#2029)
* [sdlog] update sdlog for chibios

- fix several small bugs
- update to fatfs 0.12b
- add status report

* calculate mass storage thread size accordingly to ffconf choice for _USE_LFN and _FS_EXFAT

* [sdlog] improved documentation
2017-03-01 13:05:48 +01:00
Gautier Hattenberger 41ae80a307 Wind estimation (#2028)
* [nps] add angle of attack and sideslip to NPS

* [module] extra_dl can work with nps

* [module] add sideslip sensor to aoa_pwm module and fix apogee board file

* [module] add wind estimation module

This module is an experimental wind estimation filter based on UKF that
aims at estimating all 3 local wind components in real-time.
It is based on ChibiOS as the algorithm runs in a dedicated thread.
The algorithm itself is generated from a Matlab/Simulink model.

* [tool] read Meso-NH meteo data and feed NPS with wind information

* [module] remove nps target from extra_dl, uart not well supported on FW

* [mesonh] remove unused UDP interface

* [chibios] add compilation error message for wind estimator module
2017-02-28 10:42:58 -08:00