Go to Post In conclusion, we can say, with reasonable certainty, that we know nothing. - Max Lobovsky [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 13-11-2010, 04:47
NalaTI NalaTI is offline
Registered User
AKA: Alan
FTC #2848 (Techno Guards)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2005
Location: California
Posts: 106
NalaTI is just really niceNalaTI is just really niceNalaTI is just really niceNalaTI is just really nice
Re: [FTC]: FCS and autonomous

Quote:
Originally Posted by ssi View Post
You are getting closer..

The program chooser application asks you to select your autonomous program. It then creates a text file on the NXT with that program name.
<snip>
Really, it is exactly the same as in previous years.
Actually, you use the program chooser application to select the teleop... which is put into the file on the NXT...

But, yes, it is the same as previous years.
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 13-11-2010, 05:27
ssi ssi is offline
Registered User
AKA: David Spangler
FTC #2843 (Under the Son)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Hollywood, MD
Posts: 34
ssi will become famous soon enough
Re: [FTC]: FCS and autonomous

NalaTI, thanks for the correction. Thats what I get for typing in a hurry when I should be loading robots in the trailer for a demonstration the next day.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-11-2010, 13:50
tdressel tdressel is offline
Registered User
FRC #1111
 
Join Date: Feb 2008
Location: Edgewater
Posts: 50
tdressel is an unknown quantity at this point
Re: [FTC]: FCS and autonomous

I'm new to FTC and I'm looking for a clear cut set of steps or sequence in regards to autonomous. I'd like to list out what "I THINK" would happen in a competition and if you would, let me know where I'm offbase.

SETUP:
1. Prior to a competition, for simplicity, I have a single Autonoums (AutoX) program and a single Tele program (TeleX). Our NXT will have firmware v1.28 on it with three programs: Program_Chooser, AutoX and TeleX. We have two other VI's (Samostat.vi & Comm_Status.vi) as well but there are not part of the question I have. Lastly, we have a team.gif file to indicate our team logo.

2. Also, prior to a competition, we've setup our Samantha unit to be using the same wireless network as the FCS comptuer mentioned below. Life is good in regards to the Samantha unit.

3. Using Program_Chooser, we select TeleX for our teleoperated program

4. FCS: There is a single computer with four game controllers and it's running FCS. That computer is either directly wired to a router or uses wireless for connecting to the same network. We are just one team of four. The person running the competition correctly assigns the four teams via selecting the corresponding Samantha unit (I assume each team will run SamoStat.vi on the NXT to tell the person our IP address).

5. Our robot is put in place on the competition mat.

6. NOW... this is my question... do I instruct our student to select (on the NXT itself) the AutoX program for our autonomous and hit the orange button to run it? Theoretically, our robot is all setup in regards to the FCS.

My problem is that I don't know how to select a program to run as autonomous without selecting it on the NXT itself. When I do that - it runs (okay, that's expected). But at competition, how is it that I select the autonoumous and yet the FCS kicks it off?

My vision is that there are four team's all with their autonomous program selected and at the count of three - they all press the button on their NXT at the same time. But... I'm thinking that's wrong and that "SOMETHING" on the FCS program will kick off the autonomous program.

Comments/suggestions on how to test this out?


-Ted Dressel, FTC Programming Mentor
__________________
Ted Dressel, Mentor, Team 1111
Reply With Quote
  #4   Spotlight this post!  
Unread 15-11-2010, 14:05
ssi ssi is offline
Registered User
AKA: David Spangler
FTC #2843 (Under the Son)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Hollywood, MD
Posts: 34
ssi will become famous soon enough
Re: [FTC]: FCS and autonomous

So far you have a pretty good handle on this. A couple clarifications...

In Step 4, the computer will have 8 game controllers (2 per team) and the computer is supposed to be wired directly to the router. Also, all the FCS operator needs is your team number, it will then be able to determine the IP address and initiate the connection.

In Step 6, yes your students start execution on the NXT of the autonomous program. The program will run waiting for a packet from the FCS to tell them that they are enabled. When the FCS starts the match, it will send a packet to all the robots enabling the autonomous routines (ie they will exit their wait loop). At the end of autonomous, the FCS will halt the autonomous routine and start the Teleop. The Teleop routine will sit in its wait loop until the FCS sends the enable packet at the begining of the Teleop phase of the match. All throughout the match, the FCS will be sending packets with all the joystick commands.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-11-2010, 16:01
pbesen pbesen is offline
Registered User
FTC #3167
 
Join Date: Nov 2010
Location: massachusetts
Posts: 5
pbesen is an unknown quantity at this point
Re: [FTC]: FCS and autonomous

Ted,

One other item that may have been missed. Your autonomous program needs to integrated into the autonomous template that is provided (which you can find under sample programs (robotc). You will see that this template has a "wait for start" function.

When you start your autonomous program it will wait at this function until the FCS system starts all the programs.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: some FCS questions johncap100 FIRST Tech Challenge 5 08-11-2010 11:40
[FTC]: Autonomous? JohnFogarty FIRST Tech Challenge 32 12-03-2010 23:07
[FTC]: Gamepad won't setup on FCS Bluedog24 FIRST Tech Challenge 10 13-02-2010 18:09
[FTC]: Autonomous saaby FIRST Tech Challenge 8 19-02-2009 12:45
[FTC]: FTC Controller Station Connectivity (Bluetooth and USB) Issue jbbjjbt FIRST Tech Challenge 6 05-11-2008 11:49


All times are GMT -5. The time now is 13:01.

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