|
Teleop transition issues, Labview
Team 2062 is having a problem where after hybrid period executes then the first frame of teleop executes but then the code gets hung up and does not continue. We had 2 NI CSA's look at our code and they could not find anything or help us. After the matches we talked to the FTA who said that the robot was communicating throughout the match but the robot received the signal from the FMS to turn to teleop but this did not reflect in our code (see log file attached). We put in some debugging to see where the robot got hung up and the code would work randomly half of the time. We serialized the code to prevent a race condition which the CSA said could be the problem but that did not fix the problem. The diagnostic lights on the jaguars using CAN are solid orange (good signal, neutral speed) and the diagnostic lights on the jaguars using PWM are slow falshing orange (bad PWM signal). We changed our program to send a message to the driver station each iteration of the teleop program and this verified that we go through only one frame of teleop.
|