Go to Post An awesome unveiling video is not necessarily an indicator of onfield performance. - ToddF [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-02-2005, 13:09
Doug G's Avatar
Doug G Doug G is offline
Coach / Teacher
FRC #0701 (Robovikes)
Team Role: Coach
 
Join Date: Dec 2002
Rookie Year: 2001
Location: Fairfield, CA
Posts: 880
Doug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond repute
How do you test AUtonomous

I tried building a dongle for auton mode....
i simply put pwm01=50; inside the auton loop... it will not execute ... can you tell me which pins are to switch on auton mode....(double checking) when i use my current dongle i get a pale disabled light so i think auton mode is on but why isn't this simple code executing....? .......
__________________
Work Hard, Have Fun, Make a Difference!

  #2   Spotlight this post!  
Unread 20-02-2005, 13:25
katkana katkana is offline
that programmer chick
AKA: Gillian Koch
FRC #1412 (Mercedes Metalheads)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Hackensack
Posts: 28
katkana is on a distinguished road
Send a message via AIM to katkana
Re: How do you test AUtonomous

To tell you the truth, our team has had some trouble getting our dongle to work, too. However, we've bypassed that problem using this method:

- tether the RC to the OI, then, using the pin-switches on the OI, set the team number to 0000 (all pins not depressed)

- having done that, release the tether connection. The RC is now set to 0000, which will trigger the autonomous mode. If the code you've written is correct, it should run as soon as you turn the robot on.

- To get out of the autonomous mode, simply re-tether the RC to the OI and set the OI to your team number again. The robot can now be controlled via the joysticks.

Hope this helps!

~kat
__________________
And now for something completely different...

GO DRAGONS!!!
Drexel University, Class of 2010

"The definition of insanity is doing the same thing over and over and over and over again, but expecting a different result." ~ Albert Einstein

"Strength is irrelevant. Freedom is irrelevant. Self-determination is irrelevant. Death is irrelevant. You must comply." ~ the Borg

"Therapy is expensive. Popping bubble plastic is cheap. You choose." ~ Unknown

"We're [engineers]! We're the opposite of people!" ~ pirated from Rosencrantz and Guildenstern are Dead!
  #3   Spotlight this post!  
Unread 20-02-2005, 14:20
djcapelis's Avatar
djcapelis djcapelis is offline
Fried Manic Custard
None #0675 (Geeks with Power Tools)
Team Role: Programmer
 
Join Date: May 2003
Rookie Year: 2001
Location: Rohnert Park, CA
Posts: 129
djcapelis will become famous soon enoughdjcapelis will become famous soon enough
Send a message via ICQ to djcapelis Send a message via AIM to djcapelis Send a message via Yahoo to djcapelis
Re: How do you test AUtonomous

I just hardcode in autonomous mode as true, then just reburn the EEPROM after we're done testing to restore back to competition-state.

Dirty, but quick and easy.
__________________
"I have more friends than enemies, I'm working to resolve the issue."
  #4   Spotlight this post!  
Unread 20-02-2005, 16:14
bbene's Avatar
bbene bbene is offline
Team 754 Webmaster
AKA: Ben
FRC #0754 (Frostbyte)
Team Role: Webmaster
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Marinette, WI
Posts: 8
bbene is an unknown quantity at this point
Send a message via AIM to bbene Send a message via MSN to bbene Send a message via Yahoo to bbene
Re: How do you test AUtonomous

I just built a switch that hooks into the competition port. I forgot what the pins were, but they are in the manual. We have a 3 position switch for Disable, normal, and Autonomous.
__________________
Ben - Team 754 Webmaster/Former Student/College Mentor
Team Site
Personal Site
  #5   Spotlight this post!  
Unread 20-02-2005, 17:18
nathanielreindl's Avatar
nathanielreindl nathanielreindl is offline
Triumphant Return from the Depths
AKA: Fiction
FRC #1451
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2003
Location: O'Fallon, IL
Posts: 14
nathanielreindl is an unknown quantity at this point
Send a message via ICQ to nathanielreindl Send a message via AIM to nathanielreindl Send a message via Yahoo to nathanielreindl
Re: How do you test AUtonomous

Quote:
Originally Posted by bbene
I just built a switch that hooks into the competition port. I forgot what the pins were, but they are in the manual. We have a 3 position switch for Disable, normal, and Autonomous.
We did the same thing with ours. The pins, in case you're ultimately curious, are simple. Pin 8, just like a lot 16-pin TTL ICs, goes to ground. Pin 5 is autonomous, pin 6 is disable, and pin 12 is practice mode.

Essentially, we took a 15-pin gameport connector and soldered some leads to it that eventually ran to a prototyping board with toggle switches hooked up to each lead and ground. That is, we wired each switch such that it would short one of the respective autonomous, disable, or practice mode pins to ground.

If anyone, for whatever reason, wants photos, ask. I found the diagram while searching for "operator interface competition port" here at ChiefDelphi.
__________________
  #6   Spotlight this post!  
Unread 20-02-2005, 18:54
bbene's Avatar
bbene bbene is offline
Team 754 Webmaster
AKA: Ben
FRC #0754 (Frostbyte)
Team Role: Webmaster
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Marinette, WI
Posts: 8
bbene is an unknown quantity at this point
Send a message via AIM to bbene Send a message via MSN to bbene Send a message via Yahoo to bbene
Re: How do you test AUtonomous

That's what I did too. We had a gameport wired up last year to do the same thing, but the pins changed this year so I just changed the pins around to work again. I'm curious, what does the Practice mode do? I haven't read anything about pin 12 being for something.
__________________
Ben - Team 754 Webmaster/Former Student/College Mentor
Team Site
Personal Site
  #7   Spotlight this post!  
Unread 21-02-2005, 13:23
Moloch's Avatar
Moloch Moloch is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Michigan
Posts: 39
Moloch can only hope to improve
Re: How do you test AUtonomous

Why dont you just add a joystick command for auton? Its really simple and works just fine...no wiring needed.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Despite what IFI says, you can configure autonomous from OI... TedP Programming 19 31-03-2004 10:09
How do you turn on the Autonomous mode (to test)? Salik Syed Programming 6 03-03-2004 23:37
test autonomous mode CharlieWilken Programming 14 20-02-2004 00:39
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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