Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Yes another autonomous question. (http://www.chiefdelphi.com/forums/showthread.php?t=33900)

Wizang 03-02-2005 01:58

Yes another autonomous question.
 
I understand where to put the autonmous code in the code, and that the competition port will be used to activate that function at the competition, but I have another question. Would anyone suggest a good way to test the autonomous code we create before the games. Is there anyway to emulate First's controll throught he competition port? Or are we limited to testing our code in a different function besides the actual autonomous? Any help would be appreciated. Thanks.

NoodleKnight 03-02-2005 02:02

Re: Yes another autonomous question.
 
I think setting your team number to 0 on the OI triggered autonomous. There are diagrams for a competition port faker which can simulate autonomous mode. Try doing a search.

Alan Anderson 03-02-2005 07:23

Re: Yes another autonomous question.
 
Quote:

Originally Posted by Wizang
Is there anyway to emulate First's controll throught he competition port?

Yes. There is a document on the IFI web site with exactly what you need. Search the ChiefDelphi Forums for the word "dongle".

Mike Betts 03-02-2005 08:39

Re: Yes another autonomous question.
 
Quote:

Originally Posted by Wizang
Is there anyway to emulate First's controll throught he competition port?

Please see this document.

jgannon 03-02-2005 10:25

Re: Yes another autonomous question.
 
Quote:

Originally Posted by Mike Betts
Please see this document.

It probably mentions this in the document (I'm too lazy to look), but it's important enough to merit another warning. Be VERY careful with what you connect to the Competition port. Some of the pins are connected directly to the processor, and if you connect anything to them, you will instantly fry the OI.

Alan Anderson 03-02-2005 11:51

Re: Yes another autonomous question.
 
The Competition Port Pinout Guide shows connections to pins 5, 6, 8, and 12 only. It says, in large bold UPPERCASE letters:
Quote:

CONNECTIONS TO ANY OTHER PINS CAN DAMAGE THE OI AND WILL VOID ANY WARRANTY
Note that for the 2005 OI, grounding pin 12 to enable the alternate radio modem channels is unnecessary (but the alternate channels will only work if the team number is set to 2048 or higher).

Wizang 04-02-2005 02:50

Re: Yes another autonomous question.
 
Okay, that helps alot, thanks guys. One other question is, what to hook up to it? Will just a button activate it? Or is it something more complex? Thanks.

miketwalker 04-02-2005 03:31

Re: Yes another autonomous question.
 
All you have to do is short the 2 pins, so yes... by wiring a button to the 2 pins for autonomous will allow you to easily turn on and off the autonomous mode using the button. Like Alan said, be VERY careful that you wire the right pins or you could do serious damage to the controller.


All times are GMT -5. The time now is 00:00.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi