|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||||
|
||||||
|
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.
|
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|