Daniel Agar
cb610caf1e
drivers: minimize additional I2C retries
2021-08-17 09:54:50 -04:00
Martina Rivizzigno and Claudio Micheli
159c87a6fb
ll40ls: add support for LidarLite V4
...
Co-authored-by: Claudio Micheli <claudio@auterion.com >
2021-08-12 10:05:19 -04:00
Beat Küng
e644036325
drivers: use updated I2C SPI driver interface
2021-07-08 12:59:35 -04:00
David Sidrane
810e9e174f
distance_sensor: Use inttypes
2021-06-16 17:07:47 +02:00
JacobCrabill
85796fbd84
Drivers: Distance Sensors: Add proper device IDs
...
Add new DeviceBusType_SERIAL to Device::DeviceId union
Add DRV_DIST_DEVTYPE's for all distance sensors
Change distance_sensor_s.id to distance_sensor_s.device_id
Modify all distance_sensor drivers to apply 'proper' device_id
2021-01-27 17:02:20 -05:00
Beat Küng
c0cf144a5a
ll40ls: fix rotation -> orientation
2020-10-22 11:30:50 -04:00
Daniel Agar
27f23ac290
move initial sensor priority to parameters and purge ORB_PRIORITY
...
- CAL_ACCx_EN -> CAL_ACCx_PRIO
- CAL_GYROx_EN -> CAL_GYROx_PRIO
- CAL_MAGx_EN -> CAL_MAGx_PRIO
2020-08-21 10:12:13 -04:00
bazooka joe
8a3a71caed
simplify the code to calculate signal_quality
2020-07-28 23:45:38 +01:00
bazooka joe
4d1c7b734c
don't set quality to 0 for lidar lite v3hp, because the strength data is valid even for short distance
2020-07-28 23:45:38 +01:00
Daniel Agar
02f4ad61ec
I2C/SPI require device type in constructor
2020-04-01 12:24:22 -04:00
Beat Küng
1b1e1ba31f
refactor ll40ls: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
df99555132
refactor ll40ls: split I2C and PWM into separate drivers
...
- there was almost nothing shared
- it will fit better into the updated I2C driver structure
2020-03-17 23:31:17 -04:00
Jacob Dahl
005f530eed
Removed lidar lite reset after intialization
2019-11-03 20:07:27 +01:00
Daniel Agar
26364d44c9
px4_work_queue: command line status output and shutdown empty queues
...
* adds a work_queue systemcmd that will bring a tree view of all active work queues and work items
* WorkQueues now track attached WorkItems and will shutdown when the last WorkItem is detached
2019-10-02 12:23:17 -04:00
mcsauder
9023030931
LidarLite driver minor comment updates/formatting and change instances of OK to PX4_OK.
2019-09-27 07:55:53 +01:00
mcsauder
7b16c3482d
Refactor the ll40ls namespace driver methods to more closely match the cm8jl65, mappydot, leddar_one, and other distance sensor driver implementations.
2019-09-27 07:55:53 +01:00
Claudio Micheli
5fd483dbf8
ll40ls: fixed typo errors.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
6a8b25a1b9
ll40ls: simplified probe logic and lowered max readable distance.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
59f61b3107
ll40ls: fix v3hp signal quality and modified probe to detect v3hp.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
5eefd9409b
ll40ls: [Wingtra docet] fix for properly resetting v3 and v3hp modules.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
7799f4c68b
ll40ls: fix for lidar lite v3hp
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Mark Sauder
e0c85c8831
ll40ls: correct a write_reg issue ( #12604 )
...
* deprecate a goto statement
* migrate to uniform initialization in LidarLite base class.
2019-08-01 23:41:05 -04:00
Daniel Agar
29c50da1f6
ll40ls: cleanup and create PX4Rangerfinder helper class ( #12567 )
2019-07-31 15:17:35 -04:00
dvornikov-aa
e9397eeb75
ll40ls: fix LIDAR-Lite v3 initialization ( #12453 )
2019-07-31 13:00:30 -04:00
Daniel Agar
22b89034d9
ll40ls move to px4 work queue
2019-05-24 12:58:55 -04:00
Oleg Kalachev
fbc8d01a7e
Rename distance_sensor.covariance to variance
2019-02-22 18:31:27 +00:00
Julian Oes
5b9dea5604
Replacing usleep with px4_usleep
...
This is a step towards isolating time from the system.
2018-12-22 10:32:18 +01:00
Daniel Agar
9cd3e3d1cf
distance sensors delete unused IOCTL SENSORIOCSQUEUEDEPTH
2018-11-06 07:43:43 +08:00
Daniele Pettenuzzo
a2d1f6ddce
ll40ls driver: support also lidar lite v3HP ( #10578 )
2018-10-04 00:54:27 -04:00
Daniel Agar
bdba733dd4
ll40ls cleanup unnecessary Device CDev usage
2018-08-27 13:14:15 -04:00
Philipp Oettershagen
da2fbf60b5
distance sensors: Improve variable naming / description
2018-07-16 21:59:04 +10:00
Philipp Oettershagen
35bde5c9fc
LL40LS: Implement driver-specific filtering based on the datasheet and experiments
2018-07-16 21:59:04 +10:00
CarlOlsson
56150c28dd
ll40ls: increase the sleep time after resetting registers
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2018-04-19 07:52:15 +02:00
CarlOlsson
cbf3cee096
ll40ls: increase the number of samples used to find a correlation peak for LitarLite
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2018-04-19 07:52:15 +02:00
Daniel Agar
67f89f51ff
move all distance sensor drivers to the same folder
2018-01-15 14:34:02 -05:00