|
Mecanum physics
I've been toying with the idea of placing six rangefinders, one on each face of each corner except the front, 2 facing left, 2 right, and 2 backwards, to use for obstacle avoidance on an off season robot project (using Mecanum wheels). The general idea behind this is that you shouldn't be able to run into a wall unless you're trying to run head-on into a wall, which would make the robot friendlier to drive. If this method proves successful, it could significantly change the way we write autonomous code, making it possible to make more dynamic movements where avoiding robots would otherwise be problematic. At the moment, I've written code so that the robot "glances off" of walls at a reflective angle when getting too close, even if the driver is merely coasting into the wall, which isn't quite working, mostly because I don't have a robot to practice with. I was wondering if you guys could weigh-in on this from a programming perspective (one better than my own). Thanks!
|