José Roberto de Souza
6215a3d224
AP_HAL: Add MS5637 over I2C to the supported barometers list
2015-10-16 10:05:03 +11:00
Julien BERAUD
f231182cd9
AP_HAL: Add support for a Heater
...
Add heater class and non-pure virtual method to Util class in order to do
nothing in case the function is not implemented
2015-10-06 15:21:39 +11:00
Lucas De Marchi
fb643fbb53
AP_HAL: RCOutput: add methods to allow grouping writes
2015-10-06 10:42:18 +11:00
Lucas De Marchi
666dc3e440
AP_HAL: RCOutput: remove unused write method
...
This method is not used anymore since the introduction of channel map and
allowing motors to be enabled/disabled in AP_Motors.
Later we may introduce a method to write multiple values with a default
implementation that supports the channel and enable maps rather than
requiring all subclasses to implement this method.
2015-09-29 11:53:38 +09:00
mirkix
f48bdc281f
AP_HAL: Add support for using SPI devices of the same type.
2015-09-18 09:15:09 +10:00
Andrew Tridgell
582318448f
AP_HAL: make new GPIO functions optional
...
not available on all boards
2015-09-14 14:22:16 +10:00
raspilot
6df83f46c5
AP_HAL: new GPIO APIs
2015-09-14 14:22:15 +10:00
raspilot
dcc7cf2739
AP_HAL: raspilot board type
2015-09-14 14:22:15 +10:00
Víctor Mayoral Vilches
b87fd58214
AP_HAL: ERLEBOARD legacy support
...
This config referred to the legacy Erle-Board
https://erlerobotics.com/blog/product/erle-board/
The configuration is preserved to support the
existing boards.
2015-09-09 10:31:55 +10:00
Gustavo Jose de Sousa
e05928a7e8
AP_HAL: make SPIDeviceDriver::transaction() return success or failure
2015-09-01 20:26:05 +10:00
Lucas De Marchi
a44ab9ed98
AP_HAL: define constant for HMC5843 on MPU6000
2015-08-28 12:39:09 +10:00
Andrew Tridgell
e889886e07
AP_HAL: start with the vehicle disarmed
...
this prevents a race condition on startup that can cause a UAVCAN ESC
to run while the vehicle is booting
2015-08-23 09:49:52 +10:00
Lucas De Marchi
ca17b6155e
AP_HAL: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-18 17:12:51 +10:00
Andrew Tridgell
c72372722e
AP_HAL: fixed example builds
2015-08-11 17:00:03 +10:00
Gustavo Jose de Sousa
0456eccca8
AP_HAL: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-11 16:28:43 +10:00
Randy Mackay
810973ce95
HAL: define capability bitmask
2015-07-31 14:50:19 +09:00
Andrew Tridgell
eca0940bc7
AP_HAL: allow for broadcast packets on UDP IPv4
2015-07-29 16:46:33 +10:00
Andrew Tridgell
3e4b0b9869
AP_HAL: added pollout() function to socket API
2015-07-29 14:19:46 +10:00
Andrew Tridgell
596ecde70d
AP_HAL: added listen and accept APIs to socket API
2015-07-29 09:07:41 +10:00
Andrew Tridgell
b07f7e873f
AP_HAL: added pollin() interface for Socket API
2015-07-29 08:58:02 +10:00
Andrew Tridgell
5067359ed7
AP_HAL: fixed socket destructor
2015-07-29 08:39:16 +10:00
Staroselskii Georgii
1a588263e4
AP_HAL: added destructor for Socket
2015-07-29 08:34:43 +10:00
Staroselskii Georgii
4411c1fed4
AP_HAL: improved constness of Socket API
2015-07-29 08:24:24 +10:00
Vladislav Zakharov
97b51a4bcb
AP_HAL: Added deinit() method to RCInput
...
Add a deinit() counterpart. This is needed for some ports that require some deinitializtion logic. The default implementation is empty. I'm not sure whether we need to inforce it for all.
2015-07-23 08:51:37 +10:00
Lucas De Marchi
b83708f77f
AP_HAL: use ARRAY_SIZE macro
2015-07-21 14:24:56 +09:00
Andrew Tridgell
4e0c2c5a9b
AP_HAL: defined default log and terrain directories for bebop
...
the /var filesystem is wiped on boot on Bebop. Use these as a
temporary workaround
2015-07-10 16:46:31 +10:00
Julien BERAUD
f0bed711cf
AP_HAL: added AK8963 I2C defines
2015-07-10 14:23:18 +10:00
Julien BERAUD
e0b59942b0
AP_HAL: changed log directories for bebop
2015-07-10 14:23:18 +10:00
Julien BERAUD
5c414b4ca2
AP_HAL: Fix Compass I2C address for Bebop
2015-07-10 14:23:18 +10:00
Julien BERAUD
8d6123928f
AP_HAL: Add i2c bus numbers and addresses
2015-07-10 14:23:18 +10:00
Julien BERAUD
bef8001a09
AP_HAL: added MS5607 baro define
2015-07-10 14:23:17 +10:00
Julien BERAUD
eea7ea8488
AP_HAL: split MPU6000 INS defines for I2C and SPI
2015-07-10 14:23:17 +10:00
Julien BERAUD
7275e33e79
AP_HAL: add the possibility to have more than 1 i2c
...
Bebop drone has 3 i2c
2015-07-10 14:23:17 +10:00
Andrew Tridgell
a6f62c208e
AP_HAL: added bebop Linux board type
2015-07-10 10:22:59 +10:00
Lucas De Marchi
384d650a23
AP_HAL: allow to have spi device state
2015-07-06 10:48:06 +10:00
Víctor Mayoral Vilches
e5a90c7a34
AP_HAL: Util, add custom terrain and log methods
2015-06-30 14:36:00 +10:00
Gustavo Jose de Sousa
42eb73a1d1
AP_InertialSensor: add LSM9DS0 backend
...
This adds the backend driver for LSM9DS0. This implementation is based on the
legacy driver coded by Víctor Mayoral Vilches (under folder LSM9DS0) and makes
some necessary adaptations and fixes in order to work properly. The legacy
driver folder was removed.
2015-06-30 10:27:46 +10:00
Andrew Tridgell
7f239f5d46
AP_HAL: added get_shell_stream()
2015-06-17 17:04:15 +10:00
Eugene Shamaev
8cb367eaf8
AP_HAL: added rc_bind rcin method
2015-06-10 17:19:08 +10:00
Andrew Tridgell
979a571d68
AP_HAL: fixed example build
2015-06-10 09:27:41 +10:00
Andrew Tridgell
c44ab01be8
AP_HAL: use noreturn attribute on panic
...
should reduce coverity warnings
2015-06-08 21:09:08 +10:00
Eugene Shamaev
ca482cf44a
StorageManager: added example sketch
2015-06-08 10:05:05 +09:00
Max Basescu
de50217809
AP_HAL: Added RC_OUTPUT_MIN_PULSEWIDTH set to 400 and RC_OUTPUT_MAX_PULSEWIDTH set to 2100
...
For use in AP_HAL_AVR in RCOutput_APMx
2015-06-05 21:03:03 +10:00
Lucas De Marchi
1d39f548dc
AP_HAL: remove aliases FUNCTOR_[BIND|TYPEF]_VOID
...
Nobody is using them anymore, so kill them.
2015-06-04 13:37:41 +09:00
Andrew Tridgell
5c86005160
AP_HAL: removed spurious delay example
2015-06-01 17:28:45 +10:00
Andrew Tridgell
1bd61ae96e
AP_HAL: no need to include AP_Vehicle_Type.h here any more
2015-06-01 17:28:24 +10:00
Andrew Tridgell
36b19b26ce
AP_HAL: convert example from .pde to .cpp
2015-06-01 17:03:40 +10:00
Andrew Tridgell
4dd47ead0e
AP_HAL: removed old fastdelegate code
2015-06-01 15:18:30 +10:00
Andrew Tridgell
ac3fc2f373
AP_HAL: fixed build warnings
2015-05-30 22:51:09 +10:00
Andrew Tridgell
4705be97bf
AP_HAL: support %lld and %llu in internal printf
...
useful for log messages with 64 bit timestamps
2015-05-27 11:54:17 +10:00