Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   PID on Jaguars is Illegal (http://www.chiefdelphi.com/forums/showthread.php?t=89697)

Stuart 21-01-2011 11:53

Re: PID on Jaguars is Illegal
 
Second on Kevin's proposal.

Alan Anderson 21-01-2011 12:06

Re: PID on Jaguars is Illegal
 
Looks good. I suggest the following minor change:
Quote:

Originally Posted by Kevin Sevcik (Post 1004979)
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...


drakesword 21-01-2011 12:17

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!

andreboos 21-01-2011 13:24

Re: PID on Jaguars is Illegal
 
Quote:

Originally Posted by Kevin Sevcik (Post 1004979)
... 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.

Kevin Sevcik 21-01-2011 13:29

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.

Kevin Sevcik 21-01-2011 13:32

Re: PID on Jaguars is Illegal
 
Quote:

Originally Posted by andreboos (Post 1005042)
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.

MikeE 21-01-2011 14:25

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.

MikeE 21-01-2011 15:56

Re: PID on Jaguars is Illegal
 
Quote:

Originally Posted by Kevin Sevcik (Post 1004743)
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

jhersh 21-01-2011 19:23

Re: PID on Jaguars is Illegal
 
Woohoo... Closed loop control on CAN is legal!!

Update 4

Alexander Meyer 21-01-2011 20:05

Re: PID on Jaguars is Illegal
 
Quote:

Originally Posted by jhersh (Post 1005285)
Woohoo... Closed loop control on CAN is legal!!

Update 4

{fistpump}

I can't tell you how relieved I am..

klmx30302 21-01-2011 20:12

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.)

zbanks 21-01-2011 20:16

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...:rolleyes:

MikeE 21-01-2011 22:03

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.


All times are GMT -5. The time now is 19:47.

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