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
9 years ago
Tom Pittenger
726d1d515e
AP_ADSB: use correct units (sec) in time since last update for vehicle update
9 years ago
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.
9 years ago
Peter Barker
692ff22453
AC_Avoid: move closest_point to AP_Math
9 years ago
Peter Barker
2047d53470
Math: move closest_point in from AC_Avoid
9 years ago
Peter Barker
89fbf23012
AP_Avoidance: get_location becomes a method on adsb rather than a abds vehicle
9 years ago
Peter Barker
b5c1019aac
AP_Avoidance: adsb based avoidance library
9 years ago
Peter Barker
1cdb97e605
AP_ADSB: support for provision of samples to other libraries
9 years ago
Peter Barker
4639d12f0e
AP_ADSB: break circular dependency with Avoidance
9 years ago
Peter Barker
aae84b3edc
GCS_MAVLink: send_collision_all
9 years ago
Peter Barker
7bc9a1cf83
GCS_MAVLink: break out a packetReceived function
...
This just moves code, doesn't change it
9 years ago
Peter Barker
779f78d471
AP_Math: vector3 perpendicular function
9 years ago
Peter Barker
f6cb0ffb6f
AP_Math: add Vector2f perpendicular
...
Add closest_distance_between_radial_and_point function
9 years ago
Peter Barker
b6d0b028c3
AP_Math: add operator[] to Vector2
9 years ago
Andrew Tridgell
d25396543c
AP_ICEngine: report takeoff height set
9 years ago
Andrew Tridgell
622d26b122
SITL: expand to 16 output channels
...
needed for IC engine testing with octaquadplane
9 years ago
Andrew Tridgell
37f71bc6d6
AP_Mission: support DO_ENGINE_CONTROL
9 years ago
Andrew Tridgell
461be7ff0e
AP_ICEngine: added IC engine control library
9 years ago
Andrew Tridgell
be2b6e47aa
RC_Channel: added output types for choke, ignition and starter
9 years ago
Andrew Tridgell
e73d43d4f9
SITL: improve ICEngine simulation
9 years ago
Andrew Tridgell
306487cad4
GCS_MAVLink: adjust for 16 channels in SERVO_OUTPUT_RAW
9 years ago
Andrew Tridgell
995fb7cd86
SITL: added IC engine simulation
9 years ago
Andrew Tridgell
7ea68f8f80
RC_Channel: fixed function indexes above 64
9 years ago
Andrew Tridgell
8e959d4704
AP_Button: check for space before sending BUTTON_CHANGE
9 years ago
Randy Mackay
65038c753c
AC_PrecLand: re-order init to resolve compiler warning
9 years ago
Tom Pittenger
cb91f25dd7
AP_ADSB: change adsb-out param desc and defaults
9 years ago
Gustavo Jose de Sousa
cd0d65dc3f
AP_InertialSensor: don't check {gyro,accel}_available twice
...
That gives a slightly simpler code.
9 years ago
Tom Pittenger
9b390fcc1b
AP_ADSB: add mavlink handlers
9 years ago
Lucas De Marchi
4ab1d7cf41
AP_RangeFinder: MaxsonarI2CXL: add some fixes
...
- coding style changes and some renames
- fix bus number
- use be16toh
9 years ago
Murilo Belluzzo
f2d5eb9a97
AP_RangeFinder_MaxsonarI2CXL: Fix driver after I2CDevice conversion
...
* Simplify semaphore releasing logic
* Fix typo
9 years ago
Luiz Ywata
c167364fa0
AP_RangeFinder: MaxsonarI2CXL: use I2CDevice interface
9 years ago
Lucas De Marchi
ae259bc563
AP_RangeFinder: LightWareI2C: allow detect method to fail
...
If bus isn't found, allow the detect() method to fail.
9 years ago
Lucas De Marchi
0193517f30
AP_RangeFinder: LightWareI2C: use be16toh
...
While at it remove some trailing whitespaces and little reformats.
9 years ago
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
9 years ago
Luiz Ywata
49d1520850
AP_RangeFinder: LightWareI2C: use I2CDevice interface
9 years ago
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
9 years ago
Lucas De Marchi
d653139c5d
AP_RangeFinder: PulsedLightLRF: use be16toh
9 years ago
Lucas De Marchi
c8094e2593
AP_RangeFinder: PulsedLightLRF: fix coding style
...
- sort headers
- fix constructor
9 years ago
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
9 years ago
Luiz Ywata
e1342eb533
AP_RangeFinder: PulsedLightLRF: use I2CDevice interface
9 years ago
Luiz Ywata
a7fddc0594
AP_RangeFinder: add method _add_backend()
...
Wrapper method that saves a detected driver
9 years ago
Lucas De Marchi
64d17702e6
AP_BattMonitor: AP_BattMonitor_SMBus: fix after conversion to I2CDevice
...
- Fix bus number
- Minor updates to coding style
9 years ago
Luiz Ywata
0cf4353382
AP_BattMonitor: AP_BattMonitor_SMBus: use I2CDevice interface
9 years ago
Andrew Tridgell
4301faeac9
SITL: map X-Plane Mixture inputs to channels 6 and 7
...
this gives two user controllable channels for experimental aircraft
9 years ago
Andrew Tridgell
69da7e9f86
SITL: added elevrev option for plane sim
...
used by autotest
9 years ago
Andrew Tridgell
d7faeada87
HAL_SITL: notify GCS on GPIO changes
...
useful for testing relays in SITL
9 years ago
Andrew Tridgell
5b081a704c
HAL_SITL: added GPIO simulation
...
using SIM_PIN_MASK
9 years ago
Andrew Tridgell
f075fcd79f
SITL: added SIM_PIN_MASK
...
for simulation of GPIO pins
9 years ago
Andrew Tridgell
2ce7b465c1
AP_Button: button monitoring library
...
library to monitor changes to button state
9 years ago
Andrew Tridgell
7fe1c58575
AP_Notify: added handling of PLAY_TUNE message
9 years ago