Commit Graph

6542 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
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
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
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
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
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
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
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
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
Ewoud Smeur 6ffd819f33 Module with servo tester function (#2001)
useful for identifying the response of a servo
2017-02-12 14:36:23 +01:00
Michal Podhradsky 1a783c5edd [chibios] Initial support for PX4FMU_v2 2017-02-11 18:50:32 -08:00
Michal Podhradsky 53c42e3233 [chibios] Support for Lisa M 2.0 and 2.1 boards 2017-02-11 11:33:50 -08:00
Michal Podhradsky 1af7460619 [chibios] Lia bootloader now works with Chibios (a custom linker script was needed) 2017-02-11 11:18:19 -08:00
Michal Podhradsky 35c38041f6 [chibios] Lia works without bootloader (only LED flash tested), ChibiOS is having issues with a bootlodaer (probably something with the linker script) 2017-02-11 10:43:42 -08:00
Michal Podhradsky e921f08c91 [chibios] Initial support for Lia board (untested) 2017-02-11 10:10:07 -08:00
Michal Podhradsky 38caab953e [chibios] Pass luftboot vector table shift to Assembler flags 2017-02-11 10:09:06 -08:00
Michal Podhradsky 08f7e4c56e Allow BMP JTAG on Lia board 2017-02-11 10:07:39 -08:00
Michal Podhradsky 316c45b501 Remove debugging console output from the makefile 2017-02-10 17:33:19 -08:00
Gautier Hattenberger 67d54d7994 [conf] fix conf for blender airframe 2017-02-10 23:30:25 +01:00
Felix Ruess a386448edb radio_control_spektrum: better document USE_DSMX define 2017-02-09 23:11:12 +01:00
Ewoud Smeur 12d6c35c25 [INDI] support for servos (#2005)
Now you can add dynamics for servos next to the first order dynamics of
motors. Also, you can give a rate limit in PPRZ/loop units
2017-02-09 10:39:26 +01:00
Ewoud Smeur 8340f82d02 some settings for indi full (#2002) 2017-02-09 10:23:34 +01:00
Gautier Hattenberger ca801af1c7 [chibios] rename some variables in makefile 2017-02-07 12:48:03 +01:00
Michal Podhradsky dcae49bed3 Cleaned up ChibiOS makefile script (now depends on linker scripts in chibios directory)
Added first part of lia_1.1_chibios makefile
Tested on Lisa MX
2017-02-06 18:38:46 -08:00
Gautier Hattenberger b1f6cde2c2 [rotorcraft] add support of ChibiOS for the rotorcraft firmware (#1999)
* [rotorcraft] add support of ChibiOS for the rotorcraft firmware

allows in particular to use the SDLOG on Apogee boards, and any modules
based on chibios threads in general

* [rotorcraft] also port rotorcraft FBW part to chibios
2017-02-06 21:42:15 +01:00
Ewoud Smeur 841d83ec81 Matlab script for estimating control effectiveness (#1994) 2017-02-06 21:40:33 +01:00
Ewoud Smeur fc9fafee26 Warn if GUIDANCE_INDI_RC_DEBUG is true 2017-02-06 21:38:09 +01:00
Michal Podhradsky 04e138c6a3 [px4] Allow SWD flashing for px4_io 2017-02-03 16:42:51 -08:00
kevindehecker 04025de32d Disable default uart6 intermcu port for none intermcu px4 boards (#1997) 2017-02-02 18:51:16 +01:00
Open UAS 32b4cca75b Part of current config cleanup 2017-02-02 09:55:10 +01:00