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
Francisco Ferreira
ef28be9ce8
AP_Rally: add is_valid method
...
method will be used in Copter to check if a rally point is inside fence
9 years ago
Gustavo Jose de Sousa
69405cc99a
AP_InertialSensor: fix timing debug macro
...
- Use "INS_" prefix for the name in order to limit the scope for that macro.
- Don't define it in the code and check if it is defined instead of checking
the value. With that, there's no need to touch the code for enabling debug,
only a reconfiguration is necessary (e.g., `CXXFLAGS='-DINS_TIMING_DEBUG' waf
configure ...`).
9 years ago
Lucas De Marchi
cfb3124f2c
AP_HAL_Linux: remove types for spi drivers
...
Those drivers using SPIDevice interface don't need a global id for each
of them. Remove those that were already converted.
9 years ago
Lucas De Marchi
b23f7a8be4
AP_HAL_Linux: examples: remove BusTest
...
This needs to be rewritten using the probe methods.
9 years ago
José Roberto de Souza
dd36952efe
AP_InertialSensor: BMI160: Register poll function with the timer lock
9 years ago
Tom Pittenger
44a60f278a
SITL: change default of SIM_ADSB_RADIUS from 1E3 to 10E3
9 years ago
Tom Pittenger
a5f256229f
AP_ADSB: remove mavlink specific source, xml not ready yet
9 years ago
Tom Pittenger
8617880714
AP_ADSB: check buffer space before sending
9 years ago
Tom Pittenger
8b9057f23c
AP_ADSB: run dynamic at 5Hz and static/cfg at 5sec
9 years ago
Tom Pittenger
ea0a5c973c
AP_ADSB: simplify logic in update_vehicle()
9 years ago
Tom Pittenger
cf77ff6d4f
AP_ADSB: convert all function calls to use const and use Location_Class
9 years ago
Tom Pittenger
4c9642ac08
AP_ADSB: callsign gen should use ICAO in hex
9 years ago
Tom Pittenger
69887e1646
AP_ADSB: do not init variables in header class definition
9 years ago
Tom Pittenger
f5bf98041e
AP_ADSB: do not spam to all mavlink ports, require the transceiver health heartbeat
9 years ago
Tom Pittenger
b6e25e7d64
AP_ADSB: add support for ADSB transceiver mavlink packets
9 years ago
Tom Pittenger
2223216ca2
AP_ADSB: add param ADSB_LIST_RADIUS to ignore distant aircraft
9 years ago
Tom Pittenger
454560ca4c
AP_ADSB: organize variables into in_state and avoid_state structs
9 years ago
Tom Pittenger
b78255cc25
AP_Common: avoid using AP_Math is_zero() because it is classless
...
- because it is classless it can not be called like AP_Math::is_zero() and will then conflict with local definition of is_zero()
9 years ago
Tom Pittenger
3edd95b99b
AP_Common: add Location::is_zero and ::zero member functions
9 years ago
Andrew Tridgell
003c94830b
AP_Airspeed: added ARSP_PSI_RANGE parameter
...
for using pressure sensors with a different range
9 years ago