Go to Post Welcome to FIRST, side effects may include...... - spears312 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 13-02-2012, 14:09
dsirovica's Avatar
dsirovica dsirovica is offline
Programming and Electrical Mentor
AKA: Dean Sirovica
FRC #1458 (Red Ties)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Alamo
Posts: 65
dsirovica is on a distinguished road
Re: CANbus Jaguar control

Thanks for the feedback. I am curious to hear your opinion on what is the primary mission of FIRST ?

Really when I look at the thread on the bent pins on the Jaguars - that is criminal - there is no way TI would get away selling that into a supply chain - are they dumping sub-spec stuff into kids programs? At the very least the FIRST suppliers should deliver commercial grade goods. I would actually expect that the engineers behind this would give it an extra effort since it is for kids trying to follow in their footstep.

Back to the code: Yes we implemented our own PID since the built-in one we couldn't get stable. As a result it is not running in a separate thread. Sounds like you are advising us that if we put something into a thread (PID, Dashboard, DriveStation, etc.) then we should get much better performance for the rest of the code? we'll look into that thanks - though this is getting a bit advanced for our kid programmers...

How about the drift we see between set() and get() ? Maybe threading will solve that too as we can "flood" the Jag with keep alive CAN messages.

Basically we want to achieve fine motion control so we can rotate the whole robot to the target (no need for a lazy susan), and use the same for bridge balancing. We should be able to do better than a human driver - alas doing it in code is worse!

Thanks for the help!
Dean
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 13:05.

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