Go to Post Even though others have had success, I will be honest, this method sort of creeps me out. - Joe Johnson [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: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.
  #2   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.
  #3   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