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
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
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
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
Andrew Tridgell
37f71bc6d6
AP_Mission: support DO_ENGINE_CONTROL
2016-07-25 10:06:03 +10:00
Andrew Tridgell
461be7ff0e
AP_ICEngine: added IC engine control library
2016-07-25 10:06:03 +10:00
Andrew Tridgell
be2b6e47aa
RC_Channel: added output types for choke, ignition and starter
2016-07-25 10:06:03 +10:00
Andrew Tridgell
e73d43d4f9
SITL: improve ICEngine simulation
2016-07-25 10:06:02 +10:00
Andrew Tridgell
306487cad4
GCS_MAVLink: adjust for 16 channels in SERVO_OUTPUT_RAW
2016-07-25 10:06:02 +10:00
Andrew Tridgell
995fb7cd86
SITL: added IC engine simulation
2016-07-25 10:06:02 +10:00
Andrew Tridgell
7ea68f8f80
RC_Channel: fixed function indexes above 64
2016-07-24 19:46:01 +10:00
Andrew Tridgell
8e959d4704
AP_Button: check for space before sending BUTTON_CHANGE
2016-07-24 07:48:36 +10:00
Randy Mackay
65038c753c
AC_PrecLand: re-order init to resolve compiler warning
2016-07-23 14:49:21 +09:00
Tom Pittenger
cb91f25dd7
AP_ADSB: change adsb-out param desc and defaults
2016-07-22 17:09:10 -07:00
Gustavo Jose de Sousa
cd0d65dc3f
AP_InertialSensor: don't check {gyro,accel}_available twice
...
That gives a slightly simpler code.
2016-07-22 19:58:08 -03:00
Tom Pittenger
9b390fcc1b
AP_ADSB: add mavlink handlers
2016-07-22 13:55:20 -07:00
Lucas De Marchi
4ab1d7cf41
AP_RangeFinder: MaxsonarI2CXL: add some fixes
...
- coding style changes and some renames
- fix bus number
- use be16toh
2016-07-22 13:18:37 -03:00
Murilo Belluzzo
f2d5eb9a97
AP_RangeFinder_MaxsonarI2CXL: Fix driver after I2CDevice conversion
...
* Simplify semaphore releasing logic
* Fix typo
2016-07-22 13:18:37 -03:00
Luiz Ywata
c167364fa0
AP_RangeFinder: MaxsonarI2CXL: use I2CDevice interface
2016-07-22 13:18:37 -03:00
Lucas De Marchi
ae259bc563
AP_RangeFinder: LightWareI2C: allow detect method to fail
...
If bus isn't found, allow the detect() method to fail.
2016-07-22 13:18:37 -03:00
Lucas De Marchi
0193517f30
AP_RangeFinder: LightWareI2C: use be16toh
...
While at it remove some trailing whitespaces and little reformats.
2016-07-22 13:18:36 -03:00
Murilo Belluzzo
66fdfbb850
AP_RangeFinder_LightWareI2C: Fix driver after I2CDevice conversion
...
* Fix semaphore not being released in ::get_reading
* Simplify semaphore releasing logic
* Fix typo
2016-07-22 13:18:36 -03:00
Luiz Ywata
49d1520850
AP_RangeFinder: LightWareI2C: use I2CDevice interface
2016-07-22 13:18:36 -03:00
Lucas De Marchi
a372f33cc0
AP_RangeFinder: fix PulsedLightLRF detection
...
- Most of the boards use bus 1 for first I2C
- If the bus doesn't exist, let the detect() method fail when it
call start_reading(), because _dev would be invalid
2016-07-22 13:18:36 -03:00
Lucas De Marchi
d653139c5d
AP_RangeFinder: PulsedLightLRF: use be16toh
2016-07-22 13:10:51 -03:00
Lucas De Marchi
c8094e2593
AP_RangeFinder: PulsedLightLRF: fix coding style
...
- sort headers
- fix constructor
2016-07-22 13:10:51 -03:00
Murilo Belluzzo
0dc33410ff
AP_RangeFinder_PulsedLightLRF: Fix driver after I2CDevice conversion
...
* Fix wrong semaphore->take check in ::get_reading
* Simplify semaphore releasing
* Fix typos and trailing whitespace
2016-07-22 13:10:51 -03:00
Luiz Ywata
e1342eb533
AP_RangeFinder: PulsedLightLRF: use I2CDevice interface
2016-07-22 13:10:51 -03:00
Luiz Ywata
a7fddc0594
AP_RangeFinder: add method _add_backend()
...
Wrapper method that saves a detected driver
2016-07-22 13:10:51 -03:00
Lucas De Marchi
64d17702e6
AP_BattMonitor: AP_BattMonitor_SMBus: fix after conversion to I2CDevice
...
- Fix bus number
- Minor updates to coding style
2016-07-22 13:10:51 -03:00
Luiz Ywata
0cf4353382
AP_BattMonitor: AP_BattMonitor_SMBus: use I2CDevice interface
2016-07-22 13:10:51 -03:00
Andrew Tridgell
4301faeac9
SITL: map X-Plane Mixture inputs to channels 6 and 7
...
this gives two user controllable channels for experimental aircraft
2016-07-22 19:14:46 +10:00
Andrew Tridgell
69da7e9f86
SITL: added elevrev option for plane sim
...
used by autotest
2016-07-22 16:42:23 +10:00
Andrew Tridgell
d7faeada87
HAL_SITL: notify GCS on GPIO changes
...
useful for testing relays in SITL
2016-07-22 15:01:21 +10:00
Andrew Tridgell
5b081a704c
HAL_SITL: added GPIO simulation
...
using SIM_PIN_MASK
2016-07-22 15:01:20 +10:00
Andrew Tridgell
f075fcd79f
SITL: added SIM_PIN_MASK
...
for simulation of GPIO pins
2016-07-22 15:01:20 +10:00
Andrew Tridgell
2ce7b465c1
AP_Button: button monitoring library
...
library to monitor changes to button state
2016-07-22 15:01:20 +10:00