Commit 0b843477 authored by Angel Santamaria-Navarro's avatar Angel Santamaria-Navarro
Browse files

to robot. added delay at writting

parent 395644cd
......@@ -211,10 +211,8 @@ CLidarLite::read(unsigned char addr, int len)
addr); // See header file for a description of this functionality.
// Read STATUS. Repeat until bit 0 (LSB) goes low.
// wait_busy();
// NOTE: Commented because using this USB adapter the following write actions
// are slower than usual busy time.
unsigned char data[len];
try {
this->adapter_->write(DEVICE_ID, &addr, 1);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment