Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rover not stopping when obstacle is less than 15cm #10

Open
vinayrnair opened this issue Mar 27, 2019 · 0 comments
Open

Rover not stopping when obstacle is less than 15cm #10

vinayrnair opened this issue Mar 27, 2019 · 0 comments

Comments

@vinayrnair
Copy link
Owner

At the moment, the code is written in a way that object detection tolerance is 15 cm. But somehow the rover does not stop and bangs into objects.

Also, if we keep a hand in front continuously, then the code detects 15 cm and then stops, reverses and does all other manoeuvres as expected.
Potential solutions:

  • code needs to be faster (dont know how to do that!)
  • detection distance to be longer than 15 cm. Say 20 cm...
  • averaging of distance is currently based on 5 readings. Maybe remove this section to not take average or just take average of 2 readings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant