Go to Post BTW - using any Lavery clue to figure anything out could be equally impossible. - Raul [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-03-2011, 17:43
dcribbs dcribbs is offline
Registered User
AKA: Dave Cribbs
FTC #5598 (Parish Robotics)
Team Role: Coach
 
Join Date: Mar 2009
Rookie Year: 2004
Location: Denton, TX
Posts: 35
dcribbs has a spectacular aura aboutdcribbs has a spectacular aura about
[FTC]: Starting programs in RobotC

We have had very few problems running RobotC programs through Samantha FCS. We would like to run programs straight out of RobotC without having to go through the FCS. Whenever we try the NXT always says "Waiting for start". I'm guessing that the NXT is waiting for the FCS to tell it to start. Is there a way around this in RobotC? My only thought is to have two copies of the program. One using the official FTC templates the other without, I would just prefer to not have two copies of each program to keep track of.

If there is an easy way to run offical template programs straight out of RobotC we would appreciate the help!

Thanks
__________________
Dave Cribbs
Coach & Teacher

FTC - Team 5598, 6635, 6795
FRC - Team 3626
Reply With Quote
  #2   Spotlight this post!  
Unread 18-03-2011, 20:16
l0jec l0jec is offline
Registered User
no team
 
Join Date: Oct 2009
Rookie Year: 2004
Location: St. Louis, MO
Posts: 52
l0jec has a spectacular aura aboutl0jec has a spectacular aura about
Re: [FTC]: Starting programs in RobotC

You need to use the game joystick debug window.
Select Robot, Debug Windows, Joystick Control - Game. There you have access to several radio buttons for start/stop & autonomous/tele-op just like the FCS would control.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-03-2011, 12:42
normalmutant's Avatar
normalmutant normalmutant is offline
Registered User
AKA: Nathan
FTC #3539 (Say Watt?)
Team Role: Alumni
 
Join Date: Apr 2010
Rookie Year: 2006
Location: Edison, NJ
Posts: 126
normalmutant has a spectacular aura aboutnormalmutant has a spectacular aura about
Re: [FTC]: Starting programs in RobotC

Also, the "waitforstart();" command (I may have written it wrong) in the RobotC teleop template doesn't let the program run until it gets a signal from the FCS. Comment it out of the program by putting two slashes before the command.
__________________
SAY-WATT.ORG
Reply With Quote
  #4   Spotlight this post!  
Unread 21-03-2011, 01:24
Techhexium Techhexium is offline
Registered User
FTC #3555
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: California
Posts: 122
Techhexium has a spectacular aura aboutTechhexium has a spectacular aura about
Re: [FTC]: Starting programs in RobotC

Yes, you need to use the Samantha FCS or in RobotC the Joystick - Game window, and I think you should. It gives you the values of the X and Y points of the analog sticks and which buttons are pressed in real time. It also enables real-time control of enabling or disabling programs and a program chooser so you can choose other programs to run.
Reply With Quote
Reply


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 18:54.

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