Lucas De Marchi
01452bf922
AP_HAL: SPIDevice: add fullduplex method
...
This method is needed when we want to transfer both tx and rx at the
same time, as opposed to common cases for sensors in which they are like
in the I2C interface: half-duplex.
9 years ago
Luiz Ywata
7ded01cf24
AP_HAL_Linux: SPIUARTDriver: use SPIDevice interface
9 years ago
Luiz Ywata
c8bb5e6469
AP_HAL_Linux: RCInput_Raspilot use SPIDevice interface
9 years ago
Luiz Ywata
e8d3229492
AP_HAL_Linux: RPIOUARTDriver: use SPIDevice interface
9 years ago
Luiz Ywata
bfd840c5ca
AP_HAL_Linux: RCOutput_Raspilot: use SPIDevice interface
9 years ago
Lucas De Marchi
86ac9bc367
AP_HAL_Linux: AnalogIn_Raspilot: use SPIDevice interface
9 years ago
Lucas De Marchi
81345cc112
AP_HAL: Remove enum for Dataflash
9 years ago
Lucas De Marchi
8681d23cbd
AP_HAL_Linux: remove unused Dataflash
...
This is selectable by a define and is never changed. Just remove
everything referencing it: we can come up with a better solution if it
is actually used later.
9 years ago
Peter Barker
9749b91d46
SITL: initialise sigaction structs - valgrind fix
9 years ago
Jonathan Challinger
d1ecc63bf1
AP_NavEKF2: change priority of statustext messages
9 years ago
Lucas De Marchi
1841313f73
AP_HAL_VRBRAIN: remove I2CDriver
...
I2CDevice now serves for the same purpose.
9 years ago
Lucas De Marchi
d418338e22
AP_HAL_SITL: remove I2CDriver
...
I2CDevice now serves for the same purpose.
9 years ago
Lucas De Marchi
13848f0f3f
AP_HAL_QURT: remove I2CDriver
...
I2CDevice now serves for the same purpose.
9 years ago
Lucas De Marchi
2ef78051c1
AP_HAL_PX4: remove I2CDriver
...
I2CDevice now serves for the same purpose.
9 years ago
Lucas De Marchi
73bb371918
AP_HAL_Linux: remove I2CDriver
...
I2CDevice now serves for the same purpose.
9 years ago
Lucas De Marchi
3eb0a48d59
AP_HAL_Empty: remove I2CDriver
...
I2CDevice now serves for the same purpose.
9 years ago
Lucas De Marchi
b21ad36676
AP_HAL: remove I2CDriver
9 years ago
Lucas De Marchi
8f11bf7373
AP_ADC: ADS1115: fix typo
9 years ago
Lucas De Marchi
4595a2b7d8
AP_Compass: Remove i2c lockup count
...
This was returned only for a single bus and on all supported platforms
this is hardcoded to 0.
9 years ago
Lucas De Marchi
84f45f09a3
AP_HAL_Linux: convert CameraSensor_Mt9v117 to I2CDevice
9 years ago
Lucas De Marchi
9acffc8868
AP_HAL_Linux: use Empty version if not implemented
...
There's little point in having the Linux::AnalogIn just to implement and
empty interface. All implementations inside AP_HAL_Linux are already
inheriting directly from AP_HAL, so just remove it.
9 years ago
Lucas De Marchi
47d2f8dc6d
AP_HAL_Linux: AnalogIn_ADS1115: return 5V on board_voltage
...
board voltage is not available - don't return 0V since that prevents
arming.
9 years ago
Tom Pittenger
59135fc615
AP_ADSB: fixed comment for default chan -1 means transceiver is not detected
9 years ago
Andrew Tridgell
c6d3f07b5f
AP_RPM: provide an RPM quality in SITL
9 years ago
Staroselskii Georgii
4ca1b58408
AP_HAL_Linux: add ConsoleDevice a handler for TTIN signal
...
In a case ArduPilot is launched as a background process without
detaching with *nohup* like this ./arduplane -C /dev/ttyAMA0 ConsoleDevice
is created and an attempt to read from it is made. This yields in a stopped
process. This is an endeavour to overcome this problem.
9 years ago
Staroselskii Georgii
8d2b587f71
AP_HAL_Linux: RPI: set signal handler iff nobody has already done it before
9 years ago
Staroselskii Georgii
5e8edcb1db
AP_HAL_Linux: use NSIG instead of a hardcoded number in RCInput_RPI
9 years ago
Staroselskii Georgii
d69aeb4808
AP_HAL_SITL: use sigaction over signal API in SITL_State
9 years ago
Randy Mackay
d19c074ba1
AP_ADC_ADS1115.h: changed member declaration order to resolve compiler warning
...
No functional change
9 years ago
hiro2233
3ae36c4a6c
AP_HAL_Linux:RCInput: Minimun input channels defined
9 years ago
hiro2233
4a6447575c
AP_HAL: fixed and updated RCInput example.
9 years ago
Andrew Tridgell
9df58e1e0a
AP_Arming: don't show the GPS arming error in SITL
...
it just makes users think something is wrong
9 years ago
Lucas De Marchi
a159eedd8c
AP_RangeFinder: fix bus for Lightware on some boards
9 years ago
Lucas De Marchi
cb01280d77
AP_HAL: define bus for Lightware rangefinder
9 years ago
Jonathan Challinger
4dfb277683
AP_RangeFinder: fix LightwareI2C conversion to I2CDevice
9 years ago
Tom Pittenger
5108b4cbb6
AP_BattMonitor: move vehicle dependant code to be c-file only, not header
9 years ago
murata
7721290160
AP_Scheduler:time_available value type invalid uint16_t to valid uint32_t.
9 years ago
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.
9 years ago
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.
9 years ago
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
9 years ago
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