View Single Post
  #2   Spotlight this post!  
Unread 22-02-2011, 13:15
Jimmy the Kidd's Avatar
Jimmy the Kidd Jimmy the Kidd is offline
Programmer, Scouter, Tactician, etc
FRC #0364 (Team Fusion)
Team Role: Tactician
 
Join Date: May 2010
Rookie Year: 2010
Location: Gulfport MS
Posts: 71
Jimmy the Kidd is an unknown quantity at this point
Re: Code Error (Not getting beyond the loop)

Quote:
Originally Posted by pedro123 View Post
Hi,

So we made a Project with Game Code and added our personal TeleOp code into the designated file. When we try our teleop without uploading the whole project as startup, it works.

However, when I Build the project and Run As Startup and the crio Reboots, only one part of the teleop works. We have compressor code and drive code with two motors plus the pneumatics. When we Run As Startup, our compressor turns on, reaches the limit and stops but we cant control the joystick at all. the error file says that the code is not getting the robotodrive loop. So, I made two while loop with pneumatics and compressor in one and the robotdrive in the other, however it still does not work... Can you help?

Thanks!
Could you either post the teleop.vi or give a screenshot?
__________________

The GDC needs to write the rules once and let the game be what the game is going to be. There's little that's fun about being told exactly how to play with your toys. - Madison
Reply With Quote