|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Updated CAN Jaguar Issue
Quote:
http://firstforge.wpi.edu/sf/frs/do/viewRelease/projects.wpilib/frs.wpilib_java_update_for_2011_frc.wpilib_java_fr c_2011_update_ve_1 is where the update is. Unload all of the older nbm files and load the 5 new ones. |
|
#2
|
||||
|
||||
|
Re: Updated CAN Jaguar Issue
Thanks for getting it fixed!
But now I am having a new problem.When I tried to call getSpeed(), it would constantly return 0.0. I looked in the javadoc and it said "returns speed of the motor in RPM based on the configured feedback." How do I configure it so I get a real speed value? |
|
#3
|
|||
|
|||
|
Re: Updated CAN Jaguar Issue
Quote:
A call like: Code:
myJag.setSpeedReference(CANJaguar.SpeedReference.kQuadEncoder); |
|
#4
|
||||
|
||||
|
Re: Updated CAN Jaguar Issue
Thanks, I set a position reference but I guess I forgot to set a speed reference. This is the first year that we're using CAN so we still have a lot to learn.
|
|
#5
|
||||||
|
||||||
|
Re: Updated CAN Jaguar Issue
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|