Roman Bapst
90c3aec1fd
make main LED show low and critical battery status
2015-05-13 16:24:44 +02:00
Lorenz Meier
0e78e38cda
commander: Use pre-rotated topic in board frame
2015-05-04 14:06:19 +02:00
Roman Bapst
be03f98d64
added esc calibration routines
2015-04-28 15:15:46 +02:00
Simon Wilks
ef63babb71
Make sure circuit breakers are ready before the first preflight check call.
2015-04-27 13:30:37 +02:00
Lorenz Meier
3f8c81433e
commander: Provide more useful mission feedback
2015-04-27 09:07:53 +02:00
Lorenz Meier
b07964660e
commander: prune old code, do not run preflight checks when nothing relevant in the system is changing.
2015-04-26 17:39:00 +02:00
Don Gagne
a7f88d97b8
Sensor cal rework
...
- cancel support
- versioned cal messages
- better still detection
- better messaging
2015-04-26 14:34:19 +02:00
Lorenz Meier
6c9e5d1ecf
commander: Only subscribe to existing telemetry status publications
2015-04-26 14:33:56 +02:00
Lorenz Meier
bbb27b8635
commander: Reduce excessive stack size
2015-04-26 14:33:56 +02:00
Lorenz Meier
c7ecafe99b
commander: Critical fix for arm state machine. Only auto-save if not stored already
2015-04-25 12:53:58 +02:00
Lorenz Meier
7e81778908
commander: Fix data link lost / regained logic
2015-04-25 10:15:15 +02:00
Lorenz Meier
5c4494b1c9
commander: Fixing HIL operation with failing preflight checks
2015-04-24 21:06:45 +02:00
Roman Bapst
5b772e5720
update vehicle status before doing preflight checks
2015-04-22 13:32:09 +02:00
Lorenz Meier
5e584c2942
commander: Better low battery failure feedback
2015-04-22 09:27:03 +02:00
Lorenz Meier
5a8eca75bf
Commander: Fix RTL mode switch logic
2015-04-21 06:54:16 +02:00
Lorenz Meier
b9d17241a3
RTL mode switching: Allow to flick to RTL in any mode.
2015-04-21 06:54:15 +02:00
Lorenz Meier
554719c78f
Harmonize preflight and prearm checks, run same code except for dynamic range check only on arming
2015-04-20 09:14:13 +02:00
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