how does boe -bot return to original position?
patrick van der Tol
Posts: 9
Hi,
ive got an problem, ive got a boe-bot with gripper kit. i want to program the bot that it picks up the closest object with the gripper kit and then return to its stat point with this object. The first part ive already programmed it drives through the closest object and picked it up, but how does it return?? im a newbie in programming.
thanks for the help.
patrick van der Tol
ive got an problem, ive got a boe-bot with gripper kit. i want to program the bot that it picks up the closest object with the gripper kit and then return to its stat point with this object. The first part ive already programmed it drives through the closest object and picked it up, but how does it return?? im a newbie in programming.
thanks for the help.
patrick van der Tol
Comments
If you need to be more exact, you'll need some kind of sensors and a way of marking the starting point, and then some kind of routine for reading the sensors and adjusting if you're not there yet. That'd take a much longer answer.
i am using the ping sensor code to closest object. so its not possible for me to use a subroutine.
is it in possible to place a flag or something in memory?
Kinda like...
http://www.parallax.com/Store/Robots/RoboticAccessories/tabid/145/ProductID/80/List/0/Default.aspx?SortField=ProductName,ProductName
This document takes a bit of time to read through, but is really instructive on using the encoders:
http://www.parallax.com/Portals/0/Downloads/docs/prod/datast/ApplyEncoder.pdf
Then you go and pick up the object. And return to the position you get from the EEPROM.
The only thing I don't know is the accuracy, so when the accurancy is 12 meter this won't work.
But will be a nice project.
RL600