Commit Graph

13217 Commits

Author SHA1 Message Date
Beat Küng 19a12ba75d logger: avoid memset, use braced initializer instead 2018-05-09 07:59:46 +02:00
Beat Küng 13ab5ed0d0 px4_main_t: fix method declaration throughout the code base
px4_main_t is defined as:
typedef int (*px4_main_t)(int argc, char *argv[]);
which matches with the definition in NuttX, given to task_create
2018-05-09 07:59:46 +02:00
Beat Küng 71b4ad62a1 ekf2 replay: handle multi multiple GPS instances (#9433) 2018-05-09 10:00:59 +10:00
Hamish Willee 9a7195cb2d Change offboard mode fallback option back to Manual 2018-05-08 07:04:32 +02:00
Hamish Willee 19032b91e3 Change RTL @group to Return Mode 2018-05-08 07:04:32 +02:00
Hamish Willee 66d4b495d4 Return params to reflect current mode names 2018-05-08 07:04:32 +02:00
Hamish Willee 09986237b6 Navigator failsafe action params to reflect current mode names 2018-05-08 07:04:32 +02:00
Hamish Willee 2c1eb443ca Geofence failsafe action params to reflect current mode names 2018-05-08 07:04:32 +02:00
Hamish Willee 42d1708d7c Commander failsafe action params to reflect current mode names 2018-05-08 07:04:32 +02:00
alessandro 3ed093ba59 Add baro temperature to sensor voter observation (#9411)
When determining the confidence of a barometer sensor, we should
consider the temperature as well, alongside the pressure.
Low-noise baros can show the same pressure reading for a second
or two when not moving and in an indoor location.
2018-05-04 12:40:10 -04:00
Jake Dahl 92f15283c1 changed int to float 2018-05-04 12:08:55 -04:00
Daniel Agar 2e92484325 ecl update to latest master with separate libraries (#9406) 2018-05-03 23:48:09 -04:00
Mohammed Kabir fc07b23f41 logger : log timesync topic 2018-05-03 09:59:16 +02:00
Mohammed Kabir 40df193700 sdlog2 : remove old timesync logging 2018-05-03 09:59:16 +02:00
Mohammed Kabir 39bb65ffd7 mavlink : add advanced timesync algorithm 2018-05-03 09:59:16 +02:00
Daniel Agar 977ab4e7b8 improve end to end control latency measurement (#9388) 2018-05-02 03:03:32 -04:00
Daniel Agar edea1b65cd uORB delete unused Flavor 2018-05-02 00:48:46 -04:00
Daniel Agar 8404889098 delete unused ADCSIM
- set BOARD_NUMBER_BRICKS to 0 for boards without analog power bricks
2018-04-29 21:48:54 -04:00
Daniel Agar ea3acb7121 cmake remove circular linking and reorganize
- px4_add_module now requires MAIN
 - px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Beat Küng c7c3e23f0d MC acro: update param descriptions 2018-04-27 22:34:55 +02:00
Beat Küng 12e967173d MC: set default MPC_THR_MAX & MPC_MANTHR_MAX to 1
With the updated mixer (#9062) it's safe to set maximum thrust to 1 (in
both cases, if MC_AIRMODE is set, or not set).
So I see no reason to limit the maximum thrust.
2018-04-26 14:37:48 +02:00
Beat Küng f2cee9970c MC acro: add separate params to configure yaw expo
So that it can be customized better according to personal preferences.

The limitation of 16 chars did not allow to use a better param name.
2018-04-26 14:17:16 +02:00
Beat Küng 58c757a9db mc_att_control_params: increase max acro rates to 1800
This matches the maximum rates for the attitude controller.
2018-04-26 14:17:16 +02:00
Beat Küng 332a612f35 mc_att_control_main: do not apply the yaw weight for the feedforward term
The meaning of the yaw weight changed with #8003:
- before, the yaw weight decreased with increasing tilt angle error, so
  it was mostly 1
- now, it is constant and depends on the tuning gains (around 0.4 by default)

It means that #8003 reduced the feedforward term, and we get the closer
behavior as before with this change.
It also reduces coupling between different parameters.
2018-04-25 16:33:09 +02:00
Daniel Agar fbbe1f5288 commander use new time literals 2018-04-24 00:02:48 -04:00
Paul Riseborough cbb4559c15 ecl : update to version that fixes wind relative dead reckoning bug 2018-04-24 00:02:48 -04:00
Daniel Agar 35cb2d0a9e EKF2 fix airspeed orb_copy check 2018-04-24 00:02:48 -04:00
Paul Riseborough 477a42e6f6 ekf2: Enable adjustment of nav validity timeout 2018-04-24 00:02:48 -04:00
Daniel Agar 89ad46dd15 commander delete unused DIFFPRESS_TIMEOUT 2018-04-24 00:02:48 -04:00
Daniel Agar cd69a573b5 commander restore MC nav failure latch 2018-04-24 00:02:48 -04:00
Daniel Agar f13f8f9c64 commander add COM_POS_FS_PROB and COM_POS_FS_DELAY metadata limit 2018-04-24 00:02:48 -04:00
Daniel Agar fc26fd99bd commander move remaining position failsafe params to class and cleanup 2018-04-24 00:02:48 -04:00
Daniel Agar fa9f400dbd commander update super block parameters 2018-04-24 00:02:48 -04:00
Daniel Agar b70e7433dc commander add parameters for eph, epv, evh requirements 2018-04-24 00:02:48 -04:00
Daniel Agar 0e823c82b6 FW landing check if prev valid before using (#9284) 2018-04-21 12:03:46 -04:00
Daniel Agar d75fd72c02 stop manually defining physical constants 2018-04-19 07:24:58 +02:00
Roman e7e791fb1a tailsitter: use forward transition throttle for climb-rate controlled mode
- the mc pos controller will decrease throttle during the transition
and thus the vehicle will not pick up enough airspeed to complete the
transition

Signed-off-by: Roman <bapstroman@gmail.com>
2018-04-18 17:23:38 -04:00
Roman 0f1c9504d5 FixedWingPositionControl: rotate attitude consistenly for tailsitters
Signed-off-by: Roman <bapstroman@gmail.com>
2018-04-18 16:20:15 +02:00
alessandro a05bf390c1 rc_check: typos in mavlink error 2018-04-18 13:15:16 +02:00
Hamish Willee 1a0c312f28 Fix description of VT_FW_ALT_ERR 2018-04-17 08:28:05 +02:00
Daniel Agar 7bc3a12efe commander move telemetry checks to new preflightcheck helper 2018-04-16 20:43:33 -04:00
Daniel Agar 64fb4b43b6 commander preflightCheck don't report failures during calibration 2018-04-16 20:43:33 -04:00
Daniel Agar 2271b3f127 commander preflight checks pass status and status_flags messages 2018-04-16 20:43:33 -04:00
Daniel Agar f2104217d4 commander arm_auth check last 2018-04-16 20:43:33 -04:00
Daniel Agar a2bc0bd947 commander prearm_check limit simultaneous error messages 2018-04-16 20:43:33 -04:00
Daniel Agar 55596fad20 commander move safety check to prearm 2018-04-16 20:43:33 -04:00
Daniel Agar a4703c6be4 commander arming state transition consolidate HIL special checks and remove atomic 2018-04-16 20:43:33 -04:00
Daniel Agar 54ea78898c commander arming state transition delete useless errors 2018-04-16 20:43:33 -04:00
Daniel Agar 1400652724 commander arming state machine pass checks by default
- this is needed for the unit tests
2018-04-16 20:43:33 -04:00
Daniel Agar f81a1aedcd commander state machine add global position check 2018-04-16 20:43:33 -04:00