Commit Graph

26 Commits

Author SHA1 Message Date
tumbili 10171df59a ll40ls: do not start driver if already started 2015-09-09 22:58:51 +02:00
Lorenz Meier af28016a10 Merge pull request #2236 from TSC21/drivers_cleanup
drivers: added validity check
2015-06-26 07:39:09 +02:00
TSC21 79e084a154 drivers: added validity check 2015-05-26 18:05:26 +01:00
James Goppert 5955773574 Lidar lite driver fixes.
Conflicts:
	src/modules/uORB/Subscription.cpp
2015-05-25 21:55:03 -04:00
Ban Siesta a729d6f301 ll40ls: first stab at adapting ll40ls to the new distance_sensor msg 2015-05-24 15:59:29 +01:00
Ban Siesta 0ab0de5805 ll40ls: adapt the cli interface, so that the commands work with the PWM and I2C driver 2015-05-24 12:42:14 +01:00
Ban Siesta e67f681935 ll40ls: astyle 2015-05-24 09:44:10 +01:00
Johan Jansen b1da12b43f LidarLite: Added PWM version of the LidarLite driver 2015-03-24 11:31:11 +01:00
Johan Jansen b084558a79 LidarLite: Code cleanup, prepare for PWM version of the driver 2015-03-24 10:04:40 +01:00
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 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