Go to Post There's no crying in robotics! - TubaMorg [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2016, 15:20
while1fork while1fork is offline
Registered User
FRC #1389
 
Join Date: Jul 2015
Location: Bethesda MD
Posts: 6
while1fork is an unknown quantity at this point
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2016, 09:10
sraque's Avatar
sraque sraque is offline
Registered User
AKA: Steve Raque
FRC #2614 (MARS)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2009
Location: Morgantown, WV
Posts: 79
sraque is on a distinguished road
Re: TalonSRX uses encoder when not in Voltage mode

Quote:
Originally Posted by while1fork View Post
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2016, 10:06
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 985
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:06.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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