|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
|||
|
|||
|
Re: disabledInit()
Quote:
There is no difference between AutoDisabled and TeleopDisabled from the programming perspective. There are the same state. While that is the text that is displayed in the driversation, in the codebase they are represented by the same two functions. DisabledInit() and DisabledPeriodic(). The Robot will go into disable mode when going from autonomous to teleop or anytime the robot is disabled. Each time this happens, disabledInit() will run once, and then DisabledPeriodic() will run 50 times a second. For further information. When the robot is first turned on it will first run RobotInit(), then DisabledInit(), then disabledPerioid(). Each time auto or teleop mode is entered, their corresponding init and periodic functions are called in the same manner as the disabled ones. Hope this helps, Kevin Last edited by NotInControl : 14-03-2014 at 16:31. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|