Go to Post Mentor to Student: "It's OK, if you mess it up you just get to do it again." - EStokely [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 31-01-2015, 15:56
LeadU2Fun LeadU2Fun is offline
Registered User
AKA: Sam Alexander
FRC #1290 (Wolfgang Robotics)
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Chandler, AZ
Posts: 50
LeadU2Fun is an unknown quantity at this point
FYI...RobotDrive.java broken with CAN speed controllers

The WPLib has a problem in RobotDrive where m_isCANInitialized is never updated to TRUE. Because of this the Black or Grey Jaguars are never sent the joystick values in order to update the output of the speed controllers. To fix this you can create your own RobotDriveFixed class that extends RobotDrive. In your class update the m_isCANInitialized to true. Here are some threads that have helped determine this:

http://www.chiefdelphi.com/forums/showthread.php?t=132817&highlight=m_isCANInitializ ed

http://www.chiefdelphi.com/forums/showthread.php?t=132651&highlight=m_isCANInitializ ed
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2015, 16:05
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,572
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: FYI...RobotDrive.java broken with CAN speed controllers

This was addressed in the 1-16 java plugins as described in Team Update 2015-01-16.
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2015, 16:42
LeadU2Fun LeadU2Fun is offline
Registered User
AKA: Sam Alexander
FRC #1290 (Wolfgang Robotics)
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Chandler, AZ
Posts: 50
LeadU2Fun is an unknown quantity at this point
Re: FYI...RobotDrive.java broken with CAN speed controllers

Thank you. We did hook the laptop up to internet and ran the update utility in eclipse but no updates were found for the plugins. Our school district internet is notorious for blocking downloads, sites, etc. so that may be our problem. I will take the laptop home and try the updates. I did see in the change log here:

https://wpilib.screenstepslive.com/s...ates-changelog

that the 1/16/2015 update included:

C++\Java - Added support for CAN Jaguar Sync Groups in RobotDrive
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2015, 16:58
LeadU2Fun LeadU2Fun is offline
Registered User
AKA: Sam Alexander
FRC #1290 (Wolfgang Robotics)
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Chandler, AZ
Posts: 50
LeadU2Fun is an unknown quantity at this point
Re: FYI...RobotDrive.java broken with CAN speed controllers

I found out that the person who installed the plugins did it manually. We will add the repository to check for updates and should be good.
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


All times are GMT -5. The time now is 10:52.

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