Does this exist?

Sorry, but you lost ME :unamused:

not necesseraly. you could use 1 camera (spcifically for video purposed, not for measuring anything)

then what you do is calculate how long certain pings take, and put that into a distance based on the speed of sound x time and you have a distance, then u go towards the other end of the object until it no longer detects it, then it calculates the angle it went through feedback and a big fat complicated computation, and blah blah, i can explain more later, doing hw now :stuck_out_tongue:

So you would use a PING?

Or… how do you calculate pings? I don’t understand that :unamused:

i’d have to work it out later, but you could use PING and use the methor i described, or you can you an easier method, use an IR and since those are distances given in eletronic values, you would just have to convert those electronic values to inches, or metric if you into that, and then from there go from one side of the object to the other. Find the total angle that the servo went (say from 180 to 130 = 40 degrees) then plug the distances and angle into a computation, and u would have the distance and length of the object

i know, not very clear, i’ll clrarify more later, but right now i can’t think much cause i dont wanna get off track of my hw

Depends how many directions you want to monitor at once. I believe this method could also work with a fisheye lens on the front of the robot as well.
(or better yet, one of the 360 degree mirrors, and the camera in the middle of the bot… but those mirrors are expensive!)

I imagine this wouldn’t be used for general purpose obstacle avoidance. But it might fit certain applications, like being used out the side window of an autonomous car.

I am not saying its a great idea :stuck_out_tongue_winking_eye:

And Chunga: That doesn’t quite fit his criteria of ‘doing something not done yet’. I know laser measuring tape devices can do that trig. And you don’t want to do that with sonar anyway, at least not without narrowing the sonar beam very tightly.

ohh, something not done, nvm then XD

If you really want to get into something this involved, google 3D SLAM algorithoms. It’s 360 deg laser mapping. You can do alot with the information after scanning.

It think integrating video image manipulation and range sensors into a mutually beneficial relationship would be a better software start though.

Just a thought, why not integrate two lasers which point under a certain angle towards the point of view of the camera.
The distance between the two dots can be used as an indication of range, but then you’d have errors if the two dots fall on a surface that’s not straight in front of you… hmm…

But if you’d be able to alter the angle and adjust the angle until the point where the two points meet, then you’d have a correct reading.

Never mind, i’m still sleepy…

Am new to this stuff so forgive me if this is wrong, but a slightly different idea from the previous posts.

If you used something like 2 CMUcams on pan and tilt then they can be set up so they point automatically at the object being tracked. Then it would be a matter of reading the 4 servo settings, take into account the distance between the two mountings and from that you could calculate not only the distance but also the vertical and horizontal angle to the object. Not sure how acurate it would be, but should give a rough idea ?

Its easier if you mount both cameras on a single mount, with one tilt servo. Then each camera can have its own “pan” servo, and you know the are both always looking in the same horizontal plane. Then it is just a matter of looking at the angles formed by the two servos, rather than four.

I have a setup like that documented on my MicroRaptor vision page:

bioloid.info/tiki/tiki-index … tor+Vision

In fact, with the way I’ve got it set up, you only need a single servo, which converges and diverges the cameras. The whole assembly is mounted on a pan & tilt mount…

  • Jon

Very well thought out Jon, as I said I’m new to this stuff so still learning :slight_smile:

Wouldn’t like using only 1 pan and 1 tilt will facilitate de job, using the tilt rarely, mostly the pan.

Let’s say I want to do this for a robot so he can avoid abstacles, it’s his only sensors, 2 cams. If possible to use it to do some (if possible) mapping, not very presice, but of waht the bot sees.

Oh, and evo, I didn’t find anything that explained 3D SLAM algorithms

SLAM for the most part is 2D, and you can get by with a lot of capability just doing 2D SLAM.

I would get that working before you start worrying about the 3D case…

  • Jon

Jon’s right. And here is some 3D SLAM information for mapping.

robots.ox.ac.uk/~pnewman/NaturalFeatures.htm
activrobots.com/ROBOTS/systems.html

Some really cool stuff:
robots.ox.ac.uk/~dmc/research/research.html

And using 3D laser range finders for Wide angle SLAM.
rts.uni-hannover.de/images/e … 3-IROS.pdf

Checking google to see what SLAM is, you might be able to make a simple distance measuring/mapping device using one cam, two servos (one slightly modified), a laser pointer, and the usual collection of thin wood, thumb tacks, hot glue, paper clips, and using roborealm to track the laser dot.

You forgot duck tape!! How can you forget such a critical engineering tool!

:smiley:

Doing more thinking, I’d skip the cam and maybe use a modulated laser beam and a demodulatng detector (possibly made from a modulated IR emitter/detector pair). Have the laser and detector seperated by a specific distance. Make a narrow view slit for the detector and then have it slowly panned via servo until it sees the reflected modulated laser dot thru the slit. Capture the servo position at the time of detection, and use that position to calculate the distance to the dot. Have this mounted on another servo so the emitter/detector can be rotated slightly and another distance scan performed. I save the duct tape for the really big stuff!

modulated… wha? I think you want a bit to fast for me. Can you explain again please?

I’m talking about operating the laser diode like the IR diode in remote controls. Flash it at 38khz and use a remote control IR detector operating at 38khz to detect the laser dot. This would help ensure that only the laser dot is being detected instead of other random visible light sources.

Ok, so I could just build my own circuit using the IR detector and a couple of infrared LEDs? Use like a NAND gate circuit to make the ocillation at 38Khz. But, would the range be very limited? Like maximum 30 cm?

Are there LED that can project themselves farther?