Skip to content
Snippets Groups Projects
Commit f8098262 authored by Hoop77's avatar Hoop77
Browse files

-

parent b5dcb81d
Branches
No related merge requests found
......@@ -40,6 +40,8 @@ int main(int argc, char ** argv)
while (running)
{
int distance = uss.getDistance();
if (distance > 20)
conn->setSpeed(0);
if (!monitorUSS)
continue;
......
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