Peter Barker
127edce39e
AP_RangeFinder: move prearm checks into backend
8 years ago
Peter Barker
0b1c67d170
AP_RangeFinder: remove unused parameters from detect and constructors
8 years ago
Peter Barker
08cd3f4a77
AP_RangeFinder: move instance parameters into instance state
8 years ago
Pierre Kancir
ccbf281137
AP_RangeFinder: allow to set rangefinder type for mavlink
8 years ago
Francisco Ferreira
a960c6526c
AP_Rangefinder: set type for VL53L0X
8 years ago
Pierre Kancir
8b38bd2e33
AP_RangeFinder: add sensor type to backend
8 years ago
Andrew Tridgell
b29db0aa5b
AP_RangeFinder: implement VL53L0X rangefinder
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
78b7207ab4
AP_RangeFinder: Use SI units conventions in parameter units
...
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
8 years ago
murata
46cba2c970
libraries: Delete the setting value for specific editor.
8 years ago
Pierre Kancir
4a2b90b707
AP_Rangefinder: example fix travis warning
...
missing function declaration
implicit cast
some style fix
8 years ago
Grant Morphett
792bf70c40
RangeFinder: Fixed the value labels for LidarLite
...
LidarLiteV2 ---> LidarLiteV2-I2C
LidarLiteV3 ---> LidarLiteV3-I2C
8 years ago
Lucas De Marchi
b17acfee12
Add aerofc support
...
Flight Controller board that comes on Intel Aero RTF Drone.
8 years ago
Andrew Tridgell
05cbc19ad6
AP_RangeFinder: added type 15 for LidareLiteV3
8 years ago
Randy Mackay
c98e598ae2
AP_RangeFinder: fix example sketch
8 years ago
Randy Mackay
e7dd21a0bb
AP_RangeFinder: remove primary, add orientation
8 years ago
Andrew Tridgell
df1da3c14e
AP_RangeFinder: setup for split I2C transfers
...
this fixes PulsedLight Lidar on Linux
8 years ago
Jacob Walser
d3442ae16b
AP_RangeFinder: Bugfix for mavlink rangefinders to include out of range low/high
8 years ago
murata
d9dbf6e1eb
AP_OpticalFlow: Change from magic number 0 to definition name.
8 years ago
priseborough
bf51da224a
AP_RangeFinder: Update min value for RNGFND_GNDCLEAR parameter
8 years ago
murata
17c62ffe4c
AP_RangeFinder: Unify from print or println to printf.
8 years ago
Andrew Tridgell
848c03650b
AP_RangeFinder: removed old PX4 rangefinder drivers
8 years ago
Andrew Tridgell
3b42289475
AP_RangeFinder: added doc listing for TrOneI2C
8 years ago
Andrew Tridgell
683e549ed7
AP_RangeFinder: added WHOAMI and crc check
...
thanks to Francisco for review comments
8 years ago
Andrew Tridgell
68ff71e4c0
AP_RangeFinder: added trone in-tree driver
8 years ago
Julien Beraud
b561837b41
RangeFinder_Bebop: Fix mode selection
...
mistakes in selecting mode
8 years ago
Julien Beraud
8a1f4e048f
RangeFinder_Bebop: fix spi speed
...
Set spi speed. Else 0 will be sent at each transfer.
8 years ago
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
8 years ago
Randy Mackay
8215b92371
AP_RangeFinder: MAV only accepts DISTANCE_SENSOR with orient 25
...
25 is MAV_SENSOR_ROTATION_PITCH_270 meaning downward facing
8 years ago
Randy Mackay
0dd7e78c2b
RangeFinder: fix to suppressing comment for case fall through
...
no functional change
eclipse stops complaining if no-break is used in place of fall-through
8 years ago
Jonathan Challinger
6e47bed97d
AP_RangeFinder: fix hard fault with LightWareI2C
8 years ago
Francisco Ferreira
202c33491e
RangeFinder: remove useless returns and update comment
8 years ago
murata
a99bde9dad
RangeFinder: Change type determination from if state to switch state.
8 years ago
ShingoMatsuura
e9feb7bdda
AP_RangeFilnder: moved the const buffer definition to the header and changed from '8' to 'sizeof(send_request_buffer)'
8 years ago
ShingoMatsuura
f97ede9865
AP_RangeFilnder: change send_request_buffer member variable to const and other fixes
8 years ago
ShingoMatsuura
e8ff156fa6
AP_RangeFilnder: add clear buffer at INIT state and change send_buffer to member variable to reduce CRC computation for sending request
8 years ago
ShingoMatsuura
c1c643e56e
AP_RangeFinder: remove clear buffer in send_request
8 years ago
Randy Mackay
b7f95d9c25
AP_RangeFinder: remove serial.end and begin
...
Also some formatting changes
8 years ago
Randy Mackay
99fafcb495
RangeFinder: add uLanding to TYPE parameter description
8 years ago
Ricardo de Almeida Gonzaga
148fa03d6b
AP_RangeFinder: support MaxBotix Serial rangefinders
...
This has been tested with LV-MaxSonar®-EZ1 MB1010
8 years ago
Randy Mackay
44c5fee90d
AP_RangeFinder: formatting fixes for uLanding
8 years ago
davidaroyer
69bc4c42c9
AP_RangeFinder: Add support for Aerotenna uLanding radar altimeter
8 years ago
Andrew Tridgell
6c09758447
AP_RangeFinder: removed momentary spikes in PulsedLight I2C Lidar
8 years ago
Andrew Tridgell
5f3c14ea01
AP_RangeFinder: fixed tabs -> spaces
8 years ago
Andrew Tridgell
0c7dd99d7e
AP_RangeFinder: support LidarLite V2 using in-tree driver
...
needs to run in continuous mode
8 years ago
Andrew Tridgell
fd7b313e34
AP_RangeFinder: removed pwm_input_main
...
thanks to Francisco
8 years ago
Andrew Tridgell
a69ff34c80
AP_RangeFinder: try bus 0 and 1 for PulsedLightI2C rangefinder
8 years ago
Andrew Tridgell
516141edf3
AP_RangeFinder: start PX4 rangefinder drivers on demand
8 years ago
Andrew Tridgell
e88519364f
AP_RangeFinder: fixed maxbotix I2C semaphore and bus usage
8 years ago
Andrew Tridgell
0b27478d7b
AP_RangeFinder: use thread per bus for LightWareI2C driver
8 years ago
Lucas De Marchi
932d1ae244
AP_RangeFinder: add O_CLOEXEC in places missing it
...
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
8 years ago