Go to Post Have no fear, ancient and brilliant coaches of yore were consulted. - JamesCH95 [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 07-03-2016, 22:27
mhaeberli mhaeberli is offline
Registered User
FRC #3045
 
Join Date: Feb 2014
Location: Redwood City
Posts: 88
mhaeberli is on a distinguished road
Talon SRX in PID Speed mode won't stop!

Hi!

We have a Talon SRX (to a CIM motor, with a quadrature encoder) - it's attached via a pullup / breakout board to the encoder.
On our test robot board (no robot, just control system), it seems to behave as expected:

using control mode kSpeed - ...

(pseudo-code):

if (button1) {
talon.Set(1000.0); //turn it on.
}

if (button2) {
talon.Set(0.0); //turn it off.
}

- the talon starts and stops when commanded.

On our real bot, though, it won't stop once started.

(we also tried putting it in voltage mode; in that case

(pseudo-code):

if (button1) {
talon.Set(1.0); //turn it on.
}

if (button2) {
talon.Set(0.0); //turn it off.
}

Which works fine.

Stumped!

Martin Haeberli
(de-)mentor, FRC 3045 Gear Gremlins (formerly SWAT)
Reply With Quote
 


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 05:23.

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