Go to Post You know you're addicted to FIRST when to you: 4's company, 5's a crowd, and 6 is someone off-sides. - Tetraman [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 04-02-2017, 23:53
charlier999's Avatar
charlier999 charlier999 is offline
Registered User
FRC #1662 (Raptor Force Engineering)
Team Role: Programmer
 
Join Date: Feb 2017
Rookie Year: 2013
Location: Lodi, CA
Posts: 18
charlier999 is an unknown quantity at this point
Help! Programing versa plantary encoder

Are team desided to put a encoder onto a versa plantary gearbox. The encoder uses the Talon SRX data cable to the talon's data port. From there, what do I program to get the data from the encoder and put it else where?
thx.
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2017, 00:00
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is offline
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,572
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: Help! Programing versa plantary encoder

I highly recommend you read the TalonSRX software reference manual it should be able to answer most of your questions.
__________________

Team 647 | Cyber Wolf Corps | Alumni | 2003-2006 | Shoemaker HS
Team 2587 | DiscoBots | Mentor | 2008-2011 | Rice University / Houston Food Bank
Team 3847 | Spectrum | Coach | 2012-20... | St Agnes Academy
LRI | Alamo Regional | 2014-20...
"Competition has been shown to be useful up to a certain point and no further, but cooperation, which is the thing we must strive for today, begins where competition leaves off." - Franklin D. Roosevelt
Reply With Quote
  #3   Spotlight this post!  
Unread 08-02-2017, 18:33
charlier999's Avatar
charlier999 charlier999 is offline
Registered User
FRC #1662 (Raptor Force Engineering)
Team Role: Programmer
 
Join Date: Feb 2017
Rookie Year: 2013
Location: Lodi, CA
Posts: 18
charlier999 is an unknown quantity at this point
Thumbs down Re: Help! Programing versa plantary encoder

I looked at the Talon SRX Software Reference Manual and ... it went way over my head. all tho it explains a bit, it is still vary confusing.

I did fail to mention the use of the encoder
The use of encoder is to record the rotation of the end of a shaft to a gear that is attached to our shooter to record the angle of the shooter to set to different settings of angle for different distances.

Also. Does the transfer cable need to attach to the Talon it is using to supply power to the motor.

Thx.
Reply With Quote
  #4   Spotlight this post!  
Unread 08-02-2017, 21:11
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,770
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Help! Programing versa plantary encoder

If you're going to use the encoder function of the Talon SRX to control motor speed, it definitely makes sense to send the encoder input that derives from the output of the controlled motor back to that particular controller.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #5   Spotlight this post!  
Unread 08-02-2017, 23:04
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 410
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Help! Programing versa plantary encoder

Quote:
Originally Posted by charlier999 View Post
Are team desided to put a encoder onto a versa plantary gearbox. The encoder uses the Talon SRX data cable to the talon's data port. From there, what do I program to get the data from the encoder and put it else where?
thx.
If the Talon data cable goes directly into the encoder board then it's a CTRE magnetic encoder. Talon software manual section 7.5.4
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2017, 00:07
BDRessler's Avatar
BDRessler BDRessler is offline
Programming Lead
FRC #1828 (BoxerBots)
Team Role: Programmer
 
Join Date: Nov 2014
Rookie Year: 2009
Location: Vail
Posts: 10
BDRessler has a spectacular aura aboutBDRessler has a spectacular aura about
Re: Help! Programing versa plantary encoder

Related question: do these encoders only work with talon srx? (we are using sparks)
Reply With Quote
  #7   Spotlight this post!  
Unread 09-02-2017, 07:36
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,770
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Help! Programing versa plantary encoder

The SPARK does not have any encdoder inputs. You will have to send the encoder data to a couple of DIO ports on the roboRIO. See this thread for answers to the next few questions.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
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 13:20.

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