Skip to content

Commit

Permalink
Make wait time same
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Dec 7, 2023
1 parent 54583a9 commit 04ec5e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion raspberry_pi/include/rplidar/RPLidar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ namespace rplidar {
{
spdlog::info("Stopping scanning");
this->_send_cmd(STOP_BYTE);
std::this_thread::sleep_for(std::chrono::milliseconds(1));
std::this_thread::sleep_for(std::chrono::milliseconds(100));
this->scanning.currently_scanning = false;
this->clean_input();
}
Expand Down
2 changes: 1 addition & 1 deletion raspberry_pi/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int main()
using namespace car::system::messaging;
using namespace rplidar;

spdlog::set_level(spdlog::level::off);
// spdlog::set_level(spdlog::level::off);
//test();

std::string websocket_url = getWebSocketUrl();
Expand Down

0 comments on commit 04ec5e4

Please sign in to comment.