Lucas De Marchi
18321a77c4
AP_HAL_Linux: rename RCOutput_Navio to RCOutput_PCA9685
...
The RCOutput_Navio is now generic enough to be used by other boards.
Rename it to use the name of the chip, PCA9685.
10 years ago
Fabio Mello
c0caed1b64
AP_HAL_Linux: RCOutput_Navio: allow to use internal clock
...
It's possible to use the internal clock in PCA96895 if we account for
the drift it contains. This is a bit different from solutions in other
projects like the Adafruit library and the PX4 firmware: instead of
applying a correction to the final frequency we apply the correction to
the clock since this is the source of the error.
With this fix we arrived to much better results across different lots of
sensors.
The Navio board continues to use the external clock and should have no
difference behavior.
10 years ago
Lucas De Marchi
6c042b6666
AP_HAL_Linux: RCOutput_Navio: allow to have other offset
10 years ago
Lucas De Marchi
3beaf34aa1
AP_HAL_Linux: RCOutput_Navio: allow to have other OE pin
...
While at it also rename enable_pin to follow the convention of starting
with underscore for private members.
10 years ago
Gustavo Jose de Sousa
124b750c10
AP_HAL_Linux: 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.
10 years ago
Julien BERAUD
954ec71630
HAL_Linux: added rcout implementation for bebop
10 years ago
Julien BERAUD
7275e33e79
AP_HAL: add the possibility to have more than 1 i2c
...
Bebop drone has 3 i2c
10 years ago
mirkix
e6363ea95d
AP_HAL_Linux: BBBMINI uses /dev/i2c-2
10 years ago
Andrew Tridgell
5f0302ed9f
HAL_Linux: fixed chaining of getopt calls
10 years ago
Andrew Tridgell
355575f793
HAL_Linux: fixed chaining of getopt instances
10 years ago
Andrew Tridgell
a3c7297d8e
HAL_Linux: fixed setting of custom directories
10 years ago
Víctor Mayoral Vilches
5c4ae15deb
HAL_Linux: Make use of GetOptLong
...
Use GetOptLong to process long args, support
custom terrain and log directories and update
_usage().
10 years ago
Andrew Tridgell
dbff6cab43
HAL_Linux: added udp example to help
10 years ago
Staroselskii Georgii
dff430e136
AP_HAL_Linux: added UART port for second GPS
10 years ago
mirkix
d4d42599b0
AP_HAL_Linux: Add RcInput and RcOutput with only one PRU when using a BBB. BBBMINI use the RC AIO PRU firmware already
10 years ago
Staroselskii Georgii
75cd41a7c1
AP_HAL_Linux: added NavioAnalogIn
10 years ago
mirkix
c58a022111
AP_HAL_Linux: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black
10 years ago
Staroselskii Georgii
e4a21f291d
AP_HAL_Linux: added LinuxSPIUARTDriver that can handle SPI-driven Ublox
10 years ago
John Williams
ae87399919
HAL_Linux: Basic Zynq Linux platform support
...
Preliminary support for Zynq/Linux on the 'ZyboPilot' HW platform.
see https://github.com/trjw/ZyboPilot-bsp for the PetaLinux / Vivado project
files.
At this stage CPPM/Pulse in and PWM out work, and in CLI mode the passthru
test works correctly.
The platform has passed minimal smoke testing in HIL mode.
ZYNQ IS NOT FLIGHT TESTED YET! FLY THIS PLATFORM AT YOUR OWN RISK!
Signed-off-by: John Williams <john@whelanwilliams.net>
10 years ago
bugobliterator
dd6d520385
HAL_Linux:Create subclass to handle FRAM Storage under main Storage Class
10 years ago
Mikhail Avkhimenia
81de994fef
HAL_Linux: separate RCInput for PRU and Navio
10 years ago
Mikhail Avkhimenia
e05151f0e0
HAL_Linux: Initialize i2c before rcoutput (required by i2c pwm chips for initialization)
10 years ago
Mikhail Avkhimenia
2f0900b0a8
HAL_Linux: add GPIO driver for Raspberry Pi
10 years ago
Mikhail Avkhimenia
07ed93cea0
HAL_Linux: add PCA9685 based RCOutput for Navio
10 years ago
Andrew Tridgell
94e14f5dcb
HAL_Linux: split off RCOutput class to be specific to PXF and ERLE
...
this fixes the Replay tool
11 years ago
Andrew Tridgell
2ce219aeb8
HAL_Linux: split RCInput class into generic and PRU implementations
...
this will make it easier for other boards (such as NAVIO) to implement
their own RCInput mechanism
11 years ago
bugobliterator
ac11d282b5
HAL_Linux: Add support for PPM input to HAL_Linux
...
rcin thread continuously scans for values inside ring buffer maintained by pru with rcinpru0 firmware.
11 years ago
Andrew Tridgell
fc8068adfe
HAL_Linux: use board subtypes
11 years ago
Víctor Mayoral Vilches
be68de20f1
HAL_Linux: UART-like TCP sockets impl. on AP_HAL_Linux
11 years ago
bugobliterator
a7ead42f52
HAL_Linux: added initial gpio library
11 years ago
bugobliterator
eb35c94a43
HAL_Linux: add rcout->init method to HAL_Linux_Class::init
11 years ago
bugobliterator
e9f5e0d6cc
HAL_Linux: add rcout->init method to HAL_Linux_Class::init method
11 years ago
Andrew Tridgell
74ee70d463
HAL_Linux: updates for ERLE board type
11 years ago
Andrew Tridgell
bf2dd141e9
HAL_PX4: support uartE for 2nd GPS
11 years ago
Andrew Tridgell
735c6449a1
AP_HAL: added support for commandline arguments
...
useful for log replay, specifying log file
11 years ago
Andrew Tridgell
c000a08d6f
HAL_LINUX: added uartD
11 years ago
Andrew Tridgell
b30f652cec
HAL_Linux: removed Console driver
12 years ago
Andrew Tridgell
bbac3265b2
HAL_Linux: default to hal.console on stdout
12 years ago
Andrew Tridgell
884af71ef6
HAL_Linux: added SPI support
12 years ago
Andrew Tridgell
58a31318ee
AP_HAL_Linux: initial I2C driver implementation
...
this works sufficiently for the HMC5883
12 years ago
Andrew Tridgell
4ba044c441
AP_HAL_Linux: initial Linux AP_HAL
12 years ago