Andrew Tridgell
70c4038751
Replay: changed Makefile to use waf
2016-07-27 21:28:30 +10:00
Randy Mackay
d19c074ba1
AP_ADC_ADS1115.h: changed member declaration order to resolve compiler warning
...
No functional change
2016-07-27 13:39:32 +09:00
hiro2233
3ae36c4a6c
AP_HAL_Linux:RCInput: Minimun input channels defined
2016-07-27 00:55:55 -03:00
hiro2233
4a6447575c
AP_HAL: fixed and updated RCInput example.
2016-07-27 00:52:13 -03:00
Andrew Tridgell
9df58e1e0a
AP_Arming: don't show the GPS arming error in SITL
...
it just makes users think something is wrong
2016-07-27 07:46:04 +10:00
Andrew Tridgell
388b7ad6bd
Plane: fixed is_flying_vtol() for non-quadplane
2016-07-27 07:43:16 +10:00
Lucas De Marchi
a159eedd8c
AP_RangeFinder: fix bus for Lightware on some boards
2016-07-26 00:52:54 -03:00
Lucas De Marchi
cb01280d77
AP_HAL: define bus for Lightware rangefinder
2016-07-26 00:52:54 -03:00
Jonathan Challinger
4dfb277683
AP_RangeFinder: fix LightwareI2C conversion to I2CDevice
2016-07-26 00:52:54 -03:00
Tom Pittenger
5108b4cbb6
AP_BattMonitor: move vehicle dependant code to be c-file only, not header
2016-07-25 18:10:57 -07:00
murata
7721290160
AP_Scheduler:time_available value type invalid uint16_t to valid uint32_t.
2016-07-25 20:18:16 -03:00
Murilo Belluzzo
d8b58690ad
AP_TECS: Remove useless 'if' statement
...
This should fix CID 91386.
Before removing the 'if', I checked the log to confirm that both branch
didn't end-up being equal by mistake in some commit. But it looks like
the file was added in the project this way.
2016-07-25 18:51:56 -03:00
Lucas De Marchi
c6edae7e8e
Revert "Global: workaround toolchain problem on windows"
...
This reverts commit 4e2b30b413
.
The toolchain for windows is now updated, we can remove this workaround.
2016-07-25 17:56:12 -03:00
mirkix
6082472990
AntennaTracker: Delete (wrong) filename out of header
2016-07-25 17:52:50 -03:00
Gustavo Jose de Sousa
ef0fb97fe4
waf: reduce scope of ant_glob() patterns
...
And reduce pre-build execution time.
2016-07-25 17:45:38 -03:00
mirkix
e3934fac80
ArduCopter: Delete (wrong) filename out of header
2016-07-25 17:13:41 -03:00
Gustavo Jose de Sousa
1ad0c685eb
waf: add git_submodule post build callback
...
So that the user is warned about skipped submodule updates.
2016-07-25 16:45:57 -03:00
Gustavo Jose de Sousa
4bd17ab90c
waf: git_submodule: allow warning about skipped submodules updates
...
Provide a function to register a post build routine to do the warnings. Do that
way so that the user can chose when to add the callback to the build (i.e.
allow the user to assert a desired order for the post build callbacks to be
called).
2016-07-25 16:45:57 -03:00
Gustavo Jose de Sousa
4cd70842d9
waf: git_submodule: don't update submodule if non-fastforward
...
Don't cause trouble to developers working on submodules.
2016-07-25 16:45:57 -03:00
Gustavo Jose de Sousa
65e19fd9af
waf: don't update submodules if not a git repository
...
That is useful for releases tarballs.
2016-07-25 16:45:57 -03:00
Tom Pittenger
2c6340bb10
AP_ADSB: compiler warning: init value before use even though it already is
...
silly compiler warnings.. this one is incorrect but it throws a conservative warning which this solves
2016-07-25 10:14:00 -07:00
Tom Pittenger
dce734d196
AP_ADSB: treat invalid vehicle same as out-of-range: ignore and/or delete it
...
- aircraft that travel out of range will now get dropped instantly instead of linger and go stale then timeout
2016-07-25 10:03:48 -07:00
Tom Pittenger
726d1d515e
AP_ADSB: use correct units (sec) in time since last update for vehicle update
2016-07-25 10:00:57 -07:00
Randy Mackay
a8f04bd030
mavlink: update to use mav-collision items
2016-07-25 20:24:37 +09:00
Randy Mackay
49674abb21
Copter: guided mode's velocity controller stops before fence
2016-07-25 20:24:37 +09:00
Randy Mackay
7a6e0a981b
Copter: simplify guided mode's velocity controller's accel limit calcs
2016-07-25 20:24:37 +09:00
Randy Mackay
f27cf8d388
AC_Avoidance: add adjust_velocity that accepts Vector3f for convenience
...
We should actually modify this function to scale back the z axis in order to avoid breaching the vertical fence. Currently breaching the vertical fence is handled within the position controller which is inconsistent.
2016-07-25 20:24:37 +09:00
Peter Barker
692ff22453
AC_Avoid: move closest_point to AP_Math
2016-07-25 20:24:37 +09:00
Peter Barker
2047d53470
Math: move closest_point in from AC_Avoid
2016-07-25 20:24:37 +09:00
Randy Mackay
dc52f3b2df
Copter: guided mode applies acceleration limits to velocity controller
2016-07-25 20:24:37 +09:00
Randy Mackay
866487608e
Copter: rename guided mode's posvel controller target variables
...
We will re-use these targets for the guided velocity controller
2016-07-25 20:24:37 +09:00
Randy Mackay
6118bf1b14
Copter: remove adsb sensor library based avoidance
...
adsb based avoidance has been moved to AP_Avoidance library
2016-07-25 20:24:37 +09:00
Randy Mackay
d50987f976
Copter: avoidance_adsb implements copter avoidance using ADSB
2016-07-25 20:24:37 +09:00
Randy Mackay
df55704875
Copter: pre-arm check includes adsb failsafe
2016-07-25 20:24:37 +09:00
Randy Mackay
68899ed921
Copter: add adsb to failsafe structure and report in heartbeat to GCS
2016-07-25 20:24:37 +09:00
Randy Mackay
f4db4bdb08
Copter: GCS_MAVLink passes packets to AP_Avoidance
...
This allows treating GLOBAL_POSITION_INT packets from other vehicles in the same way as ADSB packets
2016-07-25 20:24:37 +09:00
Randy Mackay
61844b3062
Copter: add AP_Avoidance to build
2016-07-25 20:24:37 +09:00
Peter Barker
89fbf23012
AP_Avoidance: get_location becomes a method on adsb rather than a abds vehicle
2016-07-25 20:24:37 +09:00
Peter Barker
b5c1019aac
AP_Avoidance: adsb based avoidance library
2016-07-25 20:24:37 +09:00
Peter Barker
1cdb97e605
AP_ADSB: support for provision of samples to other libraries
2016-07-25 20:24:37 +09:00
Peter Barker
4639d12f0e
AP_ADSB: break circular dependency with Avoidance
2016-07-25 20:24:37 +09:00
Peter Barker
aae84b3edc
GCS_MAVLink: send_collision_all
2016-07-25 20:24:37 +09:00
Peter Barker
7bc9a1cf83
GCS_MAVLink: break out a packetReceived function
...
This just moves code, doesn't change it
2016-07-25 20:24:37 +09:00
Peter Barker
779f78d471
AP_Math: vector3 perpendicular function
2016-07-25 20:24:37 +09:00
Peter Barker
f6cb0ffb6f
AP_Math: add Vector2f perpendicular
...
Add closest_distance_between_radial_and_point function
2016-07-25 20:24:37 +09:00
Peter Barker
b6d0b028c3
AP_Math: add operator[] to Vector2
2016-07-25 20:24:37 +09:00
mirkix
db665e6de7
APMrover2: Fix filename in header
2016-07-25 19:38:02 +09:00
Andrew Tridgell
f65b46385c
Plane: added engine cut on land final in quadplane
2016-07-25 15:46:17 +10:00
Andrew Tridgell
d25396543c
AP_ICEngine: report takeoff height set
2016-07-25 15:45:58 +10:00
Andrew Tridgell
622d26b122
SITL: expand to 16 output channels
...
needed for IC engine testing with octaquadplane
2016-07-25 15:45:39 +10:00