Go to Post My favorite game pieces are the kind exclusively sold through AndyMark. - Andrew_L [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-04-2015, 12:05
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 66
jfitz0807 is an unknown quantity at this point
Limiting the speed of a Talon SRX

What's the best way to limit the max speed of a Talon in closed loop position mode? We're using Talon SRXs in our drive train and trying to use them in kPosition mode to make the robot drive a specific distance. We're trying to tune a combination of the CloseLoopRampRate and our PID coefficients, but at one point, while holding a tote with a can on top, we turn right 90 degrees so we can move to the Auto Zone. We'd like to make this turn slower to minimize the risk of the can falling off the tote.

Any thoughts?

From /wpilib/wpilibC++Devices/src/CANTalon.cpp:


/**

* TODO documentation (see CANJaguar.cpp)

*/

void CANTalon::ConfigMaxOutputVoltage(double voltage)

{

/* SRX does not support max output */

wpi_setWPIErrorWithContext(IncompatibleMode, "MaxOutputVoltage not supported.");

}
  #2   Spotlight this post!  
Unread 01-04-2015, 12:48
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,026
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Limiting the speed of a Talon SRX

Quote:
Originally Posted by jfitz0807 View Post
What's the best way to limit the max speed of a Talon in closed loop position mode? We're using Talon SRXs in our drive train and trying to use them in kPosition mode to make the robot drive a specific distance.
Any thoughts?
Here are some threads you can look at while you're waiting for other responses:

http://www.chiefdelphi.com/forums/sh...d.php?t=134965

http://www.chiefdelphi.com/forums/sh...motion+profile

http://www.chiefdelphi.com/media/papers/3107


Closed Thread


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 10:04.

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