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
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