465 Commits

Author SHA1 Message Date
Lorenz Meier
7dbb6c4fa8 Commander: Improved preflight check routines. Running checks on all connected sensors. Re-run checks once GCS is connected. 2015-04-20 09:14:13 +02:00
Johan Jansen
7a4ac0ad7f Commander: Ignore sensor status on in-air restore 2015-04-20 09:14:13 +02:00
Johan Jansen
b70138c631 Commander: Re-run preflight check after calibration 2015-04-20 09:14:12 +02:00
Johan Jansen
c5a178a777 Commander: Play startup tune if preflight checks are good, play alarm otherwise 2015-04-20 09:14:12 +02:00
Johan Jansen
6f338eb1b2 Commander: Run preflight check on boot 2015-04-20 09:14:12 +02:00
Johan Jansen
fde244f903 Commander: Add PreflightCheck to the commander 2015-04-20 09:14:12 +02:00
Daniel Agar
2e824bbeea fix incorrect argc < 1 check for no arguments
-requiring arguments should be argc < 2
2015-04-18 12:02:58 +02:00
Thomas Gubler
a872b69df1 add parameter to control autosave of parameters 2015-04-10 17:30:22 +02:00
Thomas Gubler
f6f8d646d1 commander: rename variable to avoid confusion with parameter 2015-04-10 17:30:22 +02:00
Thomas Gubler
7a2bb7c03a commander: fix whitespace 2015-04-10 17:30:22 +02:00
Lorenz Meier
26ccac347d commander: Go only into armed error state if on low battery and disarmed 2015-04-04 10:18:40 +02:00
Lorenz Meier
64cdcfc0cc Fix detection of USB connected state. Needs bench test without USB 2015-04-04 10:15:46 +02:00
Lorenz Meier
8ebf9755e4 commander: Fix battery config 2015-03-28 13:54:05 -07:00
Lorenz Meier
a098ca4ec6 Move autosave into the 1-second timeout check. 2015-03-28 13:07:01 -07:00
Lorenz Meier
f8fd67d3e1 Auto-save parameters on change 2015-03-28 13:07:01 -07:00
Lorenz Meier
37de377dcf commander: Increase stack size for low prio task to accomodate accel cal. 2015-03-15 17:24:11 +01:00
Lorenz Meier
49b3906b78 commander: Fix status checks for leds and adjust stack size based on actual use 2015-03-15 14:33:22 +01:00
Lorenz Meier
9db48df3d6 Slightly increase commander stack size to accomodate any additional printf calls 2015-03-15 12:03:27 +01:00
Andreas Antener
e566cff28b ignore mount commands in commander 2015-03-13 10:20:06 +01:00
Lorenz Meier
7d87da700c commander: Adjust stack size to real use 2015-03-08 08:13:39 +01:00
Lorenz Meier
d8b64a05d7 Merge pull request #1873 from Zefz/ekf-dead-reckoning-fix
AttPosEKF dead reckoning fix
2015-03-07 12:07:28 +01:00
Lorenz Meier
1d90e86ec4 Commander and MAVLink: Adjust stack sizes as required 2015-03-03 17:29:49 +01:00
Johan Jansen
ee6da71efa Commander: Timeout position estimates if we receive none for 1 full second 2015-03-03 13:29:32 +01:00
Lorenz Meier
f9e525bbab commander: Do not allocate excessive stack 2015-03-01 18:32:07 +01:00
Matt Beall
220fb19eb7 Removed actuator_control_mode flags...Using pre-existing flags instead 2015-02-28 15:19:16 +01:00
Matt Beall
d7dc3a3ee8 Cleaned up some chunky code 2015-02-28 15:19:16 +01:00
Matt Beall
e2de72b882 Added offboard actuator controls flags to offboard control mode and vehicle control mode to disable controls in att_control apps 2015-02-28 15:19:16 +01:00
Thomas Gubler
2b2f7e9407 introduce offboard control mode topic
Replace offboard_control_setpoint with offboard_control_mode
Remove all setpoint data from the topic as it's  not used anymore
(setpoint data is directly routed into position/attitude setpoint topics
for some time now)
Remove mode enum and replace with ignore booleans which map better to
the mavlink message
Mavlink: Rework parsing of offboard setpoints
Commander: in offboard mode set control flags based on ignore flags
instead of enum
2015-02-28 15:19:15 +01:00
Johan Jansen
76901c6414 AttPosEKF: Moved data collection to separate function 2015-02-12 11:49:45 +01:00
Johan Jansen
dc522f217f Commander: Fix GPS loss not handled properly 2015-02-11 16:42:01 +01:00
Lorenz Meier
d3dd4a21e2 commander: Support commandline sensor calibration 2015-02-09 22:56:25 +01:00
Thomas Gubler
2d124852c1 propagate uorb contants change through all modules/drivers 2015-01-28 16:31:41 +01:00
Thomas Gubler
14aa5f9441 add topic header includes 2015-01-25 15:00:35 +01:00
Simon Wilks
b8b0d1d4ae Remove a noisy debugging statement. 2015-01-20 22:28:58 +01:00
Lorenz Meier
7d13318df8 Fix coverity CID 12451 2015-01-19 13:22:44 +01:00
Lorenz Meier
9dbcea4b1f Merge branch 'land_detector' 2015-01-17 23:32:14 +01:00
Johan Jansen
9ecadcd9b4 Astyle: Fix format for commander.cpp 2015-01-16 16:46:16 +01:00
Johan Jansen
a581ae8ed6 Commander: Remove duplicate code for setting home position 2015-01-16 16:43:11 +01:00
Johan Jansen
818ccf7a04 Commander: Fix for resetting home timestamp on arm 2015-01-16 15:51:57 +01:00
Johan Jansen
28adc88500 Commander: Subscribe and use land detector 2015-01-15 14:37:51 +01:00
Johan Jansen
ddf65bae04 Commander: Play tune on disarm and when safety switch is toggled 2015-01-15 11:09:31 +01:00
Lorenz Meier
bb1e082781 Commander: be less chatty 2015-01-09 09:09:24 +01:00
tumbili
72eafad510 introduced vtol_fw_permanent stabilization: allows vtol to be attitude-stabilized in manual mode 2014-12-31 16:40:16 +01:00
Lorenz Meier
ef065808a3 Merged master 2014-12-30 11:01:09 +01:00
Lorenz Meier
6fae021a00 Merge pull request #1527 from dagar/Werror
turn on -Werror and fix resulting errors
2014-12-25 17:44:44 +01:00
Lorenz Meier
d8eefa3053 VTOL: Do not allow manual override 2014-12-23 21:50:16 +01:00
Daniel Agar
d511e39ea7 turn on -Werror and fix resulting errors 2014-12-22 17:56:59 -05:00
Ban Siesta
2a09473e5f topics: move geofence status to its own topic 2014-12-19 22:26:31 +00:00
Thomas Gubler
32675ff1c1 fix flag_external_manual_override_ok
The flag should not depend on the vtol state anymore. The intended
functionality of this is by now handled via the is_rotary_wing flag
2014-12-18 15:05:33 +01:00
Thomas Gubler
e18065081a is_vtol flag in vehicle_status
Getting rid of the autostart based checks if the system is a vtol
Fixes #1503
2014-12-18 14:46:31 +01:00