|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Motor controlled by Talon won't turn off
Quote:
![]() But seriously, you need to provide more detail. Maybe post your code. |
|
#2
|
||||
|
||||
|
Re: Motor controlled by Talon won't turn off
Does it still run when the robot is disabled??
|
|
#3
|
|||
|
|||
|
Re: Motor controlled by Talon won't turn off
Nope. When I run talon.get() it also returns 0.
|
|
#4
|
|||
|
|||
|
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. |
|
#5
|
||||
|
||||
|
Re: Motor controlled by Talon won't turn off
There may be other code which is turning it back on.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|