Lorenz Meier
90b4afebb5
Commander: properly separate preflight check and prearm checks
...
We were running pre-arm checks before when not arming, which led to annoying error messages on vehicles that were on the bench or serviced on the ground. Now we really only run them when trying to arm.
2017-12-31 16:37:02 +01:00
Lorenz Meier
ddf0ecfc38
Airspeed calibration: Ensure that the calibration state is stored correctly
...
This is necessary due to sensors that are so accurate that they have no offset at all.
2017-12-31 16:37:02 +01:00
Lorenz Meier
074636a8ae
Commander: Check for preflight errors in order
2017-12-31 16:37:02 +01:00
Lorenz Meier
c06251f3be
IO serial: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
1f21256f6a
IO safety switch: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
0013f641aa
IO comms: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
ac113d71af
IO main loop: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
7d44567fab
IO Proto: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
2c148236ae
IO Mixer: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
0ef245aee1
IO ADC: Code style
2017-12-31 16:36:34 +01:00
Lorenz Meier
168e070f94
IO CMake file: Formatting
2017-12-31 16:36:34 +01:00
Lorenz Meier
51111fc6e3
IO Firmware: Document override behavior for manual override.
2017-12-31 16:36:34 +01:00
Daniel Agar
32a450f5dd
detect_orientation make constants constexpr
2017-12-31 09:47:51 -05:00
Daniel Agar
344cf83549
delete unused SENSORIOCCALTEST
2017-12-31 09:47:51 -05:00
Daniel Agar
3ead5c2afd
delete unused MAGIOCSLOWPASS/MAGIOCGLOWPASS
2017-12-31 09:47:51 -05:00
Daniel Agar
859b19db9a
uORB.h reduce orb_metadata field sizes
2017-12-31 09:47:51 -05:00
Daniel Agar
cbc8b50aa1
sensors don't store diff_pres in class
2017-12-30 11:30:34 +01:00
Daniel Agar
4445ffc70e
sensors don't store airspeed in class
2017-12-30 11:30:34 +01:00
Daniel Agar
6623fd0212
sensors don't keep battery_status messages
2017-12-30 11:30:34 +01:00
Lorenz Meier
6a701adf3c
HITL: Remove hard requirement for airframes
2017-12-30 11:24:22 +01:00
Lorenz Meier
bb516be61e
Commander: Enforce correct system configuration for HITL
...
This is important to ensure that users are not trying to use HITL with airframes that will not work.
2017-12-30 11:24:22 +01:00
Lorenz Meier
0ae1737e85
Commander: Fix HITL state initialization that prevented pre-flight checks to pass in HITL mode on v1.7.2
...
This is a minor change that fixes the ordering of the initialization.
2017-12-30 11:24:22 +01:00
Lorenz Meier
644db1b03f
State machine helper: Fix typo
2017-12-30 11:24:22 +01:00
Lorenz Meier
c31e31bf5e
Voted sensors: Better error messages
2017-12-30 11:24:22 +01:00
Lorenz Meier
f69a6af989
Commander: increase stack to ensure enough margin remains
2017-12-30 11:24:03 +01:00
Daniel Agar
370da89573
fw_pos_control fix parameter sanity check ( #8521 )
...
- the sanity check result wasn't being sent to the user and prevents landing slope, runway takeoff, and launch detector parameter updates.
2017-12-26 16:02:31 -05:00
Lorenz Meier
72823e6eb4
MicroRTPS bridge: Depend on messages, not just on headers
...
This ensures that an update of the message spec re-generates the bridge.
;
2017-12-26 16:01:11 -05:00
Daniel Agar
fc7c8b4b89
vehicle_status delete engine_failure_cmd
2017-12-27 02:41:10 +08:00
Daniel Agar
17e17d79dd
commander delete unused vtol_transition_failure_cmd
2017-12-27 02:41:10 +08:00
Daniel Agar
d0fba8bf8b
commander delete unused data_link_lost_cmd
2017-12-27 02:41:10 +08:00
Daniel Agar
c0be801b5c
commander delete unused rc_signal_lost_cmd
2017-12-27 02:41:10 +08:00
Daniel Agar
5a6cde41d5
commander delete unused gps_failure_cmd
2017-12-27 02:41:10 +08:00
Daniel Agar
ca804a2308
commander delete unused sensors check
2017-12-27 02:41:10 +08:00
Daniel Agar
294fbc46a9
commander initial class structure
2017-12-27 02:41:10 +08:00
Daniel Agar
5d6edcc15d
commander consolidate periodic state publishing
2017-12-22 10:42:14 -05:00
Daniel Agar
1ea5de43cf
logger add vehicle_status_flags
2017-12-22 10:42:14 -05:00
Daniel Agar
043ad3c33e
commander vehicle_status_flags only publish if changed
2017-12-22 10:42:14 -05:00
Paul Riseborough
176738c688
commander: add missing px4_close ( #8513 )
2017-12-22 08:57:06 +11:00
Daniel Agar
ec57832a8f
FW land detector increase trigger time and cleanup ( #8486 )
2017-12-21 12:17:32 -05:00
Daniel Agar
7dab5d4380
mission feasibility full home position isn't always needed
2017-12-21 15:28:45 +08:00
CarlOlsson
925c65b4d5
ekf2: add beta innovation gate to parameters
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2017-12-21 04:02:10 +08:00
Daniel Agar
58d1cdc733
Allow MAV_CMD_DO_SET_HOME as a mission command
2017-12-20 10:19:07 +01:00
sanderux
a8c26265b5
Check manual home set when setting during arming
2017-12-20 10:19:07 +01:00
Daniel Agar
375ae991bc
commander DO_SET_HOME populate local coordinates
...
- unify commander home update
2017-12-20 10:19:07 +01:00
sanderux
cf7ad67678
Check home reset in local frame
2017-12-20 10:19:07 +01:00
sanderux
4e175d13c4
Set manual_home when home set manually
2017-12-20 10:19:07 +01:00
sanderux
74868f8c2b
Reset home position when landed and disarmed
2017-12-20 10:19:07 +01:00
Daniel Agar
6172315cf7
navigator mission_result fix increment sign
2017-12-20 17:05:25 +08:00
Daniel Agar
a4be7ae7d0
commander mission_result check time and instance
2017-12-20 17:05:25 +08:00
ChristophTobler
4bd7d62b5c
ekf2: update AID_MASK bitmask comment for QGC
2017-12-20 05:22:11 +08:00