|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
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! |
|
#2
|
|||
|
|||
|
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! |
|
#3
|
||||
|
||||
|
Re: Talon SRX question
More data will be posted, but probably not until kickoff. We'll get it out as soon as we can.
|
|
#4
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
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!!! |
|
#6
|
||||
|
||||
|
Re: Talon SRX question
Quote:
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 |
|
#7
|
|||
|
|||
|
Re: Talon SRX question
Quote:
Quote:
|
|
#8
|
||||
|
||||
|
Re: Talon SRX question
Quote:
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. |
|
#9
|
|||
|
|||
|
Re: Talon SRX question
Quote:
Set the mode to CANSpeedController::ControlMode::kFollower Then call Set() passing the ID of the TalonSRX you want to follow. |
|
#10
|
|||
|
|||
|
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?? |
|
#11
|
||||
|
||||
|
Re: Talon SRX question
Excellent. Thanks you very much for the pointer. I'll look into this option for future use.
|
|
#12
|
|||
|
|||
|
Re: Talon SRX question
The slave simply follows the master. The slave needs no encoder.
|
|
#13
|
|||
|
|||
|
Re: Talon SRX question
Could you please elaborate on how the slave follows the master?
The slave is able to monitor all CAN messages; however, the only message I am aware of is the rate set-point command into the master talon. Does the master transmit the final motor command to the slave across CAN? Thanks! |
|
#14
|
|||
|
|||
|
Re: Talon SRX question
Quote:
|
|
#15
|
|||
|
|||
|
Re: Talon SRX question
Thank you, that makes sense.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|