Go to Post Oh yes - and thanks for giving us kids our dreams. - DonRotolo [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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 26-12-2014, 13:20
phargo#1018 phargo#1018 is offline
Registered User
AKA: Peter Argo
FRC #1018 (RoboDevils)
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2009
Location: Indianapolis, IN, USA
Posts: 32
phargo#1018 will become famous soon enough
Talon SRX question

I have been looking for data on the new Talon SRX motor drive.
Probably not news, but I have located some data on the VEX website:
http://www.vexrobotics.com/217-8080.html
specifically
http://content.vexrobotics.com/vexpr...e-20141223.pdf

Despite the available datasheet, I am interested in more data about these devices.

In particular, I would like to understand what the set of CAN messages includes. From other posts, there appears to be an enable/disable, a set-point command message, and some set of parameter setup message(s).

I am also interested in more information regarding the internal control update rates through this device.

Is there more information available someplace? Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 28-12-2014, 23:43
nixiebunny nixiebunny is offline
Registered User
AKA: David Forbes
FRC #4183 (Bit Buckets)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2011
Location: Tucson
Posts: 163
nixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond reputenixiebunny has a reputation beyond repute
Re: Talon SRX question

According to the user guide, you have to read the software reference manual to get any more information. CTRE will have to provide that.

We all eagerly await this information!
__________________
--David Forbes
Mentor, Bit Buckets team 4183. Assistant cat herder and dispenser of legendary tales.
Need a Nixie watch? Yes, you do. Ask me.
Reply With Quote
  #3   Spotlight this post!  
Unread 28-12-2014, 23:59
Unsung FIRST Hero
JVN JVN is offline
@JohnVNeun
AKA: John Vielkind-Neun
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 2000
Location: Greenville, Tx
Posts: 3,159
JVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond repute
Re: Talon SRX question

More data will be posted, but probably not until kickoff. We'll get it out as soon as we can.
__________________
In the interest of full disclosure: I work for VEX Robotics a subsidiary of Innovation First International (IFI) Crown Supplier & Proud Supporter of FIRST
Reply With Quote
  #4   Spotlight this post!  
Unread 31-12-2014, 00:23
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: Talon SRX question

We have 4 CAN Talon SRXs on our current testing platform. What is it that you want to know?

Regards,

Mike
Reply With Quote
  #5   Spotlight this post!  
Unread 31-12-2014, 06:47
phargo#1018 phargo#1018 is offline
Registered User
AKA: Peter Argo
FRC #1018 (RoboDevils)
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2009
Location: Indianapolis, IN, USA
Posts: 32
phargo#1018 will become famous soon enough
Re: Talon SRX question

I am primarily interested in the local loop closure aspects of the new Talon. When using the Talon to close a motor control loop locally, what are the loop(s) that are closed?
Is the loop closure the motor rate loop, or is there a motor current loop as well?
Can you provide a list of parameters that are settable within the Talon?
Are you able to clarify the auto-disable/auto-enable features that may be associated with the new Voltage brown-out protection?
Is there a master/slave feature such that a pair of Talons can operate a pair of motors on a common gearbox?
Are you able to comment upon the device time response? I have heard that the Talon provides a 1msec output update. This sounds faster than the basic PWM command input, so I am trying to track this down. Is the update rate faster/slower when using the CAN interface?

Appreciate any answers!! Thanks!!!
Reply With Quote
  #6   Spotlight this post!  
Unread 31-12-2014, 12:33
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: Talon SRX question

Quote:
Originally Posted by phargo#1018 View Post
I am primarily interested in the local loop closure aspects of the new Talon. When using the Talon to close a motor control loop locally, what are the loop(s) that are closed?
Is the loop closure the motor rate loop, or is there a motor current loop as well?
Can you provide a list of parameters that are settable within the Talon?
Are you able to clarify the auto-disable/auto-enable features that may be associated with the new Voltage brown-out protection?
Is there a master/slave feature such that a pair of Talons can operate a pair of motors on a common gearbox?
Are you able to comment upon the device time response? I have heard that the Talon provides a 1msec output update. This sounds faster than the basic PWM command input, so I am trying to track this down. Is the update rate faster/slower when using the CAN interface?

Appreciate any answers!! Thanks!!!
Hmm... OK, let me see what I can answer... The Talon SRX is meant to provide all of the services from the CANJaguar class in WPILib. Therefore, you can close the loop on speed, current, position, voltage, etc. given the correct sensors. The parameters are similar to the CANJaguar class as well.

The brown-out protection will take you down to about 5-6V before the Talon resets. The motors will be dead likely before that happens.

In PWM mode, the talons can be tied to the same PWM output to slave them together. However, I don't see anything in the API that allows you to do that in CAN mode. We've simply been sending the same command to the different Talons via CAN. We haven't been able to detect much of a lag if any.

The update rate on the Talon SRX is indeed roughly 1ms. The bus is running at 1 Mbps which does make it faster than the PWM. However, your driver station is still running at 50ms refresh rate. So, in a totally closed loop mode, expect ~ 1ms response times. If you're taking commands from a DS, then the update rate is slaved to the refresh on the DS.

The docs on the Talon SRX API are still sketchy. Lots of things defined that the details are still a work-in-progress as far as the docs go. And, even the beta teams won't be able to see the implementation until after kick-off. Of course, I can only speak to the C++/Java WPILib implementation. What happens in LabView should be similar, but I can't say definitively.

HTH
Reply With Quote
  #7   Spotlight this post!  
Unread 31-12-2014, 13:00
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 987
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: Talon SRX question

Quote:
Originally Posted by taichichuan View Post
The brown-out protection will take you down to about 5-6V before the Talon resets. The motors will be dead likely before that happens.,
The CANTalons will be sent an explicit disable at 6.8V per the Beta documentation.

Quote:
However, I don't see anything in the API that allows you to do that in CAN mode.
This exists. It's called "Follower" mode in C++/Java.
Reply With Quote
  #8   Spotlight this post!  
Unread 31-12-2014, 14:26
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: Talon SRX question

Quote:
Originally Posted by RufflesRidge View Post
The CANTalons will be sent an explicit disable at 6.8V per the Beta documentation.


This exists. It's called "Follower" mode in C++/Java.
Experimentally, we've seen a bit lower than that. However, you're best to stay with the docs and remember that YMMV.

Hmm... I don't find any reference to follower mode in any of the beta CAN documentation. Can you provide an API name so I can find this?

TIA.
Reply With Quote
  #9   Spotlight this post!  
Unread 31-12-2014, 14:41
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 987
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: Talon SRX question

Quote:
Originally Posted by taichichuan View Post
Hmm... I don't find any reference to follower mode in any of the beta CAN documentation. Can you provide an API name so I can find this?

TIA.
As you mentioned, docs are a bit sparse at the moment.

Set the mode to CANSpeedController::ControlMode::kFollower
Then call Set() passing the ID of the TalonSRX you want to follow.
Reply With Quote
  #10   Spotlight this post!  
Unread 31-12-2014, 16:06
phargo#1018 phargo#1018 is offline
Registered User
AKA: Peter Argo
FRC #1018 (RoboDevils)
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2009
Location: Indianapolis, IN, USA
Posts: 32
phargo#1018 will become famous soon enough
Re: Talon SRX question

Last year, we used two CIMs on a toughbox with a single encoder. the CIMs were driven by Jaguars, where the Jaguar PWM inputs were wyed between the digital sidecar and the Jaguars; motor rate loops closed in the cRio.

If we were to attempt to have local loops inteh Talon SRX, the encoder would connect to one Talon and that Talon would close (I am assuming) the rate loop about one CIM.

With the second Talon in follower mode, would the first Talon relay the Voltage command set-point to the second Talon? Or does this require dual encoders on the gearbox??
Reply With Quote
  #11   Spotlight this post!  
Unread 01-01-2015, 14:58
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Talon SRX question

Quote:
Originally Posted by phargo#1018 View Post
With the second Talon in follower mode, would the first Talon relay the Voltage command set-point to the second Talon? Or does this require dual encoders on the gearbox??
The slave simply follows the master. The slave needs no encoder.
Reply With Quote
  #12   Spotlight this post!  
Unread 31-12-2014, 16:22
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: Talon SRX question

Quote:
Originally Posted by RufflesRidge View Post
As you mentioned, docs are a bit sparse at the moment.

Set the mode to CANSpeedController::ControlMode::kFollower
Then call Set() passing the ID of the TalonSRX you want to follow.
Excellent. Thanks you very much for the pointer. I'll look into this option for future use.
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 03:41.

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