Log in

View Full Version : getSpeed() returns 0.0


vinnie
17-01-2011, 16:49
Hi, we are using Java and were able to get can working, however a call to getSpeed() always returns to 0.0 . I noticed that it said returns the speed based on the feedback configurations, but how do I set this configuration?

kamocat
17-01-2011, 22:39
You need to set the encoder lines and the encoder reference. You may also need to enable the Jaguar.

What mode are you in?

vinnie
17-01-2011, 23:02
With some help I found out that I forgot to set a speedReference