From 2e586ccfb2f10f11003d58ad3a51c6bab998af2f Mon Sep 17 00:00:00 2001 From: akdslr Date: Wed, 30 Apr 2014 13:50:12 -0400 Subject: [PATCH] AP_RangeFinder_PulsedLightLRF: Updated the value to write to the register to trigger a measurement --- libraries/AP_RangeFinder/AP_RangeFinder_PulsedLightLRF.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_PulsedLightLRF.h b/libraries/AP_RangeFinder/AP_RangeFinder_PulsedLightLRF.h index 999d73ed72..b242bbfb8b 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_PulsedLightLRF.h +++ b/libraries/AP_RangeFinder/AP_RangeFinder_PulsedLightLRF.h @@ -36,7 +36,7 @@ #define AP_RANGEFINDER_PULSEDLIGHTLRF_DISTLOW_REG 0x10 // low byte of distance measurement // command register values -#define AP_RANGEFINDER_PULSEDLIGHTLRF_MSRREG_ACQUIRE 0x61 +#define AP_RANGEFINDER_PULSEDLIGHTLRF_MSRREG_ACQUIRE 0x04 // Varies based on sensor revision, 0x04 is newest, 0x61 is older class AP_RangeFinder_PulsedLightLRF : public RangeFinder {