With only two more weeks to go, I have begun testing my work outside with my faithful steed (or dragon?) Rhaegal. And I’ve hit a snag, which is a huge drag.
My current implementation of the State Machine uses a Waypoint System to move from point to point within an arena. The problem is, due to fuzzy localization, the waypoints are usually shifting about a meter around their “actual” location. The shifting does not occur in the simulator, which I know, but I also didn’t realize it was going to be such an issue for precision driving in the real world. If I want the Rover to drive one meter exactly forward, it cannot. My current technique for managing this is just using some trig to generate a waypoint one meter straight in front of the Rover. However, it cannot drive straight, because to its perspective, the waypoint is always drifting. For example, if the waypoint is drifting to the left, it will cause the Rover to curve its path to the left to try and meet it. This is a major problem. Continue reading “Two Weeks to Go: Outdoor testing!” →