Society of Robots - Robot Forum

Software => Software => Topic started by: bootstrap on December 04, 2007, 03:45:06 AM

Title: Wallfinder algorithm
Post by: bootstrap on December 04, 2007, 03:45:06 AM
Any one has an idea about wall finding algorithm??
Title: Re: Wallfinder algorithm
Post by: Fredrik Andersson on December 04, 2007, 05:01:47 AM
First, what kind of sensors are you using. Give us some information of your setup and more details about what the robot (I'm assuming it's a robot) should do.

Finding a wall is really easy actually, but it depends on what sensors you are using. For example, if you are using a Sharp IR range sensor, you only need to read the value from the sensor. If it reads above the certain distance you want your robot to keep, them you've find the wall. If you have a sensor that gives either 1 or 0 it's even easier.
Title: Re: Wallfinder algorithm
Post by: bootstrap on December 04, 2007, 08:02:20 AM
I am using a webcamera and thinking of implementing the wall finding algo in OpenCV using DevCpp IDE.
Title: Re: Wallfinder algorithm
Post by: bootstrap on December 05, 2007, 03:08:49 AM
any one...any idea in C language..I ma using OpenCV in DevCpp IDE
Title: Re: Wallfinder algorithm
Post by: Ro-Bot-X on December 05, 2007, 05:51:42 AM
...any idea in C language...
Nope, sorry.
Title: Re: Wallfinder algorithm
Post by: Fredrik Andersson on December 05, 2007, 08:13:53 AM
I am using a webcamera and thinking of implementing the wall finding algo in OpenCV using DevCpp IDE.

Still more information is needed. I don't really realize what you are trying to do. Find a wall, in which way? Like, sensing the distance to it or more something like finding an area of the webcam capture that looks like wall.
Title: Re: Wallfinder algorithm
Post by: Admin on December 05, 2007, 07:24:30 PM
use RoboRealm (http://www.roborealm.com/)