Dennis Mannhart
e6f7af2dcf
landdetector + mc_pos_control cherry-pick fix
2017-08-01 19:31:34 +02:00
Dennis Mannhart
69ecfef8a4
landdetector: consider 8 second maybe_landed case only if no rotation present
2017-08-01 19:31:34 +02:00
Dennis Mannhart
ec04577e3a
mc_pos_control: consider landing if not auto takeoff and valid
2017-08-01 19:31:34 +02:00
Dennis Mannhart
4692ccf287
mc_pos_control: ignore maybe_landed and ground_contact for takeoff setpoint
2017-08-01 19:31:34 +02:00
Dennis Mannhart
03d86054a4
landdetector: decrease land detection to 0.3
2017-08-01 19:31:34 +02:00
Dennis Mannhart
10c41e2624
land xy max: set it back to 1.5
2017-08-01 19:31:34 +02:00
Dennis Mannhart
50ef2d0e52
landdetector: adjust time to 3 stage detection
2017-08-01 19:31:34 +02:00
Dennis Mannhart
9baf41bef1
landdetector: check horizontal movement as criteria to enter ground contact
2017-08-01 19:31:34 +02:00
Dennis Mannhart
bc46f13d90
landdetector: use control mode, add minimum speed to detect hit-ground
2017-08-01 19:31:34 +02:00
Dennis Mannhart
549d8da6ee
landdetector: hit ground logic
2017-08-01 19:31:34 +02:00
Dennis Mannhart
363ed43d38
mc_pos_control: remove additional land-ground contact logic
2017-08-01 19:31:34 +02:00
Dennis Mannhart
2405abd859
mc landdetector description
2017-08-01 19:31:34 +02:00
Dennis Mannhart
4e204e00cb
landdetector: maybe_landed for rover
2017-08-01 19:31:34 +02:00
Dennis Mannhart
8f7ebc1f3a
mc landdetector: simplify return
2017-08-01 19:31:34 +02:00
Dennis Mannhart
8a76bd07d0
mc_pos_control: change if to else if
2017-08-01 19:31:34 +02:00
Dennis Mannhart
f75dd37326
landdetector: delete or for ground_contact detection
2017-08-01 19:31:34 +02:00
Dennis Mannhart
2890af7305
mc_pos_control: set thrust to zero once maybe_landed is reached
2017-08-01 19:31:34 +02:00
Dennis Mannhart
411ceaa6b3
multicopter landdetector: delete PX4_INFO
2017-08-01 19:31:34 +02:00
Dennis Mannhart
97b5cc77b8
landdetector: reduce maybe_landed trigger time to 1s
2017-08-01 19:31:34 +02:00
Dennis Mannhart
f8e9f380d0
landdetector: add additional landdetection state
2017-08-01 19:31:34 +02:00
Lorenz Meier
529def11e8
CMake / Clang: Increase warning level
2017-08-01 12:46:59 +02:00
Lorenz Meier
ef233d29f0
VMount: use correct doube interface
2017-08-01 12:46:59 +02:00
Lorenz Meier
91c982758e
GEO: Fix double promotion warning
2017-08-01 12:46:59 +02:00
Lorenz Meier
340432e2cf
legacy EKF: Use correct constants
2017-08-01 12:46:59 +02:00
Lorenz Meier
576ad4b521
Sensors update: use correct constants
2017-08-01 12:46:59 +02:00
Lorenz Meier
f4eaea99c5
Temp cal: Use correct constants
2017-08-01 12:46:59 +02:00
Lorenz Meier
ae737d8df0
Camera trigger: use double per interface spec
2017-08-01 12:46:59 +02:00
Daniel Agar
fa18c3d6e6
delete vtol_quad_x (replaced with quad_x)
2017-08-01 09:59:26 +02:00
Paul Riseborough
08059caf89
EKF: Enable compensation for static pressure positional error ( #7264 )
...
* msg: add reporting of multi rotor drag fusion
* ekf2: add reporting of multi rotor drag fusion
* ekf2: Add parameters required to tune multi-rotor wind estimation
* ekf2: Add correction for static pressure position error
* ekf2: Use correct air density for position error corrections
* ekf2: fix parameter documentation error
* ekf2: Add separate forward and reverse position error correction factors
* ekf2: Fix formatting and parameter descriptions
* ekf2: Improve comments
2017-08-01 07:29:08 +10:00
ChristophTobler
02ea10ed99
range finder: reject if min/max value
2017-07-31 17:33:02 +02:00
Beat Küng
e3b61f22f2
Tools/upload_log.py: use https
2017-07-31 14:15:28 +02:00
Lorenz Meier
3c89059199
Update SITL version to fix image triggering
2017-07-31 12:26:08 +02:00
Lorenz Meier
1eb10e431f
Create CODE_OF_CONDUCT.md
2017-07-30 19:18:49 +02:00
Daniel Agar
6ae2d22b9a
WIP: github issue template ( #7701 )
...
* WIP: github issue template
* Update issue_template.md
2017-07-30 19:16:49 +02:00
Daniel Agar
d5a890041b
commander RTL failsafe should be sticky
2017-07-30 01:51:27 +02:00
Jan Liphardt
11508e080a
Create 3037_parrot_disco_mod ( #7621 )
...
* Create 3037_parrot_disco_mod
Add support for the Parrot Disco airframe. Tested with both Pixhawk Mini and Pixracer, using a generic 30A ESC and a Cobra 2221/16 motor.
* Update 3037_parrot_disco_mod
fixed indentation per @Dagar
* Use new generic FW wing mixer (fw_generic_wing.main.mix)
2017-07-29 23:12:14 +02:00
Beat Küng
6e4ba1196b
nuttx_px4fmu-{v1,v2}_default.cmake: disable sdlog2
...
Due to flash overflow
2017-07-29 23:10:47 +02:00
Beat Küng
b1215a6ddd
px4_shutdown_request: make sure we release the lock in every case
...
board_shutdown should not return, but just in case
2017-07-29 23:10:47 +02:00
Beat Küng
b89deaf8e3
tap-v1/tap_pwr.c: make sure to invoke the button notification on registering the cb
2017-07-29 23:10:47 +02:00
Beat Küng
c5a1d1928d
px4_shutdown_unlock: check that counter is > 0
2017-07-29 23:10:47 +02:00
Beat Küng
007b6dd8d7
commander: make sure the power_button_state topic is advertised on startup
...
Otherwise the publication from IRQ context won't work
2017-07-29 23:10:47 +02:00
Beat Küng
8923664f30
param: seek to the beginning of the file before re-trying a failed export attempt
2017-07-29 23:10:47 +02:00
Beat Küng
9d924bea3f
reboot command: add lock/unlock commands to test the shutdown lock
...
If needed it could be used in scripts as well.
2017-07-29 23:10:47 +02:00
Beat Küng
dcb5f80180
shutdown: increase the max timeout to 5s
...
To make sure slow param writes will finish before we hit the timeout. I've
seen param write durations of around 2s.
2017-07-29 23:10:47 +02:00
Beat Küng
931ef189b5
param: grab the shutdown lock while writing params to the file
2017-07-29 23:10:47 +02:00
Beat Küng
898a8dcd57
shutdown: add px4_shutdown_{lock,unlock} API methods
...
Prevents the system from shutting down.
2017-07-29 23:10:47 +02:00
Beat Küng
2815c62acf
fix power button shutdown: use an orb topic instead of a work queue call
...
px4_shutdown_request() was called from the power button IRQ callback, which
invoked a work queue callback. But on NuttX, the work queue uses a
semaphore, and thus it cannot be called from IRQ context.
This patch switches to publishing an uORB msg instead, which is handled in
the commander main thread.
To increase failure resistance, we could subscribe to the same topic in
another module for redundancy, in case commander runs wild.
2017-07-29 23:10:47 +02:00
Lorenz Meier
61b0a81bf9
HITL startup: Further simplification of boot logic in commander
2017-07-29 23:06:50 +02:00
Lorenz Meier
03324e0fb1
ROMFS: Remove stale HITL config
2017-07-29 23:06:50 +02:00
Lorenz Meier
5838556742
HITL handling: Enforce the use of the activation parameter for HITL configuration
2017-07-29 23:06:50 +02:00