Go to Post Certainly more interesting to watch than driving around in circles on a flat field. Sorry, 2008. - synth3tk [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-07-2010, 02:04
LukeS LukeS is offline
4272 mentor, 1024 alumnus
AKA: Luke Shumaker
FRC #4272
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Indianapolis, IN
Posts: 60
LukeS is an unknown quantity at this point
BugFix for CANJaguar code.

I could not find a way to submit a patch on the FIRST Forge tracker.
So, I am posting this here, and emailing it to the maintainers listed on FIRST Forge.
[edit]I'll also cross-post to the USFIRST forums once I get the email reminding me what my password is. The system isn't liking me, so if anyone wants to cross-post for me, that's fine.[/edit]

I have created a modified version of the CANJaguar code for Java, that
fixes Bug artf1172, which causes to the JVM to throw an exception and
stop on any IO error on the CAN bus. Several of you have commented on this in the WPILIB feedback thread.

To do this I basically threw IOExceptions instead of runtime exceptions.
This shoves error handling closer to the user, breaking source
compatibility.

Since the user must now handle exceptions themselves, breaking
source-compatibility. For this reason, I have also created the class
SafeCANJaguar, which handles all exceptions for the user, preserving
source compatibility.

Since I feel that I do not have authority to publish to
edu.wpi.first.addons, and to avoid confusion do to incompatible changes,
I have moved the files to `org.mckenzierobotics.CAN'.

http://lukeshu.ath.cx/CANJaguar for ...7.11.01.44.zip

Last edited by LukeS : 11-07-2010 at 02:11.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-10-2010, 17:13
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: BugFix for CANJaguar code.

Join the CANJava project and then you can post.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
Reply With Quote
  #3   Spotlight this post!  
Unread 18-10-2010, 19:37
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: BugFix for CANJaguar code.

Quote:
Originally Posted by Kingofl337 View Post
Join the CANJava project and then you can post.
You don't even need to join the project... you just need to login to FIRST Forge.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-10-2010, 03:01
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: BugFix for CANJaguar code.

Quote:
Originally Posted by LukeS View Post
Your link is bad. Please log into firstforge.wpi.edu and create a new tracker for this and directly attach the file to the tracker. Here's a link to the Java tracker for CAN Jaguar: http://firstforge.wpi.edu/sf/tracker...aguar_for_java

-Joe
Reply With Quote
  #5   Spotlight this post!  
Unread 24-10-2010, 09:42
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: BugFix for CANJaguar code.

The new link is http://lukeshu.ath.cx/1/FRC/files/CA...7.11.01.44.zip
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
CANJaguar code with synchronization taichichuan CAN 5 06-05-2010 13:23
CANJaguar vi's RoboGuy Programming 15 18-04-2010 02:23
Potential Issue with the C++ CANJaguar Implementation mattbutts C/C++ 2 19-02-2010 13:26
CANJaguar for C++: Missing mode init messages? Abrakadabra CAN 2 14-02-2010 01:18
CANJaguar + BlackJagBridge plugin errors Shinigami2057 CAN 1 06-02-2010 11:20


All times are GMT -5. The time now is 09:35.

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