Go to Post we were sick and tired of compromises: "speed or torque", "traction or maneuverability", etc.; bump that, we want it all. all we had to compromise was simplicity. - RogerR [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 02-07-2016, 08:58 AM
rcdturtle rcdturtle is offline
rcdturtle
AKA: Dick DuCharme
FRC #3534 (House of Cards)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Davison,MI
Posts: 10
rcdturtle is an unknown quantity at this point
How do you set up the Talon SRX in position mode using the CTR absolute encoder

We are trying to use a Talon SRX unit to control the angle of our pickup - shooter system. We have a VEX gearbox driving a chain gear that will have a range of motion of about 180 degrees. The encoder is mounted after the last stage so it should report the angle of the drive gear directly. While in manual mode, we are trying to move the gear in 0.5 degree steps (about 10 native units). When we enable the robot, the gear rotates part of a revolution and stops even though we have set the encoder position to zero and issued a talon.set(0) command in RobotMap. Is there someway to know where the encoder thinks the zero postion is. We are dealing with very small numbers because the set() command units are in rotations for position control. Should we be moving the encoder back a stage so the range of motion becomes 2.5 revolutions? If we do that, will the system still know where zero is? Is there an overall set up procedure for using the Talon SRX position mode with the CTR magnetic absolute encoder?
Thanks in advance for your help
Team 3534
Reply With Quote
  #2   Spotlight this post!  
Unread 02-07-2016, 09:04 AM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: How do you set up the Talon SRX in position mode using the CTR absolute encoder

Have you looked at this yet? Starts on page 49.
http://www.ctr-electronics.com/Talon...e%20Manual.pdf
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #3   Spotlight this post!  
Unread 02-07-2016, 07:26 PM
rcdturtle rcdturtle is offline
rcdturtle
AKA: Dick DuCharme
FRC #3534 (House of Cards)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Davison,MI
Posts: 10
rcdturtle is an unknown quantity at this point
Re: How do you set up the Talon SRX in position mode using the CTR absolute encoder

Yes I have. I have looked at most of the software manual. I did pick up an example at Git Hub that shows code that reads the least significant 12 bits, sets that as the initial position and uses the relative sensor from there. If I drive to zero from there, we could establish that as the zero position for the mechanism. Does that sound right?
Do you think using very small commanded position changes will be a problem?
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 08:42 PM.

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