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
Randy Mackay
ab22d11110
MaxsonarRFinder: convert_raw returns int16_t
11 years ago
Randy Mackay
32820b4260
PulsedLightRFinder: read method returns int16_t
11 years ago
Randy Mackay
bf3fa8b99b
RangeFinder: remove raw_value from SharpGP2Y
11 years ago
Randy Mackay
8d54e50897
RangeFinder: remove raw_value, orientation variables
...
This saves 10bytes of RAM
11 years ago
Randy Mackay
e54bf3e87c
RangeFinder: reduce PulsedLight max distance
...
Reduced from 25m to 14m
11 years ago
Randy Mackay
3970c8f038
RangeFinder: add PulsedLight example sketch
11 years ago
Randy Mackay
e88251f7e1
RangeFinder: add PulsedLight LRF
11 years ago
Andrew Tridgell
72b97168c9
AP_RangeFinder: improved SONAR_PIN docs
11 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Andrew Tridgell
e69e4a5695
AP_RangeFinder: fixed indent-tabs-mode
12 years ago
Andrew Tridgell
cec08be9cb
AP_Rangefinder: use ratiometric analog input for analog sonar
12 years ago
Andrew Tridgell
223dfe4de5
AP_Rangefinder: added units for settle time
12 years ago
Andrew Tridgell
0e66bac70b
AP_RangeFinder: removed special case for APM1
...
the airspeed port doesn't have enough power for the sonar anyway
12 years ago
Andrew Tridgell
09ca9d4283
AP_Rangefinder_analog: implement settle time and stop_pin
12 years ago
Andrew Tridgell
ba83950fc4
libraries: replace constrain() with constrain_float()
...
this makes the type much more obvious. Thanks to Tobias for the
suggestion.
12 years ago
Andrew Tridgell
5df4796b9a
RangeFinder: fixed a warning
12 years ago
Andrew Tridgell
91bbf914f7
RangeFinder: added SONAR_ENABLE boolean to analog sonar object
12 years ago
Christopher Hrabia
744f610409
RangeFinder_I2C: fixed bug with interchanged min max values
...
- add usage of mode-filter and min-max constrain, similar to MaxsonarXL
12 years ago
Andrew Tridgell
2fc922a251
AP_Rangefinder: use voltage_average() interface for generic analog rangefinder
12 years ago
Andrew Tridgell
e4fb54fcc9
RangeFinder: added new AP_RangeFinder_analog
...
this is a generic analog rangefinder, supporting 3 types of functions
between voltage and distance.
12 years ago