go_away

Author Topic: Help with Sharp IR  (Read 2567 times)

0 Members and 1 Guest are viewing this topic.

Offline javafiendTopic starter

  • Robot Overlord
  • ****
  • Posts: 125
  • Helpful? 0
Help with Sharp IR
« on: February 21, 2008, 01:04:05 PM »
I need some help with this idea for my scanning Sharp IR. 

Here is what I want to do:

1.  Auto calibrate
2.  Scan and acquire target
3.  Follow target
4.  If target is lost then pause
5.  Recalibrate
6.  Scan until new target is acquired

I am using the code for the $50 robot with the Sharp IR upgrade.

Offline Trumpkin

  • Supreme Robot
  • *****
  • Posts: 1,177
  • Helpful? 5
Re: Help with Sharp IR
« Reply #1 on: February 21, 2008, 02:30:36 PM »
just use the $50 robot sharp IR code.
« Last Edit: February 21, 2008, 02:31:23 PM by Trumpkin »
Robots are awesome!

Offline javafiendTopic starter

  • Robot Overlord
  • ****
  • Posts: 125
  • Helpful? 0
Re: Help with Sharp IR
« Reply #2 on: February 21, 2008, 03:18:08 PM »
I am.  I didn't see any part of the code that accounts for losing a target and recalibrates the scanner.  I guess I could probably figure it out if I knew how to tell when the target was lost.

 


Get Your Ad Here