Francisco Ferreira
45531775cd
AP_Rangefinder: support multiple serial rangefinders
7 years ago
Andrew Tridgell
ffced7d591
AP_RangeFinder: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Lucas De Marchi
2e80b2e1d0
AP_RangeFinder: add static create method
7 years ago
Mateusz Sadowski
0993300506
AP_Rangefinder: rename trone to TeraRangerI2C
8 years ago
Peter Barker
30c4ea8123
AP_RangeFinder: stop storing sensor type as a variable
...
And change method name
8 years ago
Peter Barker
c0aa10d84b
AP_RangeFinder: move rangefinder backend data accessors to backend
8 years ago
Peter Barker
127edce39e
AP_RangeFinder: move prearm checks into backend
8 years ago
Peter Barker
0b1c67d170
AP_RangeFinder: remove unused parameters from detect and constructors
8 years ago
Peter Barker
08cd3f4a77
AP_RangeFinder: move instance parameters into instance state
8 years ago
Pierre Kancir
8b38bd2e33
AP_RangeFinder: add sensor type to backend
8 years ago
Andrew Tridgell
b29db0aa5b
AP_RangeFinder: implement VL53L0X rangefinder
8 years ago
Andrew Tridgell
05cbc19ad6
AP_RangeFinder: added type 15 for LidareLiteV3
8 years ago
Randy Mackay
e7dd21a0bb
AP_RangeFinder: remove primary, add orientation
8 years ago
Andrew Tridgell
68ff71e4c0
AP_RangeFinder: added trone in-tree driver
8 years ago
Ricardo de Almeida Gonzaga
148fa03d6b
AP_RangeFinder: support MaxBotix Serial rangefinders
...
This has been tested with LV-MaxSonar®-EZ1 MB1010
8 years ago
davidaroyer
69bc4c42c9
AP_RangeFinder: Add support for Aerotenna uLanding radar altimeter
8 years ago
Andrew Tridgell
0c7dd99d7e
AP_RangeFinder: support LidarLite V2 using in-tree driver
...
needs to run in continuous mode
8 years ago
Andrew Tridgell
703ef0ca0e
AP_RangeFinder: added get_primary() API
8 years ago
Andrew Tridgell
27cdf220de
AP_RangeFinder: use const reference
8 years ago
priseborough
24f9e7365d
AP_RangeFinder: Add parameters defining sensor position offset
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
ShingoMatsuura
3123bd6d7d
AP_RangeFinder: add LeddarOne support
9 years ago
Luiz Ywata
a7fddc0594
AP_RangeFinder: add method _add_backend()
...
Wrapper method that saves a detected driver
9 years ago
Randy Mackay
c541cb27f8
AP_RangeFinder: rename CompanionComputer to MAVLink
9 years ago
Allan Matthew
d3831e4a5d
RangeFinder: add MAVLink rangefinder
9 years ago
Julien Beraud
33a699f29c
AP_RangeFinder: Add support for bebop Rangefinder
...
This rangefinder uses an spi device to send pulses and an iio driver
in buffer mode to get data
The data is then analyzed and the maximum pulse received is considered to
represent the echo of the pulses that have been sent. The distance in time
between the pulse that is sent and the pulse with the maximum amplitude
is used to calculate the altitude based on the speed of sound.
There is a dependency with libiio, and in order to build, there is a need
to provide a rootfs that includes libiio.a.
The other solution is to build dynamically after having updated the rootfs
to use on compiled with a more recent toolchain and include libiio
9 years ago
Lucas De Marchi
f6712c8bc4
AP_RangeFinder: replace header guard with pragma once
9 years ago
Andrew Tridgell
5800f0c884
AP_RangeFinder: default to two rangefinders
...
and fixed documentation strings for rangefinder 3 and 4 if enabled
10 years ago
Andrew Tridgell
8538aa9840
AP_Rangefinder: allow for up to 4 rangefinders
10 years ago
Andrew Tridgell
7d30ce2e36
AP_RangeFinder: added lightware serial rangefinder
10 years ago
Andrew Tridgell
dff235dc36
AP_RangeFinder: support LightWare I2C laser rangefinders
...
this has been tested with the SF10/C
10 years ago
Gustavo Jose de Sousa
5d39587469
AP_RangeFinder: 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
mirkix
1b0f482d37
AP_RangeFinder: Add support for HC-SR04 Range Finder connected to BBB
10 years ago
Randy Mackay
ac76562638
RangeFinder: init state and drivers
...
resolves a coverity defect
10 years ago
Randy Mackay
7663b8eade
RangeFinder: replace healthy with status and no_data methods
10 years ago
Randy Mackay
8ed6207ca8
RangeFinder: add pre-arm checks
10 years ago
Randy Mackay
f1cbd1f03b
RangeFinder: add ground clearance parameter
10 years ago
Andrew Tridgell
a6d76b4e03
AP_RangeFinder: added PX4-PWM rangefinder
...
uses PWM input driver to read a rangefinder
10 years ago
Randy Mackay
01c669ee15
RangeFinder: minor param description update
...
Also initialise primary instance to 0.
No functional change.
10 years ago
akdslr
8c6718fe2d
AP_RangeFinder: Removed the use of type Auto
11 years ago
Andrew Tridgell
22b9059647
AP_RangeFinder: have two instances on all platforms
...
rover needs two sonars for obstacle avoidance
11 years ago
Andrew Tridgell
6f33ca4988
AP_RangeFinder: added SONAR_RMETRIC option
...
this allows correct support for non-ratiometric rangefinders such as
the SF/02
11 years ago
Andrew Tridgell
cb037f3416
AP_RangeFinder: new rangefinder API ready for its first backend
...
the backends are setup to have just the minimum functionality needed
for a rangefinder, with all of the higher level logic in the
frontend. This should make writing a new backend easier
11 years ago
akdslr
d759a9dd9b
AP_RangeFinder: Seperated the Backend driver functionality into a separate class
11 years ago
akdslr
18c06277f8
AP_RangeFinder: Added a new PX4 range finder and modified the RangeFinder parent class to support having multiple devices simultaneously
11 years ago
Randy Mackay
8d54e50897
RangeFinder: remove raw_value, orientation variables
...
This saves 10bytes of RAM
11 years ago
Pat Hickey
a38ce8962e
AP_Rangefinder: ported to AP_HAL. Only officially supports MaxsonarXL.
12 years ago
rmackay9
f68523b39b
AP_RangeFinder_MaxsonarI2CXL: resolve shadowed variable compiler warning
12 years ago
uncrustify
c6f99a7b6e
uncrustify libraries/AP_RangeFinder/RangeFinder.h
13 years ago
rmackay9
f264e29814
AP_RangeFinder - cut over to use new ModeFilter from Filter library
13 years ago