|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Running networking code while robot is disabled
For before the match not after. The code will definitely run Disabled() while Disabled before the match.
|
|
#2
|
||||
|
||||
|
Re: Running networking code while robot is disabled
Quote:
I would just be terrified because if there was an error with the disabled loop you could brick the match! (Paranoia, after having bricked matches in the past.) |
|
#3
|
|||
|
|||
|
Re: Running networking code while robot is disabled
Story? I'd like to hear more about this since I'm very interested in the inner workings of the FMS, and how you bricked it.
|
|
#4
|
||||
|
||||
|
Re: Running networking code while robot is disabled
I wasn't on the drive team the year it happened, but I think there was an issue with our loop statements for teleop/auto. Basically autonomous mode worked and then teleop never began for our robot.
That happened for two matches and we worked the magic of deploying different, but still final, code and it started working. I think the FMS does its best to force your robot to change modes, but sometimes it can't if you did something bad enough? I honestly don't know xD |
|
#5
|
|||
|
|||
|
Re: Running networking code while robot is disabled
Please, don't spread FUD if you don't know something. If you use the Sample Template and you don't properly exit your loop in any mode your code can be stuck in that mode. However, this is not field specific behavior, you will see the same thing in your shop if you have this problem. Especially if you use the practice match feature of the DS.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|