Lucas De Marchi
915f10dc8a
AP_HAL: SPIDevice: prefer nullptr for pointer
2017-04-19 01:36:58 -07:00
Vinicius Juvinski
203073e543
AP_HAL: add LEDs for BBBMini
...
Use pins P8.9, P8.10 and P8.11
2017-04-19 01:33:35 -07:00
hiro2233
1a8fa6ac5a
AP_HAL:SPIDevice: Added functions for spi registered device.
2017-04-19 01:05:12 -07:00
Peter Barker
18d8f9ba9d
AP_HAL: make get_custom_log_directory const
2017-04-19 00:11:49 -07:00
Pierre Kancir
34199b4af0
AP_HAL: example fix travis warning
...
missing function declaration
implicit cast
some style fix
2017-04-13 19:56:16 +01:00
Tom Pittenger
1e84e07edc
AP_HAL: remove HAL_CPU_CLASS_16
2017-04-12 17:25:30 -07:00
Eugene Shamaev
d1792689f1
AP_HAL/utility: clear added to RingBuffer
2017-04-10 21:31:07 +01:00
Eugene Shamaev
a07033f938
AP_HAL: ESC scaling
2017-04-10 21:31:07 +01:00
Eugene Shamaev
9b98c304c4
AP_HAL: top level HAL definitions for CAN bus driver
2017-04-10 21:31:07 +01:00
Andrew Tridgell
7cd290af9b
AP_HAL: added defaults offsets max for disco
2017-04-10 19:17:37 +10:00
Lucas De Marchi
f91d23daab
AP_HAL: add HAL_PX4_HAVE_PWM_INPUT
2017-03-24 12:06:19 +11:00
Lucas De Marchi
7ca9c7a443
AP_HAL: add HAL_HAVE_SAFETY_SWITCH
2017-03-24 12:06:19 +11:00
Lucas De Marchi
d3e9f7ce66
AP_HAL: add HAL_PX4_HAVE_PX4IO
2017-03-24 12:06:19 +11:00
Lucas De Marchi
7f5b551050
AP_HAL: add HAL_PX4_HAVE_MTD_SUPPORT
2017-03-24 12:06:19 +11:00
Lucas De Marchi
c7fc3ffbc4
AP_HAL: add HAL_HAVE_BOARD_VOLTAGE
2017-03-24 12:06:19 +11:00
Lucas De Marchi
37a050eed9
AP_HAL: add comments and allow for board overrides
2017-03-24 12:06:19 +11:00
Lucas De Marchi
a682bb837a
AP_SerialManager: uartA with 460800 baud for aerofc
2017-03-24 12:06:19 +11:00
Lucas De Marchi
20c5e9ec08
Add support for external mag on aerofc
2017-03-24 12:06:19 +11:00
Lucas De Marchi
00c2949dfb
Add support for baro on aerofc
2017-03-24 12:06:19 +11:00
Lucas De Marchi
b17acfee12
Add aerofc support
...
Flight Controller board that comes on Intel Aero RTF Drone.
2017-03-24 12:06:19 +11:00
mirkix
81da61a68d
AP_HAL: BBBmini remove onboard OpticalFlow
2017-03-07 22:48:48 -08:00
Lucas De Marchi
686e0f08d6
AP_HAL: RCOutput: add optional timer_tick() method
...
This is common enough across the HAL implementaions so add a method for
it to avoid the need for casts inside the HALs.
2017-02-26 13:38:24 +11:00
Lucas De Marchi
8002df6e45
AP_HAL: add MPU6500 defines
2017-02-26 13:37:13 +11:00
Lucas De Marchi
0a381dfa1b
AP_HAL: document method to split transfers
2017-02-23 22:38:15 -08:00
Andrew Tridgell
dc26cbc074
AP_HAL: added set_split_transfers() API for I2C
2017-02-23 22:38:15 -08:00
Peter Barker
8f478a62d7
AP_HAL: remove HAL_PARAM_DEFAULTS_PATH for SITL
...
This will remove the warning at startup that etc/defaults isn't
found, which just confuses matters when things aren't working
2017-02-09 21:00:43 +11:00
Andrew Tridgell
2bb1043c23
AP_HAL: added HAL_MINIMIZE_FEATURES
...
this is used to select a minimal build to save flash space on FMUv2
2017-01-29 16:31:06 +11:00
murata
03bf57219b
AP_HAL: Unify from print or println to printf.
2017-01-27 18:20:22 +11:00
Lucas De Marchi
a73c1daa2e
AP_HAL: Device: remove unused function to read registers
...
Callers can use be16toh(), be32toh(), etc. There's no need to have a
special function here for each type.
2017-01-26 23:18:27 -08:00
Lucas De Marchi
14519e90ff
AP_HAL: Device: remove trailing whitespaces
2017-01-26 23:18:27 -08:00
mirkix
093407e8e8
AP_HAL: Add BeagleBone Blue
2017-01-26 23:15:52 -08:00
Julien Beraud
c31522c2c3
AP_HAL_Linux: fix focal lengths calculation
...
Fixed focal length on bebop due to wrong spec.
Fix comment that had a typo.
Fixed focal length calculations on other boards that were mislead
by the typo.
2017-01-23 21:23:16 +11:00
Julien Beraud
4646428ac0
AP_HAL: remove ahrs cb from opticalflow
...
Not needed anymore
2017-01-23 21:23:16 +11:00
Julien Beraud
8a57e1a4a7
AP_HAL: Add methods for optical flow
...
Add methods to push gyro and gyro biases to perform a good
optical flow
2017-01-23 21:23:16 +11:00
Mathieu OTHACEHE
bad1c879d9
AP_HAL: Bebop & Disco: move default param file path
...
In future Bebop & Disco releases, no ardupilot binary nor default param file
will be provided.
So move HAL_PARAM_DEFAULTS_PATH to ardupilot folder in RW memory.
2017-01-18 18:08:01 +00:00
Mathieu OTHACEHE
fdb2a9c99b
AP_HAL: Bebop & Disco: rename APM to ardupilot in paths
...
Rename APM to ardupilot for Bebop and Disco's HAL_BOARD_LOG_DIRECTORY and
HAL_BOARD_TERRAIN_DIRECTORY.
2017-01-18 18:08:01 +00:00
Pierre Kancir
e627bbc912
AP_HAL: Board fix typo for baro BMP280_SPI
2017-01-17 17:33:37 +00:00
mirkix
4e06be38ac
AP_HAL: Add Bosch BMP280 driver
2017-01-14 12:52:07 +11:00
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
2017-01-14 10:03:54 +11:00
Andrew Tridgell
9b7f0f7957
AP_HAL: make new_input() API clearer in comments
2017-01-09 21:47:11 -08:00
murata
974d63a6b5
AP_HAL: Change the format of the return value of the method header.
2017-01-09 15:46:03 +00:00
Andrew Tridgell
da45aef5c6
AP_HAL: fixed a logic bug in the srxl state machine
...
when decoding invalid input the buflen could grow to beyond the buffer
size, overwriting the next block of memory. On Disco this ended up
overwriting the Perf::_instance variable, which led to a segmentation
fault
2017-01-09 09:14:13 +11:00
Randy Mackay
a2f6d7c102
AP_HAL: minor comment fix to Device.h
2016-12-24 13:55:31 +09:00
Andrew Tridgell
29bc07f410
AP_HAL: setup for building ucavcan on FMUv3 but not FMUv2
...
save a lot of flash space on FMUv2
2016-12-19 08:07:12 +11:00
Andrew Tridgell
bd0a0510ed
AP_HAL: define FMUv3
2016-12-19 08:07:11 +11:00
Lucas De Marchi
b0ddf81687
Remove stdbool.h include for C++ sources
...
This header is not needed in our C++ sources.
2016-12-16 11:38:52 -08:00
Andrew Tridgell
c657ad449b
AP_HAL: added get_bus_address()
...
used to report sensor probing results in drivers
2016-12-05 16:51:49 -08:00
Andrew Tridgell
60c29417f1
AP_HAL: added uint16 access functions
2016-12-05 16:51:49 -08:00
mirkix
7e33ba04a9
AP_HAL: Add BBBmini PX4FLOW I2C bus number
2016-12-03 21:07:07 +11:00
Andrew Tridgell
28a318145c
AP_HAL: move set_retries() up to Device class
...
we really need set_retries() high during init for nearly all i2c
devices, and as many are written against the generic device class
moving it to the Device class makes this a lot easier. It is a NOP on
SPI.
2016-12-02 09:47:51 +11:00