Andrew Tridgell
389148ac54
AP_RangeFinder: use RNGFND_OFFSET for distance offset in PWM and I2C
10 years ago
Andrew Tridgell
9c0614c7bb
AP_RangeFinder: default test to I2C Lidar
10 years ago
Andrew Tridgell
a6d76b4e03
AP_RangeFinder: added PX4-PWM rangefinder
...
uses PWM input driver to read a rangefinder
10 years ago
Andrew Tridgell
38d63d51a5
AP_RangeFinder: change for new PX4 device paths
10 years ago
Emile Castelnuovo
3e97592e5c
AP_Rangefinder: added #if for VRBRAIN boards.
10 years ago
Emile Castelnuovo
c38b11eec8
AP_RangeFinder: added VRBRAIN to use PX4 libraries
10 years ago
Emile Castelnuovo
b0b892e578
AP_Rangefinder: added support for VRBRAIN boards
10 years ago
Randy Mackay
d5f02ec0df
RangeFinder: fix example sketch
10 years ago
Randy Mackay
01c669ee15
RangeFinder: minor param description update
...
Also initialise primary instance to 0.
No functional change.
10 years ago
Andrew Tridgell
2eeec3fabe
AP_RangeFinder: fixed oversized parameter RNGFND2_SETTLE_MS
10 years ago
Randy Mackay
41a6393356
RangeFinder: PulsedLight I2C addr to 0x62
10 years ago
Andrew Tridgell
3c7cc5f40c
AP_RangeFinder: auto-update PX4 ll40ls max/min distance
...
this allows the range of the Lidar to be set by the user using
RNGFND_MAX_CM and RNGFND_MIN_CM
10 years ago
Andrew Tridgell
70ca87c4e6
AP_RangeFinder: handle all I2C rangefinder types on PX4 in PX4Firmware
10 years ago
Randy Mackay
b3bbec24e4
RangeFinder: TYPE param description to PX4-I2C
11 years ago
Randy Mackay
8ce4893180
RangeFinder: TYPE param description to PX4-MaxbotixI2C
...
This hopefully reduces confusion for PX4/Pixhawk users with MaxBotix I2C
sonar
11 years ago
Andrew Tridgell
43e8b36e5b
AP_RangeFinder: removed use of hrt_absolute_time()
11 years ago
Andrew Tridgell
b38c9544f9
AP_RangeFinder: make values clearer for APM2
11 years ago
Andrew Tridgell
8540174854
AP_Rangefinder: fixed example build
11 years ago
akdslr
a404404806
AP_RangeFinder: Added a call to sonar.update in RFIND_test
11 years ago
Andrew Tridgell
7bf72d1c2b
AP_RangeFinder: fixed example build
11 years ago
akdslr
2c86f5df94
AP_RangeFinder: Updated RFIND_test example to not use Auto and added more device details
11 years ago
akdslr
a1861125e6
AP_RangeFinder_PulsedLightLRF: Modified to do a 2 byte transfer for the distance read
11 years ago
akdslr
b08e3d0ee4
AP_RangeFinder_PX4: Added the destructor to close the file descriptor
11 years ago
akdslr
54d0db863b
AP_RangeFinder: Changed sonar to rangefinder in the parameter descriptions
11 years ago
akdslr
8c6718fe2d
AP_RangeFinder: Removed the use of type Auto
11 years ago
Andrew Tridgell
c45f1961f6
AP_RangeFinder: removed old test code
11 years ago
Andrew Tridgell
fe92ef5c32
AP_RangeFinder: added an example program
11 years ago
Andrew Tridgell
fe475a3561
AP_RangeFinder: removed old PulsedLightLRF example
11 years ago
Andrew Tridgell
5d6ef45662
AP_RangeFinder: removed old MaxSonarXL example
11 years ago
Andrew Tridgell
c425e7e060
AP_RangeFinder: fixed example build
11 years ago
Andrew Tridgell
baa0217bec
AP_RangeFinder: trigger a new reading automatically
...
this fixes Maxbotix I2C
11 years ago
Andrew Tridgell
f6d9bc5d7e
AP_RangeFinder: fixed detection of multiple types
...
Pair-Programmed-With: Allyson Kreft
11 years ago
Andrew Tridgell
9386295428
AP_RangeFinder: added SONAR2_TYPE parameter
...
thanks to Allyson for noticing
11 years ago
Andrew Tridgell
05d4f5fb5a
AP_RangeFinder: convert PX4 driver to new API
11 years ago
Andrew Tridgell
4cba48ade2
AP_RangeFinder: removed old style analog drivers
...
replaced by generic analog driver
11 years ago
Andrew Tridgell
ed346fd639
AP_RangeFinder: convert MaxbotixI2C driver to new API
11 years ago
Andrew Tridgell
0063d83dbc
AP_RangeFinder: convert the PulsedLight driver to new API
...
not tested yet
11 years ago
Andrew Tridgell
22b9059647
AP_RangeFinder: have two instances on all platforms
...
rover needs two sonars for obstacle avoidance
11 years ago
Andrew Tridgell
6f33ca4988
AP_RangeFinder: added SONAR_RMETRIC option
...
this allows correct support for non-ratiometric rangefinders such as
the SF/02
11 years ago
Andrew Tridgell
92b76b4be4
AP_RangeFinder: converted analog rangefinder backend to new API
...
this gets analog rangefinders of all types working
11 years ago
Andrew Tridgell
cb037f3416
AP_RangeFinder: new rangefinder API ready for its first backend
...
the backends are setup to have just the minimum functionality needed
for a rangefinder, with all of the higher level logic in the
frontend. This should make writing a new backend easier
11 years ago
Andrew Tridgell
429431157b
AP_RangeFinder: disable old rangefinder drivers
...
these will be re-enabled when they are converted to the new class API
11 years ago
akdslr
d759a9dd9b
AP_RangeFinder: Seperated the Backend driver functionality into a separate class
11 years ago
akdslr
3f17969b19
AP_RangeFinder: Changes from the May 4th plane test flight
11 years ago
akdslr
2e586ccfb2
AP_RangeFinder_PulsedLightLRF: Updated the value to write to the register to trigger a measurement
11 years ago
akdslr
5f4168d5f8
AP_RangeFinder_PX4_test: Added an example sketch for the PX4 range finder
11 years ago
akdslr
18c06277f8
AP_RangeFinder: Added a new PX4 range finder and modified the RangeFinder parent class to support having multiple devices simultaneously
11 years ago
akdslr
a2df275bd9
AP_RangeFinder_PulsedLightLRF: Updated the register definitions for the new hardware
11 years ago
Randy Mackay
4c38999ca6
Maxsonar Test: remove raw from output to user
11 years ago
Randy Mackay
e1fabadd3c
MaxsonarI2C: read method returns int16_t
11 years ago