[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] createdDotMuncher, 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.
The whole system is a proof of concept for future swarm projects [Ladvien] has planned. He's hoping to have autonomous robot tag working before the end of the year. We can't wait to see that one.
No comments:
Post a Comment