ombrastein said:My sugestion would be to use a simple camera and a laser grid
HarveyH42 said:Wouldn't the boebot be mapping in 2 dimensions, since that is how it moves?
yes dos is definitely simple but limits the flexibility here. what about linux , there are libraries available to capture pics from usb webcamsMarks256 said:.. and i don't want to use windows. I want to use DOS(for its' simplicity)
Sceadwain said:Why aren't lasers available to you? Just go down to a 5 and dime and pick up a keychain laser pointer..
akg said:yes dos is definitely simple but limits the flexibility here. what about linux , there are libraries available to capture pics from usb webcams
HarveyH42 said:Let clear this up a little. Are you looking to map the path of your robot? Or do you want to make a 3-d model of a room? If just mapping where the robot can/can't travel, it would be pretty simple.
HarveyH42 said:Then you really only need the 2d map. You would just need to make an array large enough to cover the space your robot travels. Each cell in the matrix could contain just a simple 1 or 0 for whether a space is occupied. Doesn't seem important if the path is blocked by a desk or water cooler, robot still can't go there. Each cell in the matrix could also be a counter, just because it was blocked once, doesn't mean it should be avoided forever.
Now, there are many things you could do with the 2d array. Since you have stored the distance and direction of everything that has blocked the robots path, you should be able to calculate the best path to get to a destination.
If you want to make a 3d image on your computer, you could use the measurement from your array to build a scene in a 3D graphics program. The models can be download free (usually).
In your array you could assign '0' as open space, any other value could identify the various objects encountered. So, you could define the block area that is your refrigerator ('bot' get me a beer), or the trash can (get rid of these empties before the wife gets home).
For this to work, the bot would need to start at a 'home' position, maybe battery charging station. You would need to measure distance, revolution of the wheels.
But if you really need to have a 3D veiw on a screen, of what your bot is doing, get a cheap wireless camera.
theinfamousbob said:Couldn't you use hard drive voice coils for the mirror control?
Voice Coils: The actuator in a modern hard disk uses a device called a voice coil to move the head arms in and out over the surface of the platters, and a closed-loop feedback system called a servo system to dynamically position the heads directly over the data tracks. The voice coil works using electromagnetic attraction and repulsion. A coil is wrapped around a metal protrusion on the end of the set of head arms. This is mounted within an assembly containing a strong permanent magnet. When current is fed to the coil, an electromagnetic field is generated that causes the heads to move in one direction or the other based on attraction or repulsion relative to the permanent magnet. By controlling the current, the heads can be told to move in or out much more precisely than using a stepper motor. The name "voice coil" comes from the resemblance of this technology to that used to drive audio speakers, which are also basically electromagnets. All PC hard disk voice coil actuators are rotary, meaning that the actuator changes position by rotating on an axis.
HarveyH42 said:Sorry, guess I don't understand the difference between 2D and 3D space...
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?