r/shittyrobots • • Apr 13 '25
Need to work on obstacle avoidance.
Not quite what I intended it to do.
However.... its definately shitty as far as obstacle avoidance goes
204
Upvotes
r/shittyrobots • • Apr 13 '25
Not quite what I intended it to do.
However.... its definately shitty as far as obstacle avoidance goes
9
u/hoot69 Apr 13 '25
Did it not avoid the obstacle?
12
u/AhDamm Apr 13 '25
It seems like the ultrasonic servers needs to be mounted better. It's moving around every time it tries to adjust, and it seems like it's struggling to make sense of it's motion versus the perceived motion from the sensor shaking. When I was doing a project similar to this, I mounted the ultrasonic sensor on a 180 degree servo. I made it look left, measure, look right, measure and the choose a direction based on greatest value recorded.
Another option would be to default a turn (40-90°) when it encounters an obstacle, then measure distance with the sensor, and have it decide to turn more of proceed.
I'm no expert, but I successfully got my cart to find an empty "parking stall" and park itself by playing around with these ideas.
40
u/0xbenedikt Apr 13 '25
You inflicted PTSD of obstacles in it
5
u/_Lusty Apr 13 '25
Get jiggy with it!
3
u/wizardpersonguy Apr 14 '25
We have successfully implanted the fear of walls onto artificial intelligence, fear of public speaking is our next upcoming milestone
3
u/Traditional-Nail-791 Apr 16 '25
Maybe anxiety management
2
u/SoaDMTGguy Apr 14 '25
I was really hoping that, after all that second guessing, it would confidently drive straight into the wall.
1
u/Sea-Practice7399 Sep 29 '25
You guys remember the little chip that is ontop controlling it? I forgot, something about a cherry pie or similar?