Go to Post The magic in a competition isn't finding creative ways to make an opponent lose, but finding even more creative ways for you to win. - galewind [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 10 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #6   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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi