Beat Küng
89f5bd27e8
vehicle_gps_position: use timestamp field instead of timestamp_position
...
timestamp was unused. This allows to remove timestamp_position.
2016-06-24 00:22:01 +02:00
Lorenz Meier
56ddd29f1a
Commander: Update params on last step of mag cal
2016-06-22 16:03:01 +02:00
Lorenz Meier
1869ffd15f
Fix unknown command message for Spektrum bind
2016-06-21 13:36:35 +02:00
Julian Oes
91127d51c0
commander: stay in failsafe even when landed
...
If the failsafe state is ended when landed, we would switch back to
POSCTL and therefore take off again, however, all we want is stay on
ground and wait for the auto disarm.
2016-06-21 10:21:34 +02:00
dong.chen
5ad671ed4c
Solve the problem When lost rc signal, it will rtl repeated.
2016-06-21 10:21:34 +02:00
Julian Oes
c7ec07be70
commander: properly use new param
...
The param COM_ARM_WO_GPS is set to 1 by default to allow arming without
GPS. This then sets a bool arm_without_gps which translates to
!GNSS_check in preflightCheck.
2016-06-21 10:21:34 +02:00
Julian Oes
f67e74935e
commander: remove leftover printf
2016-06-21 10:21:34 +02:00
Julian Oes
ef04085ac5
commander: go to ALTCTL if GPS is lost in POSCTL
...
Previously, we renained in POSCTL and would drift away if GPS was lost.
2016-06-21 10:21:34 +02:00
Julian Oes
67a4a57491
commander: only warn if termination happens
...
The termination warnings were printed even if termination was not
actually enabled. This was confusing and is therefore fixed.
2016-06-21 10:21:34 +02:00
Julian Oes
872b08f677
commander: remove unneeded include
2016-06-21 10:21:34 +02:00
Julian Oes
fdff6ea325
Revert "commander: remove unused/wrong failsafe handling"
...
This reverts commit 9e704a5e121c7516e2133d02b328500d9d66fb67.
2016-06-21 10:21:34 +02:00
Julian Oes
d0355cef1f
Revert "commander/navigator: remove param NAV_RCL_ACT"
...
This reverts commit 77ea4cebf41cd106fe771b9eb469aa2326339467.
2016-06-21 10:21:34 +02:00
Julian Oes
049146ef9c
commander: param to allow arming without GPS
2016-06-21 10:21:34 +02:00
Julian Oes
3e9d1388af
commander: remove unused/wrong failsafe handling
...
The deleted code conflicts with the failsafe handling in set_nav_state.
Also, flight termination was usually disabled by circuit breaker which
means this code had no effect anyway.
2016-06-21 10:21:34 +02:00
Julian Oes
016d514d80
commander/navigator: remove param NAV_RCL_ACT
...
The param NAV_RCL_ACT was not implemented as described. Also, it has the
completely the wrong name. It should be a COM param and not NAV.
Therefore, remove the param and delete the partly implemented
and probably never used functionality.
2016-06-21 10:21:34 +02:00
Julian Oes
fe29d99d62
commander: use the gps_failure flag
...
The gps_failure flag had been ignored in some navigation states.
2016-06-21 10:21:34 +02:00
Julian Oes
4d10759699
commander: use DESCEND mode and not LANDGPSFAIL
...
Always use the DESCEND mode and not LANDGPSFAIL because LANDGPSFAIL will
try to loiter for some time and then request termination instead of
descending gently and trying to land.
2016-06-21 10:21:34 +02:00
Henry Zhang
178f32ab41
Commander:fill missing command ack. ( #4814 )
2016-06-21 10:20:33 +02:00
Andreas Antener
d1b27ab056
moved params NAV_OBL to COM_OBL
2016-06-20 19:23:11 +02:00
Andreas Antener
8727295f8e
fix OBL parameters in commander
2016-06-20 19:03:10 +02:00
Andreas Antener
095997ca59
changed order of arguments for readability
2016-06-20 19:03:10 +02:00
Andreas Antener
fedb9de6ef
fixed offboard loss timing handling
2016-06-20 19:03:09 +02:00
Andreas Antener
ced8376268
added offboard lost actions with additional timeout
2016-06-20 19:03:09 +02:00
Lorenz Meier
9230688f54
Commander: Add transition command
2016-06-17 22:44:42 +02:00
Daniel Agar
64d9b8eefd
fix COM_FLTMODE5 metadata typo
2016-06-15 20:35:16 +02:00
Daniel Agar
4ab8ddec53
rename cb_usb -> circuit_breaker_engaged_usb_check
2016-06-15 20:35:16 +02:00
Daniel Agar
c22a9137dd
commander cleanup headers
2016-06-15 20:35:16 +02:00
Daniel Agar
7bbfa5d94b
cleanup px4_custom_mode
2016-06-15 20:35:16 +02:00
Julian Oes
6898e2dcf4
commander: don't shout please
2016-06-07 22:10:56 +02:00
Julian Oes
a6e46a7e6f
commander: whitespace
2016-06-07 22:10:56 +02:00
Julian Oes
a88c3c2dbe
commander: printf fine tuning
2016-06-07 22:10:56 +02:00
Julian Oes
ba7d35d9d0
commander: fix convoluted auto disarm
2016-06-07 12:34:54 +02:00
jwilson
c6250657eb
Added mag support to the DriverFramework mpu9250 driver. Shortened parameter names for legacy drivers. Added temporary ifdef's in the calibration code for Snapdragon Flight builds.
...
Signed-off-by: jwilson <jwilson@qti.qualcomm.com >
2016-05-31 16:43:12 +02:00
Beat Küng
8c9b272545
mavlink udp: avoid spamming the console when disconnecting the Network or bcast addr not found ( #4611 )
2016-05-30 21:53:37 +02:00
Lorenz Meier
7398164fcc
Updated PX4 use / API of low level GPIO and other hardware-centric system facilities
2016-05-28 14:56:17 +02:00
Lorenz Meier
d9718d0d98
Fix commander argc handling
2016-05-25 20:56:25 +02:00
bharathr
250aab66ed
Fixed the parsing of commander arguments for non-QURT builds
2016-05-23 17:58:59 +02:00
bharathr
723b501186
Restricted the previous commit to __PX4_QURT only
2016-05-23 17:58:59 +02:00
jwilson
64c3b330ee
Partial fix for Snapdragon HITL mode
2016-05-23 17:58:59 +02:00
Mark Whitehorn
84761a9b8e
add parameter for arm/disarm "hysteresis"
2016-05-22 10:26:00 +02:00
Mark Whitehorn
e7add076b5
typo in comment
2016-05-22 10:26:00 +02:00
Lorenz Meier
f71b68a487
Allow arming in Rattitude mode
2016-05-21 12:08:20 +02:00
Daniel Agar
2487dbfc92
remove Wpacked and cleanup unused warning flags
2016-05-19 21:49:34 +02:00
Beat Küng
d082060429
commander: fix wrong #ifdef header guard in state_machine_helper_test.h
2016-05-14 11:27:07 +02:00
Daniel Agar
69c1ce1714
WIP logger serialization
2016-05-14 11:27:07 +02:00
Mark Whitehorn
8a77fec9c8
still need this workaround to avoid hardfault
2016-05-14 11:27:07 +02:00
Daniel Agar
76387b1693
uorb autogeneration
2016-05-14 11:27:07 +02:00
Lorenz Meier
7d66435546
Commander: Fix the takeoff and land commands. Fixes #4516
2016-05-13 22:05:46 +02:00
Daniel Agar
51298c1eb1
remove unused
2016-05-13 13:01:42 +02:00
Daniel Agar
008354f935
testing cleanup
2016-05-13 13:01:41 +02:00