From 851ee24c99b40863008f846934af2101e9d898fa Mon Sep 17 00:00:00 2001 From: murata Date: Mon, 27 Nov 2017 22:14:17 +0900 Subject: [PATCH] AP_RangeFinder: Clarify the purpose of input registers --- libraries/AP_RangeFinder/AP_RangeFinder_LeddarOne.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_LeddarOne.cpp b/libraries/AP_RangeFinder/AP_RangeFinder_LeddarOne.cpp index 03ed2ac6d2..9e48bce725 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_LeddarOne.cpp +++ b/libraries/AP_RangeFinder/AP_RangeFinder_LeddarOne.cpp @@ -164,11 +164,10 @@ bool AP_RangeFinder_LeddarOne::CRC16(uint8_t *aBuffer, uint8_t aLength, bool aCh ----------------------------------------------- 0: slave address (LEDDARONE_DEFAULT_ADDRESS) 1: functions code - 2: ? -3-4-5-6: timestamp + 2: byte count +5-6-3-4: timestamp 7-8: internal temperature - 9: ? - 10: number of detections + 9-10: number of detections 11-12: first distance 13-14: first amplitude 15-16: second distance