34 Commits

Author SHA1 Message Date
ChristophTobler
21f97cfce6 LidarLite: update for new orientation convention
add possibility to specify orientation and adapt to new defaults and use px4_getopt
2017-09-25 08:52:21 +02:00
José Roberto de Souza
66e77c49ae ll40ls: Refactor interface(PWM and I2C) selection and allow probe in more I2C buses 2017-08-02 11:49:10 +02:00
Lorenz Meier
381611bb66 LL40LS: Make commandline arguments easier to use 2016-12-28 15:07:56 +01:00
Lorenz Meier
9c2f4503a1 Additional test command feedback 2016-12-28 15:04:28 +01:00
Beat Küng
241fd629ce ERROR macro: get rid of the many 'oddly, ERROR is not defined for c++', use PX4_ERROR 2016-09-30 13:50:51 +02:00
David Sidrane
30bc968ed6 Ran Astyle 2015-11-28 09:13:15 +01:00
David Sidrane
d6c6cb72b2 Support PX4_I2C_BUS_ONBOARD not defined 2015-11-28 09:13:15 +01:00
Lorenz Meier
9d670dd877 LL40LS: Fixed code style 2015-10-19 13:14:00 +02:00
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