Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   TalonSRX uses encoder when not in Voltage mode (http://www.chiefdelphi.com/forums/showthread.php?t=143786)

while1fork 13-02-2016 15:20

TalonSRX uses encoder when not in Voltage mode
 
We have been trying to read an encoder connected to a TalonSRX. We have it in voltage control mode, but are trying to read the velocity from the encoder.

However, we have come across some behavior that we can't understand. When we have an encoder plugged into the talon, even when the talon is in voltage control mode, it causes the talon to make the motor jitter and move slowly. The talon works fine if I remove the encoder (without changing the code).

Why is the encoder affecting how the talon works when the code tells it not to use the encoder?

sraque 14-02-2016 09:10

Re: TalonSRX uses encoder when not in Voltage mode
 
Quote:

Originally Posted by while1fork (Post 1539713)
We have been trying to read an encoder connected to a TalonSRX. We have it in voltage control mode, but are trying to read the velocity from the encoder.

Which voltage control mode are you in? Percent VBus or Voltage Compensation?

You may have some soft limits set on this talon. They are elephants and never forget. So if someone set limits a long time ago, they may be stored in firmware. Check the web dashboard to see if that is the case.

RufflesRidge 14-02-2016 10:06

Re: TalonSRX uses encoder when not in Voltage mode
 
Check Steve's idea first. If that doesn't pan out, check how your encoder is wired, potential issues you are looking for include:
  • Intermittent short from power to ground
  • Connection to limit switch pin instead of encoder pin (if wiring direct)
  • Swarf or other short on limit switch pins (if using breakout)
  • Defective encoder causing intermittent short from power to ground.


All times are GMT -5. The time now is 07:46.

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