Go to Post We're 30 pounds over LOL. I probably shouldn't be lol'ing, but it is 11:52PM, I just got home from a 15 hour build session, and I find the word 'potato' funny. - ZakuAce [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #39   Spotlight this post!  
Unread 01-03-2015, 21:28
sgtell sgtell is offline
Registered User
FRC #4795
 
Join Date: Dec 2012
Location: Chapel Hill, NC
Posts: 1
sgtell is an unknown quantity at this point
Re: Jaguar Speed Control Only Reaches 50% of Setpoint

Looks like the Jag PID limits integrator wind-up:

Code:
    //
    // Update the error integrator.
    //
    if((psState->lIntegrator & 0x80000000) == (lError & 0x80000000))
//trimmed
[/quote]

From this old thread it looks like the Jaguar's onboard firmware source code was once available - at least the old TI/Luminary micro version (I understand that the FRC version was not).

Is there anywhere to obtain this source code today? Our students are attempting position-based PID control onboard the jaguar using an encoder, and having some difficulty. Being able to point to exactly what the jaguar is doing with their parameters may be a useful teaching opportunity.

thanks, Steve
Reply With Quote
 


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 20:16.

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