|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#7
|
|||
|
|||
|
Re: When Switching between Enable and Disable mode Talon SRX stop working
The problem was fixed by our team.
It is not the code, it is not the talons, its the User error. When you previously ran the robot, you probably hit the DISABLE button while the motors were still running. That made the MotorSafety shut down the motors until the enabled function is activated. You can still make a fail prevent in your code. For example, if the autonomous is working, and the ref shuts it off while it is driving, the error will occur in TeleOP. What you can do is enable all of your Talons with a button example would be: if(stick.GetRawButton1) {frontLeft.EnableControl(), frontRight.EnableControl(), backLeft.EnableControl(), backRight.EnableControl() } (I dont remember the exact syntax) You would add that to your TeleOP code. But overall, dont disable the robot while the drive motors are running. Last edited by Justie : 02-13-2015 at 09:28 PM. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|