View Single Post
  #3   Spotlight this post!  
Unread 19-01-2015, 18:33
team-4480's Avatar
team-4480 team-4480 is offline
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 229
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Re: What is wrong with my RobotPy code?

Quote:
Originally Posted by virtuald View Post
Recommend that you use the pyfrc simulator to test your code. Your problem will be immediately apparent when you actually run it.

To use the pyfrc simulator, get pyfrc installed and just run 'robot.py sim'.

When uploading the code to the robot, to see the output from your code (which would also show your problem), specify the --nc parameter to 'robot.py deploy' and it will launch a netconsole listener, which will show the output from your code.

You might benefit from the RobotPy eclipse plugins that we just released, it makes running tests and such a lot easier.
I appreciate it(again)! I will try the pyfrc sim and --nc parameter! Thanks a bunch!