|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
What to do with the ir code?
What needs to be done to get the ir code to work. As far as I can tell you need to modify the header files so that you have the macro's refferencing the proper inputs and outputs, but there has been a large discussion on trig to set your way. As far as I can tell the code will drive you to the proper place, is the trig just an effort to make this more efficient?
|
|
#2
|
||||
|
||||
|
Re: What to do with the ir code?
basically, yes. the ir code is designed so that it works somewhat out-of-the-box, with just the proper inputs selected and a little tuning of the values.
|
|
#3
|
|||||
|
|||||
|
Re: What to do with the ir code?
Not to sound stupid or anything, but what is the IR code for exactly?
|
|
#4
|
||||
|
||||
|
Re: What to do with the ir code?
it utilizes the IR sensors included in the kit to home in to a certain position near the bonus balls on the sidelines that trigger the ball release. essentially, it's an alternative method to find your way to a certain position on the field.
|
|
#5
|
|||||
|
|||||
|
Re: What to do with the ir code?
Quote:
|
|
#6
|
|||
|
|||
|
Re: What to do with the ir code?
Quote:
|
|
#7
|
|||||
|
|||||
|
Re: What to do with the ir code?
Quote:
(sorry for the code-like part, but I'm just trying to understand it better) Thanks by the way ![]() |
|
#8
|
|||
|
|||
|
Re: What to do with the ir code?
Not exactly, sorry for being unclear. The line is curved, so you don't take the most direct path to the platform. You are always having to scan the line as well, and if you overshoot it, you will have a very hard time picking it back up. With ir two things can happen as i understand it, someone please let me know if i'm wrong. First your ir reciever can get oriented directly at the becon, as long as you narrow the range. This means rather then taking the line which is inderect you can take the most direct path, the shortest distence between two points is a straight line, the ir does a better job of picking that out then the line on the floor. Second because the ir becon puts out a wide signal if you get 10 or 20 degrees off corse you can easily get back on corse. With line tracking if you get 10 or 20 degrees off corse you are basicly screwed, unless you do a lot of fancy turning. In summary ir lets you plot the most direct corse to the platform, more direct then the line. Also if you get off corse you have a much better chance of finding your way back with ir then with the line.
|
|
#9
|
|||
|
|||
|
Re: What to do with the ir code?
hey umm i know this is the wrong thread. But i need someone to help us find some drive train links or webpages to help build the robot
also we were trying to get the education robot to start and it just sits there doing nothing. the PWN IN light is blinking red and thre radio control is red as well |
|
#10
|
||||
|
||||
|
Re: What to do with the ir code?
celestial, you do know that you can start a new thread, right? and that there are other forums as well besides the programming one? I'd recommend asking your questions in the relevant forums.
|
|
#11
|
|||||
|
|||||
|
Re: What to do with the ir code?
One more question.
Are the sensors for going to the ball tee's and [hopefully] getting the balls? (Sorry for the question, but I'm trying to figure this out). |
|
#12
|
||||
|
||||
|
Re: What to do with the ir code?
for what the built-in code does, yes. you could reprogram them to take you to different parts of the field (using triangulation, et cetera), but the default code is for homing in on the area right next to the ball tees, allowing the removal of the 10pt ball and releasing the 5pt balls.
|
|
#13
|
|||||
|
|||||
|
Re: What to do with the ir code?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is your most prefered programming language? | Hailfire | Programming | 156 | 19-01-2005 21:42 |
| InfraRed autonomous code ... | mtrawls | Programming | 1 | 11-01-2004 00:25 |
| Autonomous code | PBoss | Programming | 7 | 14-01-2003 15:29 |
| Does your team use the Default code. | Jeff McCune | General Forum | 2 | 09-01-2003 14:46 |
| Patent source code? | Kyle Fenton | Chit-Chat | 3 | 20-10-2001 17:53 |