Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   I have a quistion about stopping the autonomous mode... (http://www.chiefdelphi.com/forums/showthread.php?t=51039)

kaszeta 08-01-2007 17:31

Re: I have a quistion about stopping the autonomous mode...
 
Quote:

Originally Posted by jgannon (Post 550165)
...but don't make a habit of doing it that way. Get a dongle. Build one yourself, or order Andymark's. The competition port is not fused, and some pins are connected directly to the processor in the OI. If you touch the wrong two pins together, you may damage the OI.

That, and a dongle is a good safety mechanism to have handy. We've had more than a few "runaway bots" during autonomous testing, especially when someone disconnected the shaft encoders while adjusting wiring.

Heck, I'm tempted to make a "deadman's switch" dongle for some of our tests.

Astronouth7303 08-01-2007 22:01

Re: I have a quistion about stopping the autonomous mode...
 
Quote:

Originally Posted by kaszeta (Post 551425)
That, and a dongle is a good safety mechanism to have handy. We've had more than a few "runaway bots" during autonomous testing, especially when someone disconnected the shaft encoders while adjusting wiring.

Heck, I'm tempted to make a "deadman's switch" dongle for some of our tests.

Need I mention When Robots Attack?

bobmonkey836 08-01-2007 22:42

Re: I have a quistion about stopping the autonomous mode...
 
assume the worst. include a deadmans switch on the controller, just in case. that way, if the program works, you smile!:D

drakesword 08-01-2007 22:59

Re: I have a quistion about stopping the autonomous mode...
 
I made it a general rule that loops are NOT allowed in our code. If a loop is messed up then you have big problems on your hand. Besides why have a loop inside a loop to do the same functions a state machine can do or a timer variable

razer 09-01-2007 14:10

Re: I have a quistion about stopping the autonomous mode...
 
Ok but How can I test it at school?

Alan Anderson 09-01-2007 16:07

Re: I have a quistion about stopping the autonomous mode...
 
Quote:

Originally Posted by razer (Post 552199)
Ok but How can I test it at school?

Use a "dongle" on the competition port of the Operator Interface. You can enable/disable the robot, and you can switch between autonomous and teleoperated mode.

http://www.ifirobotics.com/docs/comp...guide-reva.pdf

razer 10-01-2007 16:07

Re: I have a quistion about stopping the autonomous mode...
 
and where do i connect the "dongle"?
1 side to the Competition Port at the Operator Panel.

where to connect the other side?

Alan Anderson 10-01-2007 21:31

Re: I have a quistion about stopping the autonomous mode...
 
There is no other side. It plugs into the OI's competition port, period.

razer 11-01-2007 00:21

Re: I have a quistion about stopping the autonomous mode...
 
uh? what do you mean "no other side"? how deos this "dongle" looks like?
i think i found PDFs which explains more about the competition port, and it says i have to bring an On/Off switch, and to connect pin 5, 6, and 8 (on the competetion port) to the switch.

is this what you say?

Alan Anderson 11-01-2007 07:52

Re: I have a quistion about stopping the autonomous mode...
 
One switch between pins 5 and 8 selects autonomous mode when closed, the other switch between pins 6 and 8 disables the robot when closed. The third switch on the drawing does nothing unless you're using a pre-2005 control system. http://www.ifirobotics.com/docs/comp...guide-reva.pdf tells you what you need to know.

With a DB15P connector, two SPST switches, some wire, and a box to mount the switches on, you'll be able to make a very useful tool for testing and operating your robot.

Astronouth7303 11-01-2007 15:43

Re: I have a quistion about stopping the autonomous mode...
 
Quote:

Originally Posted by Alan Anderson (Post 553799)
One switch between pins 5 and 8 selects autonomous mode when closed, the other switch between pins 6 and 8 disables the robot when closed. The third switch on the drawing does nothing unless you're using a pre-2005 control system. http://www.ifirobotics.com/docs/comp...guide-reva.pdf tells you what you need to know.

With a DB15P connector, two SPST switches, some wire, and a box to mount the switches on, you'll be able to make a very useful tool for testing and operating your robot.

If you don't understand what that means, hand the drawing to your Electrical mentor and ask him/her to build it.

Or go to AndyMark.biz and buy theirs.


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

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