Commit Graph

20846 Commits

Author SHA1 Message Date
jaxxzer
4e63678ece Sub: fix surface units for alt_hold 2016-03-06 17:37:19 -05:00
jaxxzer
dcf1d5ba86 Sub: change surface/bottom message severity to INFO 2016-03-01 20:53:59 -05:00
jaxxzer
70742df62f Sub: Make surface_depth a parameter 2016-03-01 20:39:23 -05:00
jaxxzer
1aba8c4a4f Sub: update the surface/bottom detector 2016-02-28 20:16:10 -05:00
jaxxzer
9bec01c51c Fence: enable altitude fences for sub 2016-02-28 20:14:54 -05:00
jaxxzer
2c688b529b Sub: top and bottom detection working well
althold makes good use of the information and will refuse to attempt to
fly out of the water or dig underground
2016-02-28 19:13:06 -05:00
jaxxzer
52e4edbdf8 Sub: Top and bottom detection working for alt hold 2016-02-26 21:01:10 -05:00
jaxxzer
659ef7af75 make: Update *upload-remote target 2016-02-24 18:40:13 -05:00
jaxxzer
b8d0517a8e Sub: Do nothing for update_throttle_thr_mix 2016-02-24 18:39:26 -05:00
jaxxzer
78c50b6c39 Sub: Add surface and bottom detection capabilities 2016-02-24 17:18:48 -05:00
Rustom Jehangir
cde75cbbf1 Merge remote-tracking branch 'upstream/master' 2016-02-23 12:02:48 -08:00
Tom Pittenger
faa4238370 SITL: fixed warning comparing signed vs unsigned 2016-02-23 10:32:48 -08:00
David Ingraham
f396d88ac6 Sub: Add support for Vectored 6DOF ROV
Sub: Various defines for vectored-6dof configuration

Sub: fix compile errors for vector6dof rov

More fixes
2016-02-23 10:08:50 -08:00
Rustom Jehangir
46be0c0491 Sub: Remove heli support from sub. 2016-02-23 08:35:01 -08:00
Rustom Jehangir
20461b9ea3 Sub: Remove ADSB support 2016-02-23 08:35:01 -08:00
Rustom Jehangir
a823c04f94 Sub: Remove old file to match Copter 2016-02-23 08:35:01 -08:00
Rustom Jehangir
ae58a933bb Merge remote-tracking branch 'upstream/master' 2016-02-23 08:23:51 -08:00
Rustom Jehangir
bdfe78f4cd Merge remote-tracking branch 'origin/Raspi' 2016-02-23 08:21:54 -08:00
Rustom Jehangir
8de05e1209 Merge remote-tracking branch 'origin/Debug' 2016-02-23 08:03:46 -08:00
Andrew Tridgell
e777176c4d PX4Firmware: submodule update
fixed perf on usb
2016-02-23 16:34:06 +11:00
Andrew Tridgell
c288c7d761 PX4: re-order startup to start mtd before ms5611
this avoids a bus locking issue on Pixracer
2016-02-23 16:34:06 +11:00
Andrew Tridgell
7fede90df3 HAL_PX4: work around a bus locking issue on Pixracer
Pixracer has FRAM on the same bus as the ms5611 and the FRAM ramtron
driver does not use the same locking mechanism as other px4 SPI
drivers. We need to disable interrupts during FRAM transfers to ensure
we don't get FRAM corruption
2016-02-23 16:34:06 +11:00
Andrew Tridgell
0a72c2bbd5 AP_Baro: prevent bad ground pressure from making a board unbootable 2016-02-23 16:34:06 +11:00
Andrew Tridgell
1df2512935 AP_HAL: added update() method for object ringbuffer
to support updating objects for GCS work Tom is doing
2016-02-23 16:34:06 +11:00
jaxxzer
0800d0902d Sub: Set main loop rate to 400hz 2016-02-22 15:48:31 -05:00
Gustavo Jose de Sousa
181b6f5c2e waf: cmake: do a clean configuration
We need to remove CMakeCache.txt, otherwise cached variables would remain the
old value when they are removed from cmake_vars parameter.

We use `os.remove()` instead of `Node.delete()` because the latter removes the
node instance from its parent's children list. That makes the node be ignored
when storing persistent information after the build, thus the node signature
wouldn't be saved with that approach, which would make waf always think that
the task should be executed.
2016-02-22 15:36:48 -03:00
Gustavo Jose de Sousa
eacf9d8a0e waf: cmake: declare CMAKE_BLD_DIR as a value dependency
Since we set that value to the task's cwd property, we need to declare it as a
value dependency of cmake_configure_task.
2016-02-22 15:36:48 -03:00
Gustavo Jose de Sousa
6c914349d0 waf: cmake: define proper uid() functions
The default implementation takes into account the task's output and input
nodes. That isn't very well applicable for cmake tasks, so we define proper
uid() methods.
2016-02-22 15:36:48 -03:00
Gustavo Jose de Sousa
b5f20459e7 waf: cmake: set CMakeCache.txt as output of cmake_configure task
That provides the behavior we implemented in runnable_status(). Thus, we don't
have to override that method anymore.
2016-02-22 15:36:48 -03:00
Gustavo Jose de Sousa
ed288ed345 waf: cmake: ensure order of cmake_vars
We need to ensure the order in which the variables are defined to avoid
unnecessary execution of the configuration task.
2016-02-22 15:36:48 -03:00
Gustavo Jose de Sousa
c609b27afc waf: gbenchmark: use cmake tool
A little addition in the root wscript was also necessary.
2016-02-22 15:36:48 -03:00
Gustavo Jose de Sousa
e883242c31 waf: cmake: add Waf tool 2016-02-22 15:36:48 -03:00
Gustavo Jose de Sousa
38da32853a ci: use --enable-benchmarks in waf configure 2016-02-22 15:36:48 -03:00
Gustavo Jose de Sousa
b7d97b6354 waf: add option --enable-benchmarks
In the future, gbenchmark will be build using a cmake waf tool, which will
require cmake to be installed. We add this option so that users without cmake
can continue use the build system with no problems.
2016-02-22 15:36:48 -03:00
Gustavo Jose de Sousa
662e45fda2 waf: move --check-verbose option declaration
We move it to the correct "scope", that is, ardupilotwaf.py, where it's really
used.
2016-02-22 15:36:48 -03:00
Gustavo Jose de Sousa
8c4d4f3f2a waf: make options groups accessible for any tool
That allows options being declared where they're really used. Additionally, we
load ardupilotwaf after the other tools so that we can create our groups after
all non-ardupilot option groups are created. That makes our groups appear as
the last ones in the help message, which makes it easier to locate them.
2016-02-22 15:36:48 -03:00
Gustavo Jose de Sousa
fd88e39408 waf: make all options belong to an option group
That makes it easier for the user to distinguish between a general waf option
and project specific option.
2016-02-22 15:36:47 -03:00
Tom Pittenger
1d528d552f AP_HAL: rename RingBuffer.force() to RingBuffer.push_force() 2016-02-21 22:13:27 -08:00
Paul Riseborough
7459bfb96b AP_NavEKF2: Eliminate simple compass fusion singularities near +-90 deg pitch
The use of yaw angle fusion during startup and ground operation causes problems with tail-sitter vehicle types.
Instead of observing an Euler yaw angle, we now observe the yaw angle obtained by projecting the measured magnetic field onto the the horizontal plain.
This avoids the singularities associated with the observation of Euler yaw angle.
2016-02-22 16:29:36 +11:00
Kevin Guest
17378bd42a autotest: Add Rotherham 2016-02-22 16:21:16 +11:00
Tom Pittenger
881dabf048 Plane: add missionLoaded arming check fail for mis.len <= 1 2016-02-22 16:19:40 +11:00
Andrew Tridgell
4ff396dfa8 AP_HAL: added force() and peek() method for object ringbuffers 2016-02-22 12:34:32 +11:00
Andrew Tridgell
1acf25b6e2 Plane: use set_dataflash()
give GCS_MAVLINK a dataflash object for logging text messages
2016-02-22 12:34:32 +11:00
Andrew Tridgell
5080201be6 GCS_MAVLINK: added set_dataflash() method 2016-02-22 12:34:32 +11:00
Andrew Tridgell
119cf6bb13 ci: added sitltest target
this adds some basic SITL testing to our CI
2016-02-22 12:34:32 +11:00
jaxxzer
3ac27f6159 Sub: Temporary fix for nav check arming failure 2016-02-20 23:10:48 -05:00
jaxxzer
43b0f3225e Sub: Revert MAV_TYPE to HEXAROTOR for mavros compatibility 2016-02-20 23:09:09 -05:00
jaxxzer
16589c5985 Sub: ensure that gcs and crash failsafes always happen 2016-02-20 22:39:48 -05:00
jaxxzer
ab6f6b2491 mk: Add target for remote companion computer 2016-02-20 18:42:35 -05:00
Rustom Jehangir
e5067bfb6d Sub: Changes to match Copter updates 2016-02-20 11:32:42 -08:00