Go to Post I've done enough preaching to the choir. Let's carry on changing the culture. - StevenB [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
  #2   Spotlight this post!  
Unread 12-02-2012, 18:14
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: CANbus Jaguar control

I agree that some parts of the documentation are lacking, or even completely incorrect in some instances, but most of it isn't a giant issue (imho) that would "teach them [kids] to give up in life". Besides, even if FIRST is primarily about education (hint: it's not), not everything in life comes with a nicely written manual meticulously error-checked by a university professor.

1. Regarding CAN, are you guys using PID control and encoders? The problems you're describing sound a lot like issues with your PID values. I'm only asking because most teams only use CANs for its PID control features. If yes, then perhaps you should read the Wikipedia article on PID control loops and how to tune them. BDC-Comm is a good program to use for the black jaguars provided by FIRST.

2. You should not need to setExpiration for CAN. Place it in a thread so that other code don't interfere with its operations.

3. Same with updateDashboard, put that in a separate thread.
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