Skip to content
Snippets Groups Projects
Commit 0b843477 authored by Angel Santamaria-Navarro's avatar Angel Santamaria-Navarro
Browse files

to robot. added delay at writting

parent 395644cd
No related branches found
No related tags found
No related merge requests found
......@@ -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.
wait_busy();
unsigned char data[len];
try {
this->adapter_->write(DEVICE_ID, &addr, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment