Path Planning
In this tutorial we are introducting the possibility of controlling a robot using an overhead camera (possibly one mounted on the ceiling) to control the robot to move around an arena. It is assumed that the camera is stable , looking down onto the robot arena and does not move during the robot execution.The following is what such a potential arena looks like from an overhead camera.
The small red marks are electrical tape stuck to a black metallic surface. The green arrow is a small piece of cardboard with green electrical tape attached in the form of an arrow. This cardboard is placed above a Parallax Boe-Bot in order to easily identify the robot from overhead.
The first step is to identify all the parts in the arena. This includes the waypoints and the robot plus its orientation. First we will start with detecting the Boe-Bot.
Detecting the Robot
The Blob filter module again leaves us with an array of BLOBS with 4 sets of x, y coordinates. To keep these points from getting overwritten by other modules we use the Set Variable module to make a copy of them as "waypoints".
Video
(2.3 MB) Video of the BoeBot moving through each of the waypoints as seen from the overhead camera.(2.1 MB) Different starting location and 3 point light source.
No comments:
Post a Comment