Commit Graph
18 Commits
Author SHA1 Message Date
Lorenz Meier 95dd7d415f LL40S driver: Signedness of ticks and comment fix. 2015-02-20 09:22:12 +01:00
Andrew Tridgell 9d288a9a9a ll40ls: added reset and backoff logic to driver
this adds automatic resets of the lidar when it becomes unresponsive,
and also tries to cope with NACKs from long acquisition times. It also
adds a "ll40ls regdump" command, and fixes "ll40ls reset" to reset the
sensor.

The default acquisition period is changed to 50ms, with backoff to
100ms on a NACK

Note that there are still times when the sensor can get into an
unrecoverable state.

Thanks to Austin, Dennis and Bob from PulseLight for assistance in
tracking down the problems.
2015-02-20 09:10:24 +01:00
Lorenz Meier 2f4d820063 LL40S: Move to 0 based index 2015-02-09 22:56:22 +01:00
Andrew Tridgell 7b6620b319 ll40ls: fixed exit code on external sensor startup failure 2015-01-01 13:06:46 +01:00
Lorenz Meier dfc368ad46 Merge pull request #1497 from PX4/ll40lsdefaultmax
ll40ls: max distance according to datasheet
2014-12-14 13:14:23 +01:00
Thomas Gubler b6b80dcac1 ll40ls: write min and max to report 2014-12-14 12:10:29 +01:00
Thomas Gubler 0575f67300 ll40ls: fix whitespace 2014-12-14 12:10:29 +01:00
Thomas Gubler 4a70da5c2c ll40ls: max distance according to datasheet
Datasheet:
http://pulsedlight3d.com/pl3d/wp-content/uploads/2014/11/LIDAR-Lite.pdf
2014-12-13 19:01:00 +01:00
Thomas Gubler 046ca1f8e3 ll40ls: fix whitespace 2014-12-13 19:00:35 +01:00
Andrew Tridgell 6c75ee4ff9 ll40ls: start a measurement after a probe
this ensures register 0 also works
2014-10-28 21:03:59 +11:00
Andrew Tridgell cb79ef4df3 ll40ls: auto-detect ll40ls on either 0x42 or 0x62 I2C address 2014-10-28 21:03:55 +11:00
Andrew Tridgell c6ada17f68 ll40ls: support either internal or external I2C bus 2014-10-20 07:11:26 +11:00
Andrew Tridgell 99bfbb6dc3 ll40ls: add last distance in "ll40ls info" output 2014-10-20 07:11:24 +11:00
Lorenz Meier 959bf6a2c8 ll40ls: Optimize for size 2014-07-12 19:35:49 +02:00
Lorenz Meier 83f343f196 LL40LS: Fix initialiser order in class 2014-07-08 13:53:25 +02:00
akdslr 67b7a85888 LL40LS driver: Changes from the May 4th plane test flight 2014-07-08 12:03:40 +02:00
akdslr 7f91f0cc3e LL40LS driver: Updated the value to write to the register to trigger a measurement 2014-07-08 12:03:31 +02:00
akdslr 36a9123822 LL40LS driver: adding new range finder driver 2014-07-08 12:03:24 +02:00