Commit Graph

20468 Commits

Author SHA1 Message Date
Matthias Grob 0dbdde3404 Arming: made flags more understandable, added error message for rejected disarm 2016-12-20 09:46:36 +01:00
Matthias Grob f6282f5b3d Arm button fix: include the arm switch into the structure of all the checks for RC arming 2016-12-20 09:46:36 +01:00
Matthias Grob 94c8371ffe Arm button fix: toggle arming state only once per arm button press 2016-12-20 09:46:36 +01:00
Matthias Grob 8a75827d6a fixed all comments of arm button review 2016-12-20 09:46:36 +01:00
Matthias Grob aa984edd90 added an rc switch for arming and disarming with the option to use it as a button 2016-12-20 09:46:36 +01:00
Matthias Grob 537f72073d minor: uppercase typo and unused header 2016-12-20 09:46:36 +01:00
Lucas De Marchi 292599d3c9 Revert "px4fmu rcS: increase mavlink rate to 100000 for SYS_COMPANION 1500000"
This reverts commit e3537ca6c2.

It needs changes on the Linux side, so reverting for now.
2016-12-20 08:56:38 +01:00
Lucas De Marchi f48605b975 Revert "aerofc: use logger when autoconfig"
This reverts commit e4e5a77f71.
2016-12-20 08:56:38 +01:00
Lucas De Marchi 03be988ebe aerofc: fix defining PX4FMU_V4 macro
We were defining both macros. Fix it by using changing to AEROFC_V1.
Also remove a leftover from board rename.
2016-12-20 08:51:14 +01:00
Lucas De Marchi 9468e7779a aerofc: use same macro name as px4fmu boards 2016-12-20 08:51:14 +01:00
Lucas De Marchi eaa2cf7d99 aerofc: fix LED names
There are no blue/red LEDs and these names just causes confusion with
the "always-on LEDs".
2016-12-20 08:51:14 +01:00
Lorenz Meier 3e8061c3cd Iris mixer: Update naming of mixer 2016-12-19 20:39:48 +01:00
Lorenz Meier 83b177c5ad DC mixer: Fix geometry for Iris 2016-12-19 20:39:48 +01:00
Lorenz Meier 6b0ac296b6 Fix usage of Iris mixer, make space by deleting unused files 2016-12-19 20:39:48 +01:00
Lorenz Meier 92c35f26be Tests: Correct use of unsubscribe 2016-12-19 20:39:03 +01:00
Lorenz Meier 313ff2a6f2 UAVCAN: Correct use of unsubscribe 2016-12-19 20:39:03 +01:00
Lorenz Meier 1d98c8f202 MAVLink app: Correct use of unsubscribe 2016-12-19 20:39:03 +01:00
Lorenz Meier 3532b48411 TAP ESC: Correct use of unsubscribe 2016-12-19 20:39:03 +01:00
Lorenz Meier 97ce9edcac FMU: Tighter compile checks and correct use of unsubscribe 2016-12-19 20:39:03 +01:00
Lorenz Meier 4b99a8f28c Fix sf1xx start 2016-12-19 20:37:40 +01:00
Lorenz Meier dfed9a3f13 Fix nullptr access in mixer group. This was only ever an issue on booboot and not in flight. 2016-12-19 20:36:05 +01:00
Lorenz Meier 6e32d0b52b Update ECL to include data validator fixes 2016-12-19 20:34:52 +01:00
Lorenz Meier c91f827072 sensors app: Always run validator so it gets updated and can detect timeouts 2016-12-19 20:34:52 +01:00
Lorenz Meier 143086ba2c HMC5883: Harden shutdown logic 2016-12-19 20:34:52 +01:00
Lorenz Meier 5759fd5726 GPS app: Increase stack to ensure 300 bytes headroom 2016-12-19 20:34:52 +01:00
Lorenz Meier fe5cc5622b Failover logging in sensors app: Trim down strings 2016-12-19 20:34:52 +01:00
Lorenz Meier b91b0463d2 Update ECL lib to include failover fix for one sensor case 2016-12-19 20:34:52 +01:00
Lorenz Meier cc7db94edc Sensors app mag voter: Increase stale value detection threshold to accomodate low-noise mag setups 2016-12-19 20:34:52 +01:00
Lorenz Meier 077f22ece7 HMC5883: Make driver stoppable to simplify system validation 2016-12-19 20:34:52 +01:00
Lorenz Meier 0e93b75ced Update ECL library to include configurable stale sample counts 2016-12-19 20:34:52 +01:00
Lorenz Meier 8297e979ff ECL: Update to include whitespace fixes 2016-12-19 20:34:52 +01:00
Lorenz Meier c62c3c98bf uORB devices: Guard more against invalid handles fed to publish routine 2016-12-19 20:34:52 +01:00
Lorenz Meier ca59d4cddb Simulator: Initialize ground truth topic handle 2016-12-19 20:34:52 +01:00
Lorenz Meier df613361b9 LPE: Increase stack to allow enough safe margin 2016-12-19 20:34:52 +01:00
Lorenz Meier 9667c98b61 Start UAVCAN in the two phases required 2016-12-19 15:13:05 +01:00
Dennis Mannhart e2ded396c8 Snapdragon pwm (#5940)
* px4 pwm driver for snapdragon

* added driver to cmake file

* applied review changes and adjusted format

* adjustement to review 2

* run formatting

* added timeout initialization
2016-12-16 18:41:45 +01:00
Mark Whitehorn 48778ed3f2 bump parameter minor version 2016-12-16 18:12:17 +01:00
Mark Whitehorn bad2dc80a4 change default THR_MDL_FAC to zero (disabled) 2016-12-16 18:12:17 +01:00
Mark Whitehorn e5f4f50a52 add param_find for THR_MDL_FAC 2016-12-16 18:12:17 +01:00
Roman d0d9ee373b bebop config: increase logger buffer from 20kB to 200kB
Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-16 00:15:25 +01:00
Roman 5b0a1d4b2a updated DriverFramework: activated dlpf in mpu6050
Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-16 00:15:25 +01:00
Roman daa88f69db bebop2 config: updated some positon control params for decent performance
- this is not the final tune!!!

Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-16 00:15:25 +01:00
Roman b0bca24526 bebop2 config: use logger instead of sdlog2
- sdlog2 drops lots of data and logs very, very irregularly

Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-16 00:15:25 +01:00
Mark Whitehorn 381a565ce3 add THR_MDL_FAC parameter handling to FMU 2016-12-15 23:39:53 +01:00
Roman d221313dfb implemented mapping between desired thrust and applied pwm in
multirotor mixer.

Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-15 23:39:53 +01:00
Dennis Mannhart 22733b1501 mc_pos_control: dont run alt-control when landing 2016-12-15 10:17:03 +01:00
Julian Oes ef7ade52b1 mc_pos_control: stay landing even after freefall
This fixes the following case:
1. VTOL in auto mission descends to land
2. _in_landing is set to true correctly
3. _lnd_reached_ground is set to true because it's detected, motors idle.
4. The vehicle might drop for a few centimeters and _acc_z_lp goes back
   up above 4m/s^2, so freefall is detected.
5. The motors spin up again, and _in_landing and _lnd_reached_ground are
   both reset to false.
6. Since we're floating at a few centimeters, we can't actyally get to
   _vel_z_lp > 0.5, and therefore _in_landing is never triggered after.
7. Thus we never finish the landing.

This is fixed by only resetting _lnd_reached_ground to false but
leaving _in_landing true.
2016-12-15 10:17:03 +01:00
Julian Oes 70fec788d9 mc_pos_control: allow takeoff in offboard mode 2016-12-15 10:17:03 +01:00
Julian Oes 072ba51064 mc_pos_control_main: changes got lost in rebase 2016-12-15 10:17:03 +01:00
Julian Oes b285827f52 mc_pos_control: remove leftover printf 2016-12-15 10:17:03 +01:00