|
problem with passing doubles back into the "TeleOp Execute" loop
We are currently having problems with passing doubles back into the "TeleOp Execute" loop. We have traction control calculating an error based on the slip ratio as the process variable and the set point of 0 slip ratio.
We are able to read the PID values from within the traction control loops, however when these values are passed into the "TeleOp Execute" loop, the robot isnt able to get out of disable mode. When we delete the PID values being passed into the "TeleOp Execute" loop, the code runs fine, however we can't add the PID values to the drivers joystick command to do the traction control.
We have tried the highlight execution feature and the interesting thing is that no bubbles follow along the path from the traction control loop to the TeleOp Execute loop.
Any suggestions? I attached a pdf of the main code for our bot to show the problem.
|