Inexpensive Robot Tracking System is Swarm Ready

RobotWebcam

[Ladvien] has figured an inexpensive way to control a robot from a remote PC with a static webcam. Inspired by swarming robot videos such as those from the UPENN Grasp lab, [Ladvien] wanted to build his own static camera based system. He’s also managed to create one of the more eclectic Instructables we’ve seen. You don’t often find pseudo code for robot suicide mixed in with the project instructions.

Fixed cameras are used in many motion capture systems, such as the Vicon system used by numerous film, game, and animation studios. Vicon and similar systems cost tens of thousands of dollars. This was a bit outside [Ladvien's] budget. He set about building his own system from scratch. The first step was the hardest – obtaining permission from his wife to screw a webcam into the ceiling. With that problem overcome, [Ladvien] brought openCV and python to bear. He created Overlord, his webcam vision and control system. A vision system with nothing to control would be rather boring, so [Ladvien] created DotMuncher, Overlord’s radio controlled robot slave.

The basic processing system is rather simple. DotMuncher carries a magnetometer on board, which it uses to send heading information to Overlord. Overlord is pre-calibrated with an offset from magnetic north to “video game north” (toward the top of the screen). Overlord then uses openCV’s color detection to find DotMuncher in the current scene.
Overlord finally generates a virtual “Dot” on screen, and directs DotMuncher to drive over to it. When the robot gets to the dot, it is considered munched, and a new dot is generated.

[Read more...]

Follow

Get every new post delivered to your Inbox.

Join 93,881 other followers