Andrew Tridgell
54b9524c0b
AP_RangeFinder: make LightWare I2C native work with more hw versions
...
this allows the native i2c lightware driver to work with a wide range
of lidars from LightWare, removing the specific version check, and the
version specific config commands
5 years ago
Michael du Breuil
c12652b325
AP_Rangefinder: Remove stop pin usage
6 years ago
Andrew Tridgell
9c900c7176
AP_RangeFinder: added driver for Lanbao CM8JL65
6 years ago
Andrew Tridgell
172c802ffa
AP_RangeFinder: support native I2C protocol on LightWare Lidars
...
this supports both the native and the legacy I2C protocol for
LightWare Lidars. The native protocol is a string based protocol that
is enabled by default on new Lidars. By supporting both protocols we
avoid the need for users to re-configure their new lidar using a
serial cable before using it on I2C.
This driver was originally written by Mitch Koch and Jonathan
Challinger, and ported to master by me (it required only minor
changes)
6 years ago
murata
4754710e60
RangeFinder: Change to coding style (NFC)
...
RangeFinder: RangeFinder: Change to coding style (NFC)
6 years ago
murata
851ee24c99
AP_RangeFinder: Clarify the purpose of input registers
6 years ago
murata
0b1987ae36
AP_RangeFinder: Use common hexadecimal to character number conversion method
6 years ago
Randy Mackay
01a713a812
AP_RangeFinder: param desc rename from PX4-PWM to just PWM
...
the PWM driver is available for many boards
6 years ago
Andrew Tridgell
0f6b8375bb
AP_RangeFinder: added a 1.5 delay to probe of LW20 I2C
...
the LW20 takes a long time to boot and be ready to probe
6 years ago
Michael du Breuil
3202a2e0a6
AP_Rangefinder: Add arming checks
6 years ago
Randy Mackay
84b502b0c4
AP_RangeFinder: resolve gcs::send_text compiler warning
6 years ago
Randy Mackay
480a3ebb03
AP_RangeFinder: LightwareSerial driver handles invalid distances
...
reports the longer of 100m or RNGFNDx_MAX_CM+1m
6 years ago
Pierre Kancir
c4ec373b20
AP_RangeFinder: pass mavlink_message_t by const reference
6 years ago
Peter Barker
ac96461c6c
AP_RangeFinder: use AP_SerialManager singleton
6 years ago
murata
d7b2271197
AP_RangeFinder: Common modbus crc method
6 years ago
Pierre Kancir
209b0300a5
AP_Rangefinder: fix compilation for Bebop
6 years ago
Peter Barker
68d7e0c22f
AP_RangeFinder: correct macro being used for parameter definition
6 years ago
Peter Barker
8cd5e3103f
AP_RangeFinder: remove use of removed AP_PARAM_FLAG_IGNORE_ENABLE
6 years ago
Peter Barker
4c88a1e9de
AP_RangeFinder: remove dangling update_instance declaration
6 years ago
Tatsuya Yamaguchi
18a43601cd
RangeFinder: Add up to 10 RangeFinder logs
6 years ago
Lucas De Marchi
4f73881c4b
AP_RangeFinder: TFMiniPlus: enforce minimum version 1.7.6
...
On this version of the firmware the command changed - support the new
command and only that one: it's not expected to have devices with the
older versions.
6 years ago
Lucas De Marchi
b3a8496613
AP_RangeFinder: add support for Benewake TFMini Plus on I2C
...
This was tested with firmware 1.7.0 on the sensor.
6 years ago
alancaro2013
a1557184d5
AP_RangeFinder: Modified uLanding parse to check device version.
...
US-D1 version ID was changed to 2 from 0. This alteration will prevent
past US-D1s, with version ID 0, from being 3-byte parsed.
6 years ago
Peter Barker
93c33fda1d
RangeFinder: correct bad include of old semaphore library
6 years ago
Siddharth Purohit
479c238177
RangeFinder: add support for rangefinder sensor over can
6 years ago
Andrew Tridgell
09792d3056
AP_RangeFinder: removed unusued AP_Common/Semaphore.h
6 years ago
Michael du Breuil
85da4955b6
AP_Rangefinder: Enforce checking I2C status on VL53L1X
6 years ago
Michael du Breuil
b31cd1adb5
AP_RangeFinder: Remove pre arm distance check
6 years ago
Michael du Breuil
6dd05db3b7
AP_Rangefinder: Fix VL53L1X ignoring return status
6 years ago
murata
49b0a00182
AP_RangeFinder: Delete unnecessary judgment
6 years ago
Peter Barker
dd567ad18a
AP_RangeFinder: handle RFND logging
6 years ago
Adolfo
428d4d4574
AP_RangeFinder: fixed TeraRangerI2C refresh rate and status
6 years ago
Randy Mackay
5e9aebd678
AP_RangeFinder: BlueRobotics Ping driver
6 years ago
Randy Mackay
65966ac957
AP_RangeFinder: add LidarLitev3HP and PWM to TYPE param desc
6 years ago
Michael du Breuil
21b64ad19b
AP_Rangefinder: Remove parameter manipulation from initializer
6 years ago
Michael du Breuil
49d20d4b4f
AP_Rangefinder: Remove unused AP_Math header
6 years ago
Pierre Kancir
37d121ae02
AP_RangeFinder: remove useless includes
6 years ago
Andrew Tridgell
ccfaaca82b
AP_RangeFinder: fixed lightware serial with LW20 lidar
...
it needs a longer serial write to force it to serial mode from i2c
6 years ago
Peter Barker
b0c65b9014
AP_RangeFinder_PWM: correct integer division issue
6 years ago
Andrew Tridgell
bf4dc2d3b7
AP_RangeFinder: probe all I2C buses for rangefinders
...
we now have flight boards with up to 4 I2C buses, and probing only 2
of them causes user confusion
6 years ago
Randy Mackay
a72477590f
AP_RangeFinder: format fixes
6 years ago
Dmitri Ranfft
f8af5afc53
RangeFinder: Removed the 3 bit limitation for the enumeration
6 years ago
Dmitri Ranfft
5eff01a86f
RangeFinder: allow up to 10 range finders to be used at once
6 years ago
Peter Barker
d71244dd23
APM_RangeFinder: remove PX4 backend type
6 years ago
Peter Barker
f037629fc3
RangeFinder: understand stop pin for AP_RangeFinder_PWM backend
6 years ago
Julien Beraud
e165e9c323
AP_RangeFinder: fix bebop rangefinder
...
Fix Backend constructor call
6 years ago
Nghia Nguyen
60250e4c49
AP_Rangefinder: Add support for ST VL53L1X
6 years ago
Randy Mackay
fbf072d84b
AP_RangeFinder: add range to POS param description
6 years ago
Michael du Breuil
52d6353e33
AP_Rangefinder: Remove unused members
6 years ago
Randy Mackay
6816262e3d
AP_RangeFinder: benewake tfmini always provide cm distances
...
a misunderstanding of the datasheet led to the mistaken idea that while in short-range-mode the distances were returned in millimeters
6 years ago