Commit Graph

6645 Commits

Author SHA1 Message Date
Mark Charlebois 2a1ec7aad8 Removed bad integration changes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Mark Charlebois 9f3bf8e9f4 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Daniel Agar 7fbd4a0b5b sensors fix code style 2016-02-18 21:25:49 -05:00
Lorenz Meier eb11c91733 Fix airspeed check in simulation 2016-02-18 22:53:43 +01:00
sander 90276fa3a7 VTOL: check feasibility as rotary wing 2016-02-18 21:42:37 +01:00
Lorenz Meier c26b18c153 IO: Initialize PWM pins first 2016-02-18 19:01:44 +01:00
Andreas Antener 6eb2e62306 temporarily use indicated airspeed for transitions so we're consistent with tecs until we move tecs to true airspeed 2016-02-18 18:55:56 +01:00
tumbili 228a54fd51 - fixed bad pitch setpoint in fw pos controller for tailsitter
- created enum for vtol types
- minor cleanup and fixes
2016-02-18 18:55:56 +01:00
tumbili 4c61b05ef3 tailsitter, tiltrotor:
- use the transition trust when waiting for TECS to kick in
after transition
2016-02-18 18:55:56 +01:00
Andreas Antener fe89bee02a using 0 pitch and thrust FW attitude SP when TECS isn't running 2016-02-18 18:55:56 +01:00
Andreas Antener 3773eaad99 VTOL/TECS: publish transition throttle after transition until tecs is initialized and fw pos ctl is publishing att setpoint 2016-02-18 18:55:56 +01:00
tumbili fa52aa322a VTOL: pull up generic setpoint publishing 2016-02-18 18:55:56 +01:00
Andreas Antener 967b404de8 only run FW posctl in FW mode and ramp up desired airspeed for tecs after transition 2016-02-18 18:55:56 +01:00
Roman 1da686b125 TECS:
- do not run TECS for VTO which are in rotary wing mode
- reinitialise TECS the first time we start using it again
2016-02-18 18:55:56 +01:00
Julian Oes 1bbfb02430 position_estimator_inav: fix function declaration 2016-02-18 18:53:00 +01:00
Nate Weibley a1c9dc1f68 When restarting listing all parameters, skip sending hash on subsequent request
This change fixes a bug where hash-aware QGC using the old spec would continuously request the parameter list every time it received a mismatched hash.
2016-02-18 18:51:17 +01:00
Nate Weibley ae3838ff2e Remove superfluous parameter cache load message 2016-02-18 18:51:17 +01:00
Nate Weibley 0419a99f00 New param hashing spec
- When listing all params, lead with _HASH_CHECK value for cache load
 - When set value on _HASH_CHECK is rx'd, stop any ongoing listing req
2016-02-18 18:51:17 +01:00
Lorenz Meier 854660bd36 Sensors: Fix code style 2016-02-18 18:48:50 +01:00
Lorenz Meier 345246953b Airspeed pre-flight check: do not arm if sensor data is stuck or bus errors are high 2016-02-18 18:48:50 +01:00
Lorenz Meier 2aad0c079e airspeed: Populate confidence field 2016-02-18 18:48:50 +01:00
Lorenz Meier f10770a4a4 FW pos ctrl: Fix build error 2016-02-17 19:31:01 +01:00
Lorenz Meier e98cd6c746 FW pos control: Set idle throttle on ground in all modes 2016-02-17 19:31:01 +01:00
Mark Whitehorn d5d3b63dc8 delete parameter MPC_HOLD_Z_DZ 2016-02-17 15:23:16 +01:00
Mark Whitehorn 8cd4b57c6b add parameters for adjusting ALTCTL deadband 2016-02-17 15:22:28 +01:00
Mark Whitehorn ead3eeda6c expand description of MPC_THR_HOVER parameter 2016-02-17 15:22:28 +01:00
Mark Whitehorn 5de7c7e426 zero altctl deadband 2016-02-17 15:22:28 +01:00
Mark Whitehorn 159abb9b00 add parameter for hover throttle setting
and tighten z deadband
2016-02-17 15:22:28 +01:00
Mark Whitehorn 101ac63737 change altctl throttle deadband to 2 point curve 2016-02-17 15:21:37 +01:00
Andreas Antener 48e2053f98 fixed code style 2016-02-16 10:26:13 +01:00
Roman f11a619bf8 multirotor landing:
prevent sudden thrust setpoints when vehicle has reached ground
after landing
2016-02-16 10:26:13 +01:00
Andreas Antener 570fb97163 updated timeout logic to work only on waypoints with forced headings, updated param docs accordingly 2016-02-15 23:29:47 +01:00
Andreas Antener eb5b8a32ee transition alignment will force heading now and go to RTL if it cannot reach it in time, handle mission failure correctly, reset after mission update, issue message with actual problem 2016-02-15 23:29:38 +01:00
Andreas Antener bb4decfa8b implemented basic heading timeout for waypoint acceptance, added parameter for yaw error on waypoint heading acceptance, set yaw timeout for vtol default 2016-02-15 23:26:28 +01:00
Lorenz Meier cd7001fd2f Sensors: Fix code style 2016-02-15 13:20:20 +01:00
Roman 15b0baf555 ekf2: fixed call to save parameter 2016-02-15 12:52:49 +01:00
Paul Riseborough af5bbc916c ekf2: Enable user defeatible saving of declination for next startup 2016-02-15 12:52:49 +01:00
Paul Riseborough 2ca48037fd ekf2: Add mavlink adjustable parameters for control of magnetometer fusion 2016-02-15 12:52:49 +01:00
Lorenz Meier c3529d353d sensors: Do not change parameter if it already has the right default 2016-02-15 12:43:11 +01:00
Lorenz Meier 230db2e050 VTOL control: Do not spam the console 2016-02-15 12:42:20 +01:00
Roman 1d5cf70e83 implemented vtol weathervane yaw control for landing and loiter mission item 2016-02-15 09:49:24 +01:00
sander dc7077b125 Move constraint after feed forward 2016-02-15 09:48:37 +01:00
Andreas Antener 7db35337da use control flag to decide if we enable wv or not 2016-02-15 09:48:37 +01:00
Roman 8c2eec6161 use correct struct names for virtual topics 2016-02-15 09:48:37 +01:00
Roman 80f8fcbdf6 implemented vtol weathervane yaw control for landing and loiter mission item 2016-02-15 09:48:37 +01:00
Roman 11df8168ee provide ekf2 with landed flag from landing detector 2016-02-14 21:26:47 +01:00
Roman 2177c0e18a ekf2: remove unused print functions 2016-02-14 20:51:01 +01:00
Lorenz Meier e46824e784 MC pos control: Param meta data 2016-02-14 18:43:58 +01:00
Lorenz Meier 9cb82e93be MC att control: Param meta data 2016-02-14 18:43:58 +01:00
Lorenz Meier 6d75f11d3c Commander param meta data 2016-02-14 18:43:58 +01:00