Go to Post How about we make parts in America that are so amazing that everyone will want to buy them. - rsisk [more]
Home
Go Back   Chief Delphi > Technical > Motors
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 04-02-2014, 13:17
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Motor controlled by Talon won't turn off

Does it still run when the robot is disabled??
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
  #2   Spotlight this post!  
Unread 04-02-2014, 13:20
muaddib42 muaddib42 is offline
Registered User
FRC #3128
 
Join Date: Jan 2013
Location: United States
Posts: 9
muaddib42 is an unknown quantity at this point
Re: Motor controlled by Talon won't turn off

Nope. When I run talon.get() it also returns 0.
  #3   Spotlight this post!  
Unread 04-02-2014, 13:21
muaddib42 muaddib42 is offline
Registered User
FRC #3128
 
Join Date: Jan 2013
Location: United States
Posts: 9
muaddib42 is an unknown quantity at this point
Re: Motor controlled by Talon won't turn off

The relevant block of code is here:

public void stopSpeedControl() {
DebugLog.log(DebugLog.LVL_DEBUG, this, "Talon GET: "+this.talon.get());
this.talon.set(0);
this.spdControl.cancelEvent();
this.spdControlEnabled = false;
}

I have confirmed that it has entered this block of code.

Last edited by muaddib42 : 04-02-2014 at 13:23. Reason: Adding more information.
  #4   Spotlight this post!  
Unread 04-02-2014, 13:24
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
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: Motor controlled by Talon won't turn off

Quote:
Originally Posted by muaddib42 View Post
The relevant block of code is here
There may be other code which is turning it back on.


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

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