Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   CAN (http://www.chiefdelphi.com/forums/forumdisplay.php?f=185)
-   -   getSpeed() returns 0.0 (http://www.chiefdelphi.com/forums/showthread.php?t=89384)

vinnie 17-01-2011 16:49

getSpeed() returns 0.0
 
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

Re: getSpeed() returns 0.0
 
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

Re: getSpeed() returns 0.0
 
With some help I found out that I forgot to set a speedReference


All times are GMT -5. The time now is 02:50.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi