r-cute / rcute-cozmars-server

firmware for Cozmars robot
45 stars 19 forks source link

Update distance_sensor.py #30

Closed marcosmoura91 closed 3 years ago

marcosmoura91 commented 3 years ago

Without this change the sonar won't work. At least my sonar doesn't. Won't return any values. It needs to wait longer. I set a print command to see the results were always bigger than 0.001 meaning it is always jumping out.