![]() |
Encoder Feedback From Jaguar
Our team has decided to plug an encoder into one of our Jaguars to regulate the speed of our shooter for more accurate results.
However, we are not getting any output from the encoder. There is potentially a hardware or software issue. Our Code: Initialization PHP Code:
PHP Code:
Any ideas? |
Re: Encoder Feedback From Jaguar
driverStation.updateLCD() needs to be called when you want the text to show up. (Every single time println is called)
|
Re: Encoder Feedback From Jaguar
Quote:
It's most likely a software issue. You have to tell the Jaguar the reference for the encoder. I haven't tried it, but you should be able to set it without going into speed control. (I have only tried it in position control mode, but after the reference is set, it works until the Jag is power cycled. That includes changing modes.) What you should try is code that is something like this: Code:
|
Re: Encoder Feedback From Jaguar
Agreed, you are missing the encoder configuration.
|
| All times are GMT -5. The time now is 22:20. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi