Author Topic: Object avoidance  (Read 2714 times)

0 Members and 1 Guest are viewing this topic.

Offline cyclopediatechtilonTopic starter

  • Full Member
  • ***
  • Posts: 75
  • Helpful? 0
  • THE MAN KID
Object avoidance
« on: December 09, 2008, 02:14:29 AM »
Will the $50 robot have objectavoidance??
--
the dude. dont mess wit me

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,431
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
    • Nerdcore - Programming, Electronics, Mechanics
Re: Object avoidance
« Reply #1 on: December 09, 2008, 01:57:04 PM »
by default its a photovore, add the sharp ir tutorial and you have an object chaser. reverse the code and you have an object avoider

Offline cyclopediatechtilonTopic starter

  • Full Member
  • ***
  • Posts: 75
  • Helpful? 0
  • THE MAN KID
Re: Object avoidance
« Reply #2 on: December 11, 2008, 09:59:51 AM »
When it bashes an object ;), will it Turn away??(without the modifications)
« Last Edit: December 11, 2008, 10:01:36 AM by cyclopediatechtilon »
--
the dude. dont mess wit me

Offline Trumpkin

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
Re: Object avoidance
« Reply #3 on: December 11, 2008, 10:10:49 AM »
Not on purpose. :P
Robots are awesome!

Offline cyclopediatechtilonTopic starter

  • Full Member
  • ***
  • Posts: 75
  • Helpful? 0
  • THE MAN KID
Re: Object avoidance
« Reply #4 on: December 11, 2008, 10:15:58 AM »
So basically youll have to turn it with your hand?? :-\
--
the dude. dont mess wit me

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,431
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
    • Nerdcore - Programming, Electronics, Mechanics
Re: Object avoidance
« Reply #5 on: December 11, 2008, 11:38:01 AM »
The object chaser will find an object and will attack it from its side. Its meant to be sumo-bot code where it flips another bot over and pushes it out of the ring.

Offline cyclopediatechtilonTopic starter

  • Full Member
  • ***
  • Posts: 75
  • Helpful? 0
  • THE MAN KID
Re: Object avoidance
« Reply #6 on: December 11, 2008, 11:40:31 AM »
I am not talking of the object chaser. I am talking of the plane 50$ robot. :P
--
the dude. dont mess wit me

Offline bukowski

  • Robot Overlord
  • ****
  • Posts: 219
  • Helpful? 0
Re: Object avoidance
« Reply #7 on: December 11, 2008, 12:14:21 PM »
the answer, as everyone said, is no. If you do the sharp ir upgrade you can modified the Stampy edge finding code so it avoids objects instead of trying to run into them, that's what I did. It worked OK.
http://www.societyofrobots.com/robotforum/index.php?topic=1029.0

Offline cyclopediatechtilonTopic starter

  • Full Member
  • ***
  • Posts: 75
  • Helpful? 0
  • THE MAN KID
Re: Object avoidance
« Reply #8 on: December 12, 2008, 03:38:15 AM »
the code on that link u gave me.how do i upload it? do i just copy-paste?? i cant program for nuts! :-[
« Last Edit: December 12, 2008, 03:45:32 AM by cyclopediatechtilon »
--
the dude. dont mess wit me

Offline bukowski

  • Robot Overlord
  • ****
  • Posts: 219
  • Helpful? 0
Re: Object avoidance
« Reply #9 on: December 12, 2008, 11:05:02 AM »
yep, you could. or you could just look at the stampy edge finding code (it's fully documented) and figure out your own way to do it. Like I said in the post, you are better off doing away with the initial autocalibration and writing in a value, something I did later. It's not hard, i dont know nuts about programming either.

Offline cyclopediatechtilonTopic starter

  • Full Member
  • ***
  • Posts: 75
  • Helpful? 0
  • THE MAN KID
Re: Object avoidance
« Reply #10 on: December 13, 2008, 12:17:21 AM »
Where should i paste it? ??????
« Last Edit: December 13, 2008, 07:31:32 AM by cyclopediatechtilon »
--
the dude. dont mess wit me