Lorenz Meier
009815deb0
Improve config and mapping
2015-05-24 20:11:51 +02:00
Lorenz Meier
bed746c213
commander: Add param and mode to disable RC input in general and required validation / setup.
2015-05-24 20:11:50 +02:00
Lorenz Meier
9cf1b4ba7a
Merge branch 'release_v1.0.0'
2015-05-22 07:24:57 +02:00
Lorenz Meier
9179fcefc9
Calibration state machine fixes, generates less bogus error messages during calibration
2015-05-21 17:25:37 +02:00
Lorenz Meier
fb4dc27bc9
commander: Improve user feedback on sensor health, in particular during calibration
2015-05-21 10:27:12 +02:00
Lorenz Meier
d906fb8f31
Merged master into linux
2015-05-19 21:00:02 +02:00
Mark Charlebois
9f391b1867
NuttX: fixes for NuttX build
...
In the upstream tree ringbuffer.h includes the method implementations
in the header file which causes multiple definitions in the link for
other targets. Changed so ringbuffer.cpp is build separately for other
platforms and is included by ringbuffer.h on NuttX.
uORB changes do not link without uORBTest_UnitTest.cpp enabled for
the NuttX build.
px4_getopt was not exported and wasn't visible in NuttX build.
The makefiles were restored to be as close as possible to upstream
so the NuttX build builtin's work again. The code will have to be
refactored after the merge.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-15 12:56:18 -07:00
Johan Jansen
510b6124ec
Commander: Fix inverted circuit breaker logic
2015-05-14 21:20:05 +02:00
Johan Jansen
fee02c6943
Commander: Fix parameter bug in preflight check function
2015-05-14 20:30:10 +02:00
Mark Charlebois
190814bc97
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/drivers/rgbled/rgbled.cpp
src/modules/commander/PreflightCheck.cpp
src/modules/commander/airspeed_calibration.cpp
src/modules/commander/calibration_routines.cpp
src/modules/commander/gyro_calibration.cpp
src/modules/commander/mag_calibration.cpp
src/modules/mc_att_control/mc_att_control_main.cpp
2015-04-28 11:48:26 -07:00
Lorenz Meier
a57030c836
commander: Do not lock down the system once HIL has kickeed in
2015-04-26 18:27:48 +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
Lorenz Meier
1b6742cebe
commander: Better user feedback after resolving preflight check warnings
2015-04-26 12:04:16 +02:00
Mark Charlebois
d913ec8dc9
Changed device::px4_device_handle_t to device::file_t
...
This change allowed the _posix.cpp file changes to be merged
back into the original files.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-24 17:49:35 -07:00
Lorenz Meier
5c4494b1c9
commander: Fixing HIL operation with failing preflight checks
2015-04-24 21:06:45 +02:00
Lorenz Meier
0a526e2a5f
commander: Provide feedback that preflight check failed.
2015-04-20 09:14:14 +02:00
Lorenz Meier
c92afb99b6
Prearm check: provide user instruction to power cycle if things look good
2015-04-20 09:14:14 +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
4654d0f4fc
Commander: Enter ARMING_STATE_STANDBY_ERROR by default if preflight has failed
2015-04-20 09:14:12 +02:00
philipoe
9a9efdaaa5
commander: Increase timeout on airspeed sensor for the prearm_check
2015-04-07 15:25:45 +02:00
Lorenz Meier
e4830eb53f
mag detection (sensors / commander): Default all sensors to internal, set the ones which have been found explicitely to zero if they were -1.
2015-02-28 04:01:10 +01:00
Lorenz Meier
807cf7bd16
Commander: Implement calibration routines for multi-sensor setups
2015-02-09 22:56:23 +01:00
Thomas Gubler
2d124852c1
propagate uorb contants change through all modules/drivers
2015-01-28 16:31:41 +01:00
Lorenz Meier
9bb0ecf0ca
Airspeed calibration feedback: Improve wording
2014-11-22 15:06:32 +01:00
Julian Oes
d63c054bb0
state_machine_helper: changed failsafe behaviour: always require at least one link for default, do RTGS as soon as datalink is lost if datalink loss mode is enabled
2014-11-12 09:48:32 +10:00
Julian Oes
3c9a73f3e4
fixed empty if body
2014-11-11 10:28:24 +10:00
Julian Oes
fa5f365882
state_machine_helper: fixed comments
2014-11-11 10:25:53 +10:00
Julian Oes
2c57781581
state_machine_helper: trying to clean up some failsafe logic
2014-11-10 21:40:13 +10:00
Julian Oes
f8bed3cd89
state_machine_helper: whitespace
2014-11-10 21:39:35 +10:00
Thomas Gubler
e174117698
gps failure has priority over engine falure, in case both fail make sure
...
that the gps failure mode does not turn on the engine
2014-09-22 10:54:27 +02:00
Thomas Gubler
3d528a2c97
introduce new nav state to allow normal rtl with RC switch
2014-08-26 22:22:59 +02:00
Thomas Gubler
e52f7770be
Merge remote-tracking branch 'upstream/master' into obcfailsafe
2014-08-24 16:26:42 +02:00
Lorenz Meier
64d3c48770
Add warning for non-standard avionics rail voltages
2014-08-24 13:32:46 +02:00
Lorenz Meier
bf8956d2e8
Be only reasonably strict on avionics supply voltage.
2014-08-24 13:26:28 +02:00
Thomas Gubler
3c10b78e20
stae machine helper: remove unnecessary check for RC loss
2014-08-23 14:02:22 +02:00
Thomas Gubler
4d75222b67
switch to rc loss mode if rc loss commanded
2014-08-22 21:41:24 +02:00
Thomas Gubler
760a7ff548
gpsfailure: add skeleton class, activate in commander
2014-08-20 07:45:01 +02:00
Thomas Gubler
f480c10282
state machine helper: use stay in failsafe flag
2014-08-16 14:37:46 +02:00
Thomas Gubler
72beef90c9
set correct nav state for data link loss
2014-08-16 13:09:10 +02:00
Thomas Gubler
0f2b66fa8b
failsafe: enable support for commands
2014-08-14 22:38:48 +02:00
Thomas Gubler
017f82e2b8
Merge remote-tracking branch 'origin/master' into obcfailsafe
2014-08-12 12:30:20 +02:00
Don Gagne
014fd5f47b
Add fRunPreArmChecks flag
...
This is to allow unit tests to be written which do not perform pre-arm
checks
2014-08-04 09:41:29 -07:00
Thomas Gubler
f78ea38d98
Merge remote-tracking branch 'upstream/master' into obcfailsafe
2014-08-01 12:09:16 +02:00
Julian Oes
54b9698d65
circuit_breakers: added param to disable airspeed check
2014-07-26 17:48:45 +02:00
Thomas Gubler
1b2f9070ea
engine_failure flag
...
Added engine_failure flag to behicle status, alsoset_nav_state in the
state machine helper takes this flag into account
2014-07-24 22:29:04 +02:00
Thomas Gubler
24f380137e
add method to block fallback to mission
...
failsafe navigation modes can use a flag in mission_result to tell the
commander to not switch back to mission
2014-07-23 22:58:19 +02:00
Lorenz Meier
a5f538dc5c
Commander: Print technical feedback as last resort if no feedback was provided before
2014-07-20 16:06:31 +02:00
Lorenz Meier
f3b8890601
commander: Explain sensor arming fail case to users
2014-07-20 14:31:23 +02:00
Lorenz Meier
b3a80025b3
Do not confuse operators / users with technical error messages
2014-07-20 14:28:24 +02:00