View Single Post
  #1   Spotlight this post!  
Unread 20-03-2009, 23:58
windell747 windell747 is offline
Registered User
FRC #2477
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2001
Location: Hawaii
Posts: 158
windell747 will become famous soon enoughwindell747 will become famous soon enough
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.
Attached Files
File Type: pdf traction_control.pdf (134.6 KB, 38 views)
Reply With Quote