Commit Graph

14867 Commits

Author SHA1 Message Date
Ewoud Smeur 46fd092595 Fix typo in indi_simple 2017-03-13 14:05:24 +01:00
Gautier Hattenberger e733db4f47 [chibios] add missing board include in pwm_input driver 2017-03-10 11:45:24 +01:00
Alexandre Bustico 1ef3ca0547 raise dynamic ram pool size and sdLog ram cache size on STM32F7 (chimera) 2017-03-09 19:01:13 +01:00
Gautier Hattenberger 3b82986c1f [chimera] swap ADC affectation on AUX1 and 2 2017-03-09 18:52:19 +01:00
Felix Ruess fe957c7a7a [travis] run test_all_confs on cron job 2017-03-09 12:14:54 +01:00
Alexandre Bustico 409ae11f6a [sdlog] fix some bugs
- fix dma buffer allocation for STM32F7 in sd logger and usb storage
- fix sdLog race condition when sdLogWrite are done at high frequency before sdLogInit/sdOpenLog are done
- fix calls to APi that shluld have been atomic : two fonctions are merged in one at the expense of long argument list
- add attribute format to sdLogWriteLog function (add more static checking)
2017-03-08 18:44:50 +01:00
Gautier Hattenberger 210f94befa [arch] add empty gpio functions for linux arch
required to compile disco with SBUS
2017-03-08 11:23:21 +01:00
Michal Podhradsky 0b633e825c [imu] Vectornav as IMU (gyro and accel data only) (#2032)
* [imu] Vectornav as IMU (gyro and accel data only)

* [vectornav] Added simple Vectornav configuration tool.
2017-03-07 11:53:46 -08:00
Ewoud Smeur d85ae584bd simulation of bebop1 (#2033)
* simulation of bebop1

* update bebop sim with correct motor pos
2017-03-07 11:52:43 -08:00
Maximilian Laiacker ae8141490d added hott sumd radio control input (#2030)
Added Graupner HOTT SUMD serial rc control protocol.
I used the sbus implementation as base for the hott sumd input.
Tested with lisa m 2.0 uart1 and Graupner GR-12L with 9 and 12 channels.
Should work with 2 to 32 channels.
and example airframe config.
2017-03-06 21:23:53 +01:00
Michal Podhradsky 1a4cf57b0c [vms_ecu_demo] Added debugging message 2017-03-04 15:40:03 -08:00
Michal Podhradsky ae7b16411a [vms_ecu] Updated board config and added test module 2017-03-04 15:34:01 -08:00
Felix Ruess a5bb235fcb Merge pull request #2027 from martinmm/master_ins_temp_ctrl
- add temperature control module for Bebop2
- add usb dual cdc board to Bebop2 for serial modem and payload
  -  Sparkfun FIO v3 board adds simultaneous XBee serial modem and SHT75 humidity payload sensor.
2017-03-04 14:10:45 +01:00
Martin Mueller 0abc28a501 [joystick] add logitech 310 and ppm2usb adapter 2017-03-02 21:28:09 +01:00
Martin Mueller c062daec54 [bebop2] add example ac for usb cdc 2017-03-02 21:28:03 +01:00
Martin Mueller c8f657b39e [bebop2] add usb dual cdc board to Bebop2 for serial modem and payload
Sparkfun FIO v3 board adds simultaneous XBee serial modem and SHT75
humidity payload sensor.
2017-03-02 21:27:45 +01:00
Martin Mueller 784813824a add temperature control module for Parrot Bebop2/Disco
It is possible to control the temperature of the MPU6xxx in the Bebop2
and Disco through resistors powered by PWM_6. Code mostly taken from
Ardupilot

Seems this does not make a big difference even if flying in cold
conditions but does rather improve things than do harm. MPU temperature
will go to about +15 deg C in a Bebop2 at 0 deg C ambient temperature.
Having the gyro/accel calibrated at just below +50 deg C after running
the original Parrot software creates a 30+ deg C change.
2017-03-01 21:53:37 +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
Michal Podhradsky 356062f2f5 [wind_estimator] Typo fix and added link to the Simulink repo 2017-02-28 13:06:43 -08:00
Michal Podhradsky d2cfeb716c [iris] minor config changes 2017-02-28 13:02:56 -08: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
Gautier Hattenberger 5f269044ae [led] fix compilation warning for lisa/l
not a proper DISABLE function, but lisa/l is not really used anyway
2017-02-27 23:42:12 +01:00
Ewoud Smeur 099284f0bb include generated modules to use the module freq 2017-02-27 10:40:01 +01:00
Michal Podhradsky 002a36c4a7 [aggieair] Added calibration values for Iris 2017-02-24 19:43:50 -08:00
kevindehecker d585ee9b08 Added Robird 2017-02-24 22:02:09 +01:00
Gautier Hattenberger 63388b2d40 [sbus] support end bytes for SBUS2 2017-02-24 22:01:42 +01:00
Gautier Hattenberger 9f74c89f3b [autopilot] make SetRotorcraftCommand a weak function so it can be redefined 2017-02-24 22:01:42 +01:00
Gautier Hattenberger 6da5030572 Disable all LEDs (#2025)
* [led] add LED_DISABLE option to disable all LED

This is done in most case by setting the GPIO as input with high
impedance.

* [led] remove some old led code for debug in i2c

it was still based on the ST library, not used anymore
2017-02-24 09:33:56 -08:00
Michal Podhradsky e0b37d8cd2 [iris] Flight plan fixes 2017-02-23 17:18:55 -08:00
Michal Podhradsky 6d1aa6b662 [chibios] Fix PX4 upload 2017-02-23 14:45:42 -08:00
Gautier Hattenberger 4e615208c5 [autopilot] use getter function in intermcu_ap 2017-02-23 22:13:01 +01:00
Gautier Hattenberger 7282b29560 [chibios] update linker script for F1 with luftboot and fix warning 2017-02-23 21:58:37 +01:00
Michal Podhradsky 40160f1279 [conf] Added Iris. Iris_chibios and Lia chibios tests 2017-02-23 11:25:31 -08:00
Gautier Hattenberger 4e5d863291 [board] support of the Chimera autopilot based on STM32F7 (#2018)
* [board] support of the Chimera autopilot based on STM32F7

- based on ChibiOS only (updated to master for proper support of F7)
- requires some specific ram for DMA operations
- SBUS driver updated and support of internal inverted logic option of F7

* [chibios] fix some compilation errors

* [chibios] fix some a few PR comments

- test less MCU types
- support F1 for uart driver
- more autodetect for VTOR_INIT

* use correct path

* choose a working version of chibios

* [chibios] fix some comments from PR review

- add some doc
- protect LED
- update TRUE/FALSE for lowercase
- pick a slightly older version of chibios (wrong path in makefile not
  fixed yet)
2017-02-23 10:31:50 -08:00
Wilco 81fd2161c4 [bebop] Setting time when uploading ap.elf (#2024) 2017-02-23 14:32:20 +01:00
Ewoud Smeur becfaed10d Visualization of mag_current calib result (#2022)
show a plot of the fit, such that the user can see anomalies and see the significance
2017-02-22 13:42:58 +01:00
Michael Sierra 642b8e6568 [autopilot] fix autopilot motor on var for arming on switch & throttle (#2019)
Some variables were left unchanged in in the autopilot refactor.
2017-02-21 20:24:36 +01:00
Felix Ruess 37bf6e54a4 [apogee board] fix baro frequency
define BARO_PERIODIC_FREQUENCY so it is available in baro_board.c as a quick fix for #2017

baro_board will probably become a module soon anyway...
2017-02-19 23:27:53 +01:00
Michal Podhradsky 7947752a75 [vms_ecu] Added example ECU board 2017-02-19 12:14:20 -08:00
Gautier Hattenberger 363dec8693 Autopilot refactor (#2009)
* [autopilot] refactor autopilot API for both firmwares

With this, fixedwing and rotorcraft are mostly using the same interface
for the autopilot. Some specific code and messages handling are still
firmware dependent.
A large part of the autopilot logic of the fixedwing is moved from
main_ap to autopilot_static.
More getter/setter functions are provided.

* [autopilot] update the rest of the system and the conf

for using the refactored autopilot API

* [autopilot] fix some errors from CI servers

* [actuators] use dummy actuators module to prevent autoloading

* Rename Bart_heliDD_INDI.xml to tudelft_bs_helidd_indi.xml

* Rename Bart_heliDD_pid.xml to tudelft_bs_helidd_pid.xml

* Delete tudelft_course2016_bebop_colorfilter.xml

* Delete tudelft_course2016_bebop_avoider.xml

* [actuators] don't autoload actuators when set to 'none'

* [gcs] autodetect firmware for strip mode button
2017-02-19 11:45:57 +01:00
Fabien-B ded925a851 [mission] Adds insertion mode. (#2015)
Adds ReplaceNexts insertion mode
2017-02-17 21:22:05 +01:00
Michal Podhradsky a4f1cefc7e [chibios] Improved px4 support
- sensors working (SPI)
- telemetry wortking (UART)
- more to do (PWM, TIMERS, I2C, ADC...)
2017-02-17 11:15:53 -08:00
Michal Podhradsky 4e8bbbf7c0 [sdlog] Make compatible with PX4FMU_2.4 2017-02-17 10:59:06 -08:00
Gautier Hattenberger 5539bc81ac [airframe] expand airframe file includes before using it
see #2012
2017-02-17 10:34:28 +01:00
Michal Podhradsky 861986abae Vectornav as AHRS, minor fix in the float_euler stabilization settings (#2013) 2017-02-16 14:53:48 -08:00
Gautier Hattenberger 15d00ada9a Merge pull request #2000 from paparazzi/px4_chibios
Improved ChibiOS support
2017-02-16 22:15:22 +01:00
Michal Podhradsky cc779b6191 Improved defaults for Lisa M / Lisa MX 2017-02-16 11:05:11 -08:00
Michal Podhradsky 72f0a5cc28 Print ChibiOS Debug mode message only if the debug mode is ON 2017-02-16 10:58:08 -08:00
Michal Podhradsky bd4a5c2114 Clean up common makefiles for Lisa M 2.0/2.1 2017-02-16 10:52:53 -08:00
Michal Podhradsky eb5ffe1e9f Update pprzlink 2017-02-16 10:45:14 -08:00