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
d906fb8f31
Merged master into linux
2015-05-19 21:00:02 +02:00
Roman Bapst
12c6dc8ad8
added routine for autopilot level calibration
2015-05-19 14:20:00 +02:00
Lorenz Meier
2625d3e973
Merge pull request #2175 from Zefz/preflight_gps_check
...
Preflight: GPS check
2015-05-19 10:10:46 +02:00
Lorenz Meier
e5fad077df
Merge master into linux
2015-05-18 23:28:57 +02:00
Lorenz Meier
83fdb9931a
commander / mavlink: Add battery status to output BATTERY_STATUS MAVLink message
2015-05-17 17:44:51 +02:00
Mark Charlebois
36f5d47ed9
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Conflicts:
src/modules/commander/gyro_calibration.cpp
src/modules/mavlink/mavlink_ftp.cpp
2015-05-16 15:04:38 -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
Johan Jansen
f020ad4ba3
Commander: Check if GPS receiver is suffering from jamming noise
2015-05-14 19:29:35 +02:00
Johan Jansen
45f1fd6634
Commander: Add preflight check for missing GPS module
2015-05-14 19:19:30 +02:00
Lorenz Meier
8a73f91ad6
Commander: Be less verbose about param saves to focus the user attention to relevant output
2015-05-14 17:33:07 +02:00
Roman Bapst
90c3aec1fd
make main LED show low and critical battery status
2015-05-13 16:24:44 +02:00
Mark Charlebois
c5237f7f6f
Removed extra abstracton layer in systemlib
...
The calls to task_spawn_cmd, kill_all, and systemreset were wrappers
around the px4_{task_spawn_cmd|kill_all|systemreset} implementations.
Removed the wrappers and changed all calls to the px4_ equivalents.
NuttX specific code was moved into px4_tasks.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-06 14:43:11 -07:00
Mark Charlebois
12a25e4b63
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Conflicts:
makefiles/firmware.mk
src/modules/commander/module.mk
src/modules/mavlink/mavlink_ftp.h
src/modules/mavlink/mavlink_tests/module.mk
2015-05-04 16:36:59 -07:00
Lorenz Meier
0e78e38cda
commander: Use pre-rotated topic in board frame
2015-05-04 14:06:19 +02:00
Mark Charlebois
523a4aa785
Clang warning fix
...
Clang build fails due to -Werr and warning on use of
if (!condition != other_condition && some_condition)
Clang wants to be clear that the initial '!' wasn't
intended for the whole expression.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-28 12:29:50 -07: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
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
Mark Charlebois
187f13cd70
QuRT and POSIX changes - part 4
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:24:31 -07:00
Mark Charlebois
f63ab3d5e3
Merge branch 'master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Conflicts:
makefiles/firmware.mk
2015-04-22 10:38:46 -07: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
Mark Charlebois
694427e4ba
Converted commander to use px4_posix calls
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:37:50 -07:00
Mark Charlebois
bba26c3430
Linux: enabled commander module
...
The commander module now compiles for Linux.
state_machine_helper_linux.cpp iterates over the virtual devices vs
all devices under /dev as per NuttX when disabling publishing.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:37:50 -07:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:55:41 -07:00
Mark Charlebois
bf429188b4
Reverted: Use OS independent API for task creation/deletion
...
Keep existing API use in code. Bind the use of the OS independent
implementation in the systemlib layer.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:49:44 -07:00
Mark Charlebois
ddb32742eb
Use OS independent API for task creation/deletion
...
Calls to task_delete and task_spawn_cmd are now
px4_task_delete and px4_task_spawn_cmd respectively.
The px4_tasks.h header was added to the affected files
and incusions of nuttx/config.h were removed.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:49:44 -07: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