Skip to content

Commit

Permalink
Add additional configuration
Browse files Browse the repository at this point in the history
Set MODE pin config for STATUS output.
Set max signal count to low value for high rep rates.

Change-Id: Id381787bccd41adafafd97c761aeb1bef339d55e
  • Loading branch information
jmseitz committed Aug 14, 2018
1 parent b6d1034 commit 186806d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/LIDARLite_v3HP.cpp
Expand Up @@ -100,6 +100,13 @@ void LIDARLite_v3HP::configure(uint8_t configuration, uint8_t lidarliteAddress)
refCountMax = 0x05; // Default
thresholdBypass = 0xb0;
break;

case 6: // Short range, high speed, higher error
sigCountMax = 0x04;
acqConfigReg = 0x08 | 0x01; // mode pin = status output mode
refCountMax = 0x03;
thresholdBypass = 0x00;
break;
}

write(0x02, &sigCountMax , 1, lidarliteAddress);
Expand Down

0 comments on commit 186806d

Please sign in to comment.