|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
Re: I have a quistion about stopping the autonomous mode...
Quote:
Heck, I'm tempted to make a "deadman's switch" dongle for some of our tests. |
|
#17
|
|||||
|
|||||
|
Re: I have a quistion about stopping the autonomous mode...
Quote:
|
|
#18
|
||||
|
||||
|
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!
![]() |
|
#19
|
|||
|
|||
|
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
|
|
#20
|
|||
|
|||
|
Re: I have a quistion about stopping the autonomous mode...
Ok but How can I test it at school?
|
|
#21
|
|||||
|
|||||
|
Re: I have a quistion about stopping the autonomous mode...
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 |
|
#22
|
|||
|
|||
|
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? |
|
#23
|
|||||
|
|||||
|
Re: I have a quistion about stopping the autonomous mode...
There is no other side. It plugs into the OI's competition port, period.
|
|
#24
|
|||
|
|||
|
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? |
|
#25
|
|||||
|
|||||
|
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. |
|
#26
|
|||||
|
|||||
|
Re: I have a quistion about stopping the autonomous mode...
Quote:
Or go to AndyMark.biz and buy theirs. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Autonomous mode... to the max | Total Meltdown | Programming | 16 | 18-01-2006 22:19 |
| How do I enter the Autonomous mode? | CompMaster | Programming | 5 | 17-02-2005 19:12 |
| A little question about the autonomous mode | Anton | Programming | 4 | 18-01-2005 14:08 |
| Anybody have a code for an autonomous mode to go to the 50 point bar???? and... | chaoticprout | Programming | 9 | 06-11-2004 12:22 |
| counting in seconds for the autonomous mode?? | Pattyta | Programming | 22 | 31-03-2004 12:55 |