View Single Post
  #3   Spotlight this post!  
Unread 28-12-2011, 15:36
Greg Shaw's Avatar
Greg Shaw Greg Shaw is offline
Registered User
FRC #3601
 
Join Date: Mar 2011
Location: Webberville
Posts: 35
Greg Shaw is a jewel in the roughGreg Shaw is a jewel in the roughGreg Shaw is a jewel in the rough
Re: FTC Programming Template

We are using RobotC. Today we got the wireless to work for the first time YEAH!! Here is our problem: we have to push run on the NXT Brick AFTER the teleop starts to get it to work--obviously this will not be allowed at the competition. We need to figure out how to get the robot to automatically start during the teleop period. Our understanding is that the code needed to make this happen is:

initializeRobot();
waitForStart();

this is followed by our teleop code. It is my understanding that these 2 lines of code represent the RobotC FTC template--is this understanding correct. Wireless does work but only after we push run on the Brick during Teleop. Otherwise the robot does not move. We are not trying to conquer Autonomous at this time. We are trying to master teleop first.

Thanks in advance for any help you can sendour way.
__________________
Greg Shaw
Lead Mentor
Proud Founding Member FRC Team 3601
Reply With Quote