Lorenz Meier
454becdae5
Merged release_v1.0.0 branch into master
2015-06-25 21:45:17 +02:00
Lorenz Meier
82f3d4e877
commander: Fix mavlink output
2015-06-22 09:58:01 +02:00
Lorenz Meier
b11e133318
Evaluate warning field from mission result
2015-06-15 17:28:05 +02:00
Lorenz Meier
a4b2389460
Commander: Support new mission status
2015-06-15 17:28:05 +02:00
Lorenz Meier
82352a64aa
commander: Remove unused param handles
2015-06-14 19:36:29 +02:00
Lorenz Meier
b6d9a97aaa
Merge pull request #2349 from PX4/auto_takeoff_fix
...
FW: Auto takeoff fix
2015-06-14 10:45:10 +02:00
Lorenz Meier
c9fefe236b
Merged release into master
2015-06-13 11:06:01 +02:00
Lorenz Meier
f9f34078d1
commander: Ensure RTL can be triggered in all modes
2015-06-13 00:16:25 +02:00
Lorenz Meier
3f77455dd8
commander: Condition HIL arming check properly
2015-06-12 15:58:21 +02:00
Lorenz Meier
f2b81ce69a
commander: Only update home position if not armed already
2015-06-11 17:03:12 +02:00
Mark Whitehorn
7e48c66c22
add is_hil_setup()
2015-06-10 12:13:49 -06:00
Mark Whitehorn
71da3976ab
add HIL autostart ID range macros and remove warnx
2015-06-10 12:13:49 -06:00
Mark Whitehorn
e224441ac1
special treatment and warning message for HIL platform arming
2015-06-10 12:13:49 -06:00
Lorenz Meier
900c81e67c
commander: Compile fix for home init on arming via CMD
2015-06-08 17:18:25 +02:00
Lorenz Meier
0aa47236bf
commander: Only print reject mode message every 10 seconds. Set home position also if armed via command. Warn that arming via shell does not set home position.
2015-06-08 16:48:50 +02:00
Lorenz Meier
9bbb315144
commander: Print home position
2015-06-08 15:19:41 +02:00
Lorenz Meier
02efa5a24c
commander: Better text feedback
2015-06-06 22:14:10 +02:00
Mark Whitehorn
05f935cd77
inhibit more sensor checks
2015-06-06 08:53:56 -06:00
Lorenz Meier
ab61ebca2a
Revert "commander: Allow to disarm via switch in HIL"
...
This reverts commit 6ed43cb3a4d36c15345332652850670215914cd2.
2015-06-06 11:37:10 +02:00
Lorenz Meier
6ed43cb3a4
commander: Allow to disarm via switch in HIL
2015-06-06 09:46:09 +02:00
Lorenz Meier
7b36353e52
Merge pull request #2289 from kd0aij/HIL_inhibitSensorCheck
...
Hil inhibit sensor check
2015-06-06 09:39:34 +02:00
Mark Whitehorn
9588e6fc68
whitespace
2015-06-05 21:23:35 -06:00
Mark Whitehorn
e9634fbe47
suppress preflight check failure for HIL autostart_ids
2015-06-05 21:18:25 -06:00
Lorenz Meier
7f07e4306a
commander: Fix non-existing middle switch position for acro switch
2015-06-05 22:45:07 +02:00
Lorenz Meier
4594945d57
commander: Forbid override in stabilized mode
2015-06-05 22:45:06 +02:00
Lorenz Meier
8e935e6fa6
Add new stabilize mode
2015-06-05 22:45:05 +02:00
Lorenz Meier
db3ac5f3ac
commander: Compile fix
2015-05-30 19:06:05 -07:00
Lorenz Meier
164a1178b8
commander: Be more verbose about low battery warnings, do not trigger low battery warning sound in HIL
2015-05-30 18:43:25 -07:00
Lorenz Meier
c18210b163
commander: Update command names
2015-05-27 15:21:33 -07:00
Lorenz Meier
4565f57468
Merged release_v1.0.0 into master
2015-05-27 15:28:41 -07:00
Mark Charlebois
1ca05aaa64
orb_advert_t changed to void * and checks changed to nullptr
...
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.
Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:42:49 -07:00
Mark Charlebois
a734fc96d1
extensive orb_advert_t fixes
...
The calls to orb_advertise were being mishandled throughout the code.
There were ::close() calls on memory pointers, there were checks
against < 0 when it is a pointer to a object and values larger than
0x7ffffffff are valid. Some places orb_advert_t variables were
being initialized as 0 other places as -1.
The orb_advert_t type was changed to uintptr_t so the pointer value
would not be wrapped as a negative number. This was causing a failure
on ARM.
Tests for < 0 were changed to == 0 since a null pointer is the valid
representation for error, or uninitialized.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:41:33 -07:00
Lorenz Meier
6253f6154f
commander: rename field for RC input mode
2015-05-25 16:34:42 +02:00
Lorenz Meier
81240d6040
commander: Initial RC detection is only an info string
2015-05-24 23:31:58 +02:00
Lorenz Meier
009815deb0
Improve config and mapping
2015-05-24 20:11:51 +02:00
Lorenz Meier
01fd84e4dc
mavlink and commander app: Add support for manual input, either directly or via remote control
2015-05-24 20:11:50 +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
335b212f92
commander: Better update logic, better feedback text for landings
2015-05-24 11:43:18 +02:00
Don Gagne
7f5a5e085c
Add "calibrate esc" command
2015-05-22 22:27:43 +02:00
Don Gagne
a6af1fc0fa
Add "calibrate esc" command
2015-05-22 09:28:52 -07: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
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