Go to Post So, the game hint is there is no game hint. - tindleroot [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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
  #31   Spotlight this post!  
Unread 21-01-2011, 11:53
Stuart's Avatar
Stuart Stuart is offline
#include coffee.h
FRC #1745 (P51- Mustangs)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Dallas, TX
Posts: 414
Stuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond repute
Send a message via AIM to Stuart
Re: PID on Jaguars is Illegal

Second on Kevin's proposal.
__________________
Proud mentor of Team #1745 the P-51 Mustangs

If at first it doesn't work, use a hammer.
If that doesn't work, use a bigger hammer.
  #32   Spotlight this post!  
Unread 21-01-2011, 12:06
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: PID on Jaguars is Illegal

Looks good. I suggest the following minor change:
Quote:
Originally Posted by Kevin Sevcik View Post
2. ...Reasonable interpretation would read this as the cRIO sending a position/velocity COMMAND to the Jaguar, and the Jaguar translating this into an the appropriate voltage command control to the motor...
  #33   Spotlight this post!  
Unread 21-01-2011, 12:17
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: PID on Jaguars is Illegal

With saying that the jag in closed loop acts just like a servo wouldn't that make jags and victors illegal?

Both don't just change the voltage they switch it on and off very fast the uC and supporting circuitry fiddle with the transistors to switch the output on and off and they generate the commands themselves.

Does that mean we need to revert to spikes? I dont think they gave us enough with the kit!
  #34   Spotlight this post!  
Unread 21-01-2011, 13:24
andreboos andreboos is offline
Registered User
FRC #3021 (The Agency)
Team Role: Programmer
 
Join Date: Dec 2009
Rookie Year: 2010
Location: San Diego
Posts: 132
andreboos is a jewel in the roughandreboos is a jewel in the roughandreboos is a jewel in the roughandreboos is a jewel in the rough
Re: PID on Jaguars is Illegal

Quote:
Originally Posted by Kevin Sevcik View Post
... this would appear to be absolutely identical to the functioning of the perfectly legal RC servos, which implement closed loop position control of a DC motor based on potentiometer feedback and a cRIO position command.
A very good point. However, I think the distinction may be that the firmware for the Jaguars is to some degree mutable, while I believe servo control is implemented purely in hardware.
  #35   Spotlight this post!  
Unread 21-01-2011, 13:29
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: PID on Jaguars is Illegal

Drake,

My implication was that a jag in closed loop is highly equivalent to an RC servo. Just with external motor and sensor, and tunable PID parameters. So if a closed loop Jag is illegal, then..... The intention is to point out that we're already using independent position controllers on the robot in the form of servos.

All,

I'm informed that some rather more appropriate people are working on this issue now, so I'm going to hold off on any new posts to the Q&A for a little while. I'd like to see what transpires over the weekend before adding to the GDC's busy schedule. I'd ask that anyone else please hold off until Monday evening as well, so as to avoid complicating the situation.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #36   Spotlight this post!  
Unread 21-01-2011, 13:32
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: PID on Jaguars is Illegal

Quote:
Originally Posted by andreboos View Post
A very good point. However, I think the distinction may be that the firmware for the Jaguars is to some degree mutable, while I believe servo control is implemented purely in hardware.
Except that only holds for analog servos. Digital servos implement their control in software, and some of them are even customizable/programmable in various manners.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #37   Spotlight this post!  
Unread 21-01-2011, 14:25
MikeE's Avatar
MikeE MikeE is offline
Wrecking nice beaches since 1990
no team (Volunteer)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: New England -> Alaska
Posts: 381
MikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond repute
Re: PID on Jaguars is Illegal

It's not unexpected that there is a review of this decision behind the scenes. As well as many volunteers, WPI, NI and particularly TI have invested in expanding the use of the Jaguars. And I thank them for that investment.

On a more general point, section 4.3 of the Game Manual includes the exhortation:
Quote:
When reading these rules, please use technical common sense (engineering thinking) rather than “lawyering” the interpretation and splitting hairs over the precise wording in an attempt to find loopholes. Try to understand the reasoning behind a rule.
That really should be a two way street, and while the Blue Boxes have helped put context to many rules, this ruling appears to be a counter-example where over-judicious reading of the letter of a rule is elevated over the spirit.
  #38   Spotlight this post!  
Unread 21-01-2011, 15:56
MikeE's Avatar
MikeE MikeE is offline
Wrecking nice beaches since 1990
no team (Volunteer)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: New England -> Alaska
Posts: 381
MikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond repute
Re: PID on Jaguars is Illegal

Quote:
Originally Posted by Kevin Sevcik View Post
Per GDC Q&A here:
http://forums.usfirst.org/showthread.php?t=16326



Plenty of time later for commentary on this lovely ruling, just wanted to get the word out before people got too invested in tuning and/or ditching PID on the cRIO.
There seems to be a Booth Review in progress. Or CD complaints caused a Challenge Flag to be thrown.

The original link is no longer viewable and the answer no longer appears in the Q&A Robot section http://forums.usfirst.org/forumdisplay.php?f=1481

Last edited by MikeE : 21-01-2011 at 16:00. Reason: clarity and sport metaphors
  #39   Spotlight this post!  
Unread 21-01-2011, 19:23
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: PID on Jaguars is Illegal

Woohoo... Closed loop control on CAN is legal!!

Update 4

Last edited by jhersh : 21-01-2011 at 19:27.
  #40   Spotlight this post!  
Unread 21-01-2011, 20:05
Alexander Meyer Alexander Meyer is offline
Registered User
FRC #2358 (Bearbotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Lake Zurich, Illinois
Posts: 36
Alexander Meyer is on a distinguished road
Re: PID on Jaguars is Illegal

Quote:
Originally Posted by jhersh View Post
Woohoo... Closed loop control on CAN is legal!!

Update 4
{fistpump}

I can't tell you how relieved I am..
  #41   Spotlight this post!  
Unread 21-01-2011, 20:12
klmx30302's Avatar
klmx30302 klmx30302 is offline
Is ready for MAYHEM In Merrimack!
AKA: Kevin McCarthy
FRC #0166 (Chop Shop)
Team Role: Mechanical
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Merrimack,NH
Posts: 221
klmx30302 is a jewel in the roughklmx30302 is a jewel in the roughklmx30302 is a jewel in the rough
Re: PID on Jaguars is Illegal

c/p from team update #4:
As long as the CAN bus is wired legally so that the heartbeat from the cRIO is maintained, the closed loop control features of the Jaguar motor controller may be used. (That is, commands originating from the cRIO to configure, enable, and specify an operating point for all Jaguar closed loop modes fit the intent of <R49>.)

(our software subteam breathes a sigh of relief.)
__________________
Unofficial Team 166 Videographer
Our team motto...
"THINK!, There must be a harder way!"



Last edited by klmx30302 : 21-01-2011 at 20:18.
  #42   Spotlight this post!  
Unread 21-01-2011, 20:16
zbanks zbanks is offline
Registered User
AKA: Zach Banks
FRC #0529 (Mansfield Hornets)
Team Role: Leadership
 
Join Date: Feb 2010
Rookie Year: 2008
Location: MA
Posts: 37
zbanks is an unknown quantity at this point
Send a message via AIM to zbanks
Re: PID on Jaguars is Illegal

I'm glad it's legal. I was looking forward to using it this year.

Of course, after reading this thread earlier today, I spent about an hour abstracting and reworking the code.

Although it's still improved, I wish I had known earlier...
  #43   Spotlight this post!  
Unread 21-01-2011, 22:03
MikeE's Avatar
MikeE MikeE is offline
Wrecking nice beaches since 1990
no team (Volunteer)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: New England -> Alaska
Posts: 381
MikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond repute
Re: PID on Jaguars is Illegal

It's a relief to see the ruling reversed, but a pity the decision was published in the official Q&A in the first place.

Thanks to the positive contributors to this thread for raising awareness and being a part of encouraging a sensible resolution.
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


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

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