View Single Post
  #3   Spotlight this post!  
Unread 18-02-2012, 16:24
cjlane1138 cjlane1138 is offline
Team 1138
FRC #1138 (Eagle Engineering)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Los Angeles
Posts: 88
cjlane1138 is an unknown quantity at this point
Re: Robot "Output Not updated often Enough" Help Please!

Quote:
Originally Posted by DjScribbles View Post
From the sounds of your post you maybe doing something naughty with your pointers, which is causing your code to crash during the constructor; when this happens the driver station will give you the "no robot code loaded" error (I think) due to the underlying WPI services no longer running.

It's likely the timeout exceeded message is erroneous, but I'm not 100% sure.

If you would like you can post or PM me your code (be sure to use CODE tags) and I can review it for you for pointer mistakes.
Code:
	
Jaguar *leftmotor;
Jaguar *rightmotor;
Jaguar *leftbackmotor;
Jaguar *rightbackmotor;

myRobot = new RobotDrive(leftmotor,leftbackmotor,rightmotor,leftbackmotor);
leftmotor = new Jaguar(1);
rightmotor = new Jaguar(2);
leftbackmotor = new Jaguar(3);
rightbackmotor = new Jaguar(4);
__________________
Eagle Engineering 1138
Reply With Quote