My backyard bot kept drifting until I checked the sensor mounts
I built a small robot for garden patrol, but it would always drift to the left after a few minutes. I finally saw the left wheel encoder was loose, and tightening the screw on the mount fixed the steering completely. How do you secure delicate parts on projects that move around a lot?
Isn't it annoying when a tiny loose part ruins everything? @david_reed22's hot glue trick is smart for brackets. I just make sure to really snug down any screws on moving bits.
My friend had this little rover project that kept getting bad sensor readings whenever the motors kicked in. The vibration would shake a tiny camera module loose on its cheap plastic mount. He ended up putting a small zip tie around the whole thing as a clamp and then a dot of hot glue where the cable connected. Never had a dropout again after that.