Commit Graph

14837 Commits

Author SHA1 Message Date
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
Felix Ruess b53e1d96a9 [imu] scaling based on range for some more MPU60X0 based IMUs 2017-02-12 16:27:14 +01:00
Ewoud Smeur 184cdc9b7d [INDI] small compile error fix 2017-02-12 16:19:05 +01:00
Ewoud Smeur 98ba658b64 [indi] support rate mode (#2004)
Also prevent unused parameter warning for the thrust callback
2017-02-12 14:52:47 +01:00
Ewoud Smeur 9792de5704 [hybrid vehicles] gradually transition back from forward flight (#2003)
Before, if you wanted to go back from forward flight to hover, the pitch angle setpoint would jump back to hover. Some vehicles can handle this, but possibly not all. With this commit when you switch back the setpoint will gradually come up again, just like in the transition to forward flight.

Also add the attitude visualizer message to the indi controller
2017-02-12 14:51:46 +01: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
Gautier Hattenberger c145dfee53 [imu] auto scalin based on range
for MPU60x0 and MPU9250 drivers, used on Apogee IMU as an example
2017-02-12 12:01:59 +01:00
Michal Podhradsky 1a783c5edd [chibios] Initial support for PX4FMU_v2 2017-02-11 18:50:32 -08:00
Gautier Hattenberger 498c326ff7 [generator] always pass flight plan name as it is needed for modules.h
This should fix the error described in #2006.
But it is still a dirty hack. Rewritting all this part is a work in
(slow) progress.
2017-02-12 00:19:16 +01: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 601d942c71 [chibios] Make compatible with STM32F1 chips 2017-02-11 10:09:37 -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 e0ce4ac170 [chibios] Fix adc driver to support STM32F1xx chips 2017-02-10 17:34:47 -08:00
Michal Podhradsky 64fd5a0076 Fix vector table offset 2017-02-10 17:34:12 -08:00
Michal Podhradsky 48fa641f15 [sd_log] Fix compiler warning 2017-02-10 17:33:50 -08:00