Randy Mackay
3f749051d3
AP_RangeFinder: NMEA sonar driver
7 years ago
Michael du Breuil
7d6c3ec683
AP_RangeFinder: Make singleton
7 years ago
Michael du Breuil
9e551350a4
AP_RangeFinder: Remove unneeded state member
7 years ago
Dmitri Ranfft
8fa281fa5b
RangeFinder: fixed a crash when VL53L0X was enabled in the software but not connected.
7 years ago
Peter Barker
c627ed6ae3
RangeFinder: remove divide-by-zero possibility
7 years ago
Francisco Ferreira
146143ff2e
AP_Rangefinder: adapt to new serial manager enum name
...
Lidar is now called Rangefinder
7 years ago
Francisco Ferreira
45531775cd
AP_Rangefinder: support multiple serial rangefinders
7 years ago
Francisco Ferreira
5999421c72
AP_RangeFinder: uLanding now uses the Lidar protocol
...
uLanding was using a specific protocol in serial manager, but that's not needed and would break following work
As previously, baudrate is hardcoded
7 years ago
LukeMike
721f55e93c
VRBRAIN / AP_RangeFinder: removed AP_RangeFinder_PX4_PWM for VR Brain boards
7 years ago
Pierre Kancir
6728598099
AP_Rangefinder: don't include Bebop rangefinder by default
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
Francisco Ferreira
02586b0a2e
AP_Rangefinder: search buses 0 and 1 for Maxbotix I2C driver
7 years ago
Francisco Ferreira
bb46eaedaa
AP_Rangefinder: look in buses 0/1 when Lightware I2C bus isn't defined
7 years ago
Lucas De Marchi
72fd2d6f05
global: use static method to construct AP_SerialManager
7 years ago
Lucas De Marchi
9027a55696
global: use static method to construct RangeFinder
7 years ago
Lucas De Marchi
2e80b2e1d0
AP_RangeFinder: add static create method
7 years ago
davidaroyer
cb270a9acf
AP_RangeFinder: cleanup variable names in uLanding driver
7 years ago
davidaroyer
8284fb1093
AP_RangeFinder: update uLanding driver for new firmware data format
7 years ago
Lucas De Marchi
7b0d6166e1
AP_RangeFinder: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
8 years ago
Mateusz Sadowski
eb56a010b3
AP_RangeFinder: TeraRangerI2C: use address from parameter instead of hardcoded
8 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
ccbf281137
AP_RangeFinder: allow to set rangefinder type for mavlink
8 years ago
Francisco Ferreira
a960c6526c
AP_Rangefinder: set type for VL53L0X
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
Dr.-Ing. Amilcar Do Carmo Lucas
78b7207ab4
AP_RangeFinder: Use SI units conventions in parameter units
...
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
8 years ago
murata
46cba2c970
libraries: Delete the setting value for specific editor.
8 years ago
Pierre Kancir
4a2b90b707
AP_Rangefinder: example fix travis warning
...
missing function declaration
implicit cast
some style fix
8 years ago
Grant Morphett
792bf70c40
RangeFinder: Fixed the value labels for LidarLite
...
LidarLiteV2 ---> LidarLiteV2-I2C
LidarLiteV3 ---> LidarLiteV3-I2C
8 years ago
Lucas De Marchi
b17acfee12
Add aerofc support
...
Flight Controller board that comes on Intel Aero RTF Drone.
8 years ago
Andrew Tridgell
05cbc19ad6
AP_RangeFinder: added type 15 for LidareLiteV3
8 years ago
Randy Mackay
c98e598ae2
AP_RangeFinder: fix example sketch
8 years ago
Randy Mackay
e7dd21a0bb
AP_RangeFinder: remove primary, add orientation
8 years ago
Andrew Tridgell
df1da3c14e
AP_RangeFinder: setup for split I2C transfers
...
this fixes PulsedLight Lidar on Linux
8 years ago
Jacob Walser
d3442ae16b
AP_RangeFinder: Bugfix for mavlink rangefinders to include out of range low/high
8 years ago
murata
d9dbf6e1eb
AP_OpticalFlow: Change from magic number 0 to definition name.
8 years ago
priseborough
bf51da224a
AP_RangeFinder: Update min value for RNGFND_GNDCLEAR parameter
8 years ago
murata
17c62ffe4c
AP_RangeFinder: Unify from print or println to printf.
8 years ago
Andrew Tridgell
848c03650b
AP_RangeFinder: removed old PX4 rangefinder drivers
8 years ago
Andrew Tridgell
3b42289475
AP_RangeFinder: added doc listing for TrOneI2C
8 years ago
Andrew Tridgell
683e549ed7
AP_RangeFinder: added WHOAMI and crc check
...
thanks to Francisco for review comments
8 years ago
Andrew Tridgell
68ff71e4c0
AP_RangeFinder: added trone in-tree driver
8 years ago
Julien Beraud
b561837b41
RangeFinder_Bebop: Fix mode selection
...
mistakes in selecting mode
8 years ago
Julien Beraud
8a1f4e048f
RangeFinder_Bebop: fix spi speed
...
Set spi speed. Else 0 will be sent at each transfer.
8 years ago
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
8 years ago