Pages: [1]   Go Down
Author Topic: Information for a rover  (Read 1069 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 0
Posts: 155
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been doing a little research about autonomous rovers.  I saw a video of a rover with a webcam used for object avoidance.  I've tried to find information on implementing this alongside an arduino.  Can anyone point me in the direction of what to look for, or what searches I could use to find more information.

Loren
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 308
Posts: 26471
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Webcam and Arduino don't sit well in the same sentence.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

USA
Offline Offline
God Member
*****
Karma: 14
Posts: 644
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Webcam and Arduino don't sit well in the same sentence.

Even if they did, ultra sonic or infrared sensors would probably be just as effective, if not more so, for obstacle avoidance.  A webcam could be better for things like object recognition.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 155
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I was thinking along the lines of the possibility of Raspberry Pi running the object avoidance and communicating commands with the arduino.

Logged

USA
Offline Offline
God Member
*****
Karma: 14
Posts: 644
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I was thinking along the lines of the possibility of Raspberry Pi running the object avoidance and communicating commands with the arduino.

Well in that it could be feasible, but all the actual obstacle avoidance logic (AKA "the hard stuff") would be done on Pi.  So for questions about that you'd probably want to go to their official forums.  An Arduino would still be useful for controlling the motors, but that's relatively simple compared to visual object detection and ranging.
Logged

Dubuque, Iowa, USA
Offline Offline
Faraday Member
**
Karma: 48
Posts: 2541
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

For the Raspberry Pi, which is Linux-based, anything computer vision related you'd want to go to the OpenCV documentation and forums. It's not "obstacle avoidance software" but rather a set of software routines to simplify interfacing with a camera and performing the image manipulation algorithms common for computer vision.

If you're looking for a simple technique I'd suggest a line-generating laser mounted above your camera and pointed at the floor about a meter ahead of the robot. Any obstacles will show up with a red line on them, and it's relatively straightforward picking out that red line from the image.

Roborealm is good software for this sort of thing, but it's Windows-based. Still worth looking at for ideas.


* Laser_Line_src_1.jpg (41.78 KB, 256x256 - viewed 20 times.)
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5590
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you're looking for a simple technique I'd suggest a line-generating laser mounted above your camera and pointed at the floor about a meter ahead of the robot. Any obstacles will show up with a red line on them, and it's relatively straightforward picking out that red line from the image.

Actually, it's better to have the camera facing "downward", and the laser line generator facing forward - that way you can do 3D ranging:

http://www.seattlerobotics.org/encoder/200110/vision.htm

Mount a red filter over the camera lens (if using a red laser - basically, your filter should match as close as possible to the wavelength of the laser) to drop out background light and make the laser stand out more.
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Pages: [1]   Go Up
Jump to: