|
Re: Help with autonomous mode!
You may also want to consider analyzing the image for hot/not at the beginning of auto. Your team can decide whether your robot will rush and get to the hot goal before it changes ... or take your time and head for the soon-to-be-hot goal and get lined up.
As mentioned, encoders and other sensors are quite helpful when trying to know how you are moving on the field. Cameras shouldn't really be the only sensor on your robot.
Also, keep in mind that as the robot moves closer to the wall, at some point the camera will see less and less of the field. Simplistic vision code will lose the target and will not be able to tell you where it went. The simulator can give an idea of where this will happen.
Greg McKaskle
|