Shop OBEX P1 Docs P2 Docs Learn Events
boebot search and destroy — Parallax Forums

boebot search and destroy

thesupermarketthesupermarket Posts: 3
edited 2006-02-21 00:50 in Robotics
im trying to get my boebot to roam around a room searching for objects in it.
imagine a museum space with sculptures placed randomly around the room.
i want the boebot to locate an object and move in on it.
(im using the sumoboebot.bs2 app pg.266 in boebot book)
when the boe bot gets about 4 inches away from the object i would like it to stop
and then carry out some other function then have it move on to find another object.
i want it to search for an object and then destroy it...

i am new to coding so im not very suave at merging different commands or programs.
im thinking that i can combine the sumoboebot.bs2 with some kind of distance detection prgm.(p.271)
so when the bot gets the object in zone1 it stops "destroys" it then turns around and keeps searching.

if i could get some advice as to what bs2 programs i should be looking at i would love it or some
ideas on how i can make this happen!

also... is there anyway to have the boebot not recognize the walls as an object but
still have it steer away from them?
right now the boebot is guided by IR but i have a sonar on the way.

(hmmm im gonna test this out... but if i wanted my boebot to roam the perimeter of a space in a clockwise direction could i just have it go straight when the left ir detects something, turn right when both ir's detect something...hm i think it would)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://thesupermarket.us
http://fourteensquarefeet.com

Comments

  • DiablodeMorteDiablodeMorte Posts: 238
    edited 2006-02-20 05:33
    u could paint the object/walls a different color
    .

    Or. You could make the objects eminate a ir pulse. when you "destroyed" it it would stop emiting the pulse. this would of course mean that a bs2/bs1 would have to be in each object
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-02-20 05:37
    Actually you would only need a 555 Timer in each object to emit a modulated IR pulse that the BOE-Bot could track.· For that matter, you should just use un-modulated IR detected with a standard IR Photo-transistor/diode that way it wouldn't interfere with the normal object sensors.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • DiablodeMorteDiablodeMorte Posts: 238
    edited 2006-02-21 00:32
    Chris Savage (Parallax) said...
    Actually you would only need a 555 Timer in each object to emit a modulated IR pulse that the BOE-Bot could track. For that matter, you should just use un-modulated IR detected with a standard IR Photo-transistor/diode that way it wouldn't interfere with the normal object sensors.

    How would you stop the 555 timer from emitting the pulse after the robot "destroyed" it
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-02-21 00:34
    Well, if the target was destroyed then power could be cut.· There are several ways to do that.· One would be when the unit tips over a mercury switch cuts power.·

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • gibbmangibbman Posts: 98
    edited 2006-02-21 00:37
    thesupermarket said...
    imagine a museum space with sculptures placed randomly around the room.
    i want the boebot to locate an object and move in on it.·· ...
    i want it to search for an object and then destroy it...

    Please, supermarket, tell me it ain't so......
    Jim

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    In the end, it seems that it's all about getting the LEDs to blink....
  • thesupermarketthesupermarket Posts: 3
    edited 2006-02-21 00:50
    1. i can't paint the walls... they will be white.
    2. the possibility of giving the objects (sculptures) an IR pulse sounds good. it's probably the best solution for what i want to do. but the objects might not be mine so i wont be able to alter them. however, i don't think anyone is going to let me do what i want to do to their art.

    so the boebot will track an emitted IR signal being pulsed from a timer on an object.
    when it bumps into the object or gets within a certain distance the boebot will stop
    and carry out some actions, which may or may not 'kill' the object and its signal.

    hmm how can i get the bot to stop a few inches away from the object emitting the signal?

    (yes it's true... it's going to seek out the art and pee on it. then pee on it self.)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <a href="http://thesupermarket.us">The Supermarket</a>
    <a href="http://fourteensquarefeet.com">Fourteensquarefeet</a&gt;
Sign In or Register to comment.