Commit Graph

14855 Commits

Author SHA1 Message Date
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
Ewoud Smeur 46cc24e116 [hybrid vehicles] define an airspeed to use for coordinated turn (#2011)
This variable is for calculation of the turn speed, and does not influence the airspeed.
With a higher speed, the vehicle will turn less in a turn with the same roll.
2017-02-15 11:28:38 +01:00
Ewoud Smeur 6d2d22f764 Don't reset indi parameters on enter 2017-02-14 20:22:57 +01:00
Open UAS 9d8e2c0603 get in line with PR2009 2017-02-14 20:00:39 +01:00
Open UAS 7c1216f94f Makes a pull request a bit easier 2017-02-14 19:58:22 +01:00
OpenUAS 6432874c2f Merge pull request #2010 from paparazzi/fix_configs
Start of config cleanup
2017-02-14 19:05:51 +01:00
TU Delft 082294ed06 Start of config cleanup 2017-02-14 18:23:22 +01:00
knmcguire ed9a15ca6f Generic rotation matrix for mounted stereocamera (#1998)
This pull request adds a rotation matrix to the stereocam module group. The stereocam in combination with the lisa-s, the new lisa MXs, and the ardrone are usually mounted on there in different direction (facing backwards, forwards and downwards). Before, we had to constantly double check the direction of the velocities to transform that manually to body fixed coordinates, which was very prone to mistakes. Same goes with the derotation of optical flow on the stereocam.

This addition should make it easier and more generic for platforms with the mounted stereocamera.
2017-02-13 20:29:27 +01:00
Ewoud Smeur df32f7de80 [fix] Correct cpu_ticks_per_sec for chibios 2017-02-13 18:36:30 +01:00
Gautier Hattenberger feedf244e8 Merge pull request #2008 from paparazzi/auto_imu_scaling
MPU based IMUs: default scaling based on selected range
2017-02-13 09:47:52 +01:00
Michal Podhradsky 9842681122 [chibios] Initial support for VMS ECU 1.0 (documentation to be added on the wiki later) 2017-02-12 18:50:39 -08:00
Michal Podhradsky a64141f406 Fix typo in makefile 2017-02-12 18:50:22 -08:00
Felix Ruess 6ca62208ff [imu] scaling based on range for MPU9250 IMUs 2017-02-12 17:38:04 +01:00