Go to Post My only question is, Can your robot place tetras and deliver Krispy Kremes to team mentors in autonomous mode? - Rich Kressly [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 24-01-2008, 18:26
RClothier1723 RClothier1723 is offline
Dr. Russell Clothier, Advisor 1723
FRC #1723
Team Role: Coach
 
Join Date: Oct 2005
Rookie Year: 2005
Location: Independence, MO
Posts: 2
RClothier1723 is an unknown quantity at this point
No PMW output in Autonomous

I'm having a problem communicating with the motors in Autonomous Mode. The motors work fine in the Default_Routine. When the RC is in Autonomous (the RC mode light is blinking yellow), the indicator LED's on the Victor 884's blink yellow, meaning there is no PWM input to them. In the Autonomous code, I've got the pwm variables assigned like I want them right before the Putdata(&txdata) statement, but the information is apparently not being output.

Is there some trick to driving motors in Autonomous? Or is my system configured incorrectly? The RC is disconnected from the OI (no tether), after the team number was set to 0000. That should work, shouldn't it, or do you have to have a competition dongle?

Thanks in advance for any advice

Russell Clothier, Team 1723
  #2   Spotlight this post!  
Unread 24-01-2008, 18:31
Steve_Alaniz Steve_Alaniz is offline
Registered User
FRC #2848 (All Sparks)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 1997
Location: Dallas
Posts: 211
Steve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond repute
Re: No PMW output in Autonomous

You need a dongle, ( You mean the competition port switch...right?) to run autonomous.
http://www.ifirobotics.com/docs/comp...guide-reva.pdf

See... switch 2

Um... you DO have the radio link up...? Without a radio link or thether, the robot won't do anything,,, it's a safety setup.


Steve (Or are you talking about something else and I'm just being stupid?

(An after thought) if you're using PWN13-16... your statements should be before the Generate PWMs

Last edited by Steve_Alaniz : 24-01-2008 at 18:34. Reason: Another thought
  #3   Spotlight this post!  
Unread 24-01-2008, 18:39
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: No PMW output in Autonomous

Quote:
Originally Posted by Steve_Alaniz View Post
You need a dongle to run autonomous.
Not true. The setup that Russell is describing (tether, set team number to 0000, untether) is another way to set the RC into autonomous mode. (Steve, see page 10 of the RC reference guide.)
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_

Last edited by jgannon : 24-01-2008 at 18:43.
  #4   Spotlight this post!  
Unread 24-01-2008, 18:45
d235j d235j is offline
Registered User
FRC #4454
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Philadelphia, PA
Posts: 25
d235j has a spectacular aura aboutd235j has a spectacular aura about
Re: No PMW output in Autonomous

From the IFI Operator Interface reference manual:
Quote:
Starting with the 2006 Robot Controller, a team number of
zero will put the Robot Controller in Autonomous Mode, but the PWM outputs will be disabled.
  #5   Spotlight this post!  
Unread 24-01-2008, 20:41
Steve_Alaniz Steve_Alaniz is offline
Registered User
FRC #2848 (All Sparks)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 1997
Location: Dallas
Posts: 211
Steve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond repute
Re: No PMW output in Autonomous

Quote:
Originally Posted by jgannon View Post
Not true. The setup that Russell is describing (tether, set team number to 0000, untether) is another way to set the RC into autonomous mode. (Steve, see page 10 of the RC reference guide.)
OOPS... you are correct but it's almost a moot point since as D235J pointed out... the PWMs are disabled. (I just assumed it was true since things I've wanted to test in autonomous always involved PWMs.) I'm not sure I understand their logic in this since it IS going to lead to some confusion but hey OK... I can live with that. I guess I overstated my case but the bottom line is you still need to connect pin 8 to pin 5 to get the full autonomous to work. I need to re-read all the documentation... just as soon as the build is over and I recover from my customary collapse.

Thanks for the catch d235j.



Steve
  #6   Spotlight this post!  
Unread 25-01-2008, 05:51
RClothier1723 RClothier1723 is offline
Dr. Russell Clothier, Advisor 1723
FRC #1723
Team Role: Coach
 
Join Date: Oct 2005
Rookie Year: 2005
Location: Independence, MO
Posts: 2
RClothier1723 is an unknown quantity at this point
Re: No PMW output in Autonomous

I'll be darned. Not sure why you'd want the option of going into autonomous with all of your motors disabled, but that certainly explains my problem. Thanks!
  #7   Spotlight this post!  
Unread 01-02-2008, 00:41
garyk garyk is offline
Programming Mentor: 668, 972, 2643
FRC #0668 (Apes of Wrath)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Santa Clara (Silicon Valley) Calif.
Posts: 94
garyk is a jewel in the roughgaryk is a jewel in the roughgaryk is a jewel in the roughgaryk is a jewel in the rough
Re: No PMW output in Autonomous

Quote:
Originally Posted by d235j View Post
From the IFI Operator Interface reference manual:
My take on this is that it's a safety measure. With team number set to 0, no tether, and no radio link, there's no way to stop an ill-behaved (or polite, for that matter) robot other than chase it and turn off power somehow. And, as soon as the program is downloaded, it'll take off, with the program cable still attached.
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
Output Sprockets ktty_jay Motors 8 16-01-2008 09:49
Output Error magical hands Programming 3 18-01-2006 18:54
Overlapping output? Bleric Programming 2 30-01-2005 17:20
IR PMW Help thoughtful Programming 11 13-02-2004 10:28
Compressor output archiver 2001 1 24-06-2002 00:04


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

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