File Exchange

image thumbnail

Chasing Robots using a webcam

version 1.1.0.0 (1.81 MB) by Abdel-Razzak
A MATLAB Program that uses a webcam to watch three different robots.

2 Downloads

Updated 18 May 2010

View License

A MATLAB Program that uses a webcam to watch three different robots. It gets their positions online so it is possible to draw their paths and their inter-agent distances.

The robots have three different color labels. This program uses the RGB properties to detect the labels to find them. I used the code: Color Threshold written by Mr. Aaron to find the RGB properties of the labels offline. Drawings are done offline.

NOTE: the program works under MATLAB 7.6.0(2008.a) and NOT GUARANTEED to work under other versions without some changes.

Comments and Ratings (0)

Updates

1.1.0.0

a command to save the screen shots as avi video is added

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor