Dear all,
I have a project whch will permit to detect and avoid obstacle, using three lasers beams, using RR.
The Left Laser will sent a beam on the right of the robot.
The Right Laser will sent a beam on the left of the robot.
The Central Laser will send a beam just in front of the robot.
The main goal is to detect an obstacle and avoid it using lasers and webcam connected to RR.
I don't have any experience with RR (Fabulous software !), but i would like to know if i can manage my robot with those device to avoid obstacles.
The three beams are detected by the webcam.
I will plot two lines above and below the beams, as a detection window to integrate an error (More or less 20 pixels around the beams).
In real life, if beam touch a wall for exemple, its coordinates will goes up and pass throught the window detection.
Like this, i could manage the wheels of the robot to go on the right, until the three beams comes back within the windows.
The problem is i don't know how to program this in Basic.
Could you help me please ?
Thanks for your help ansd support
Regards,
|
|