Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FIRST Tech Challenge (http://www.chiefdelphi.com/forums/forumdisplay.php?f=146)
-   -   [FTC]: Control at Compititions (http://www.chiefdelphi.com/forums/showthread.php?t=70003)

Connor 12-11-2008 14:31

[FTC]: Control at Compititions
 
with the blutooth for our robots this year do we bring our own laptops or will we be issued a compitition laptop at the compitition???

jbbjjbt 12-11-2008 15:04

Re: [FTC]: Control at Compititions
 
There will be one laptop at the field which will control all four robots at one time. Make sure your programs work correctly with the FTC Controller Station software in all the modes (autonomous, teleoperated, enabled, disabled) and then theoretically it will work with the Field Management system.

You will probably need your own laptop for the practice field.

ttldomination 12-11-2008 18:15

Re: [FTC]: Control at Compititions
 
hehehe,

30-something laptops for teams at competition. :D I wouldn't want to handle that. :D.

gdo 13-11-2008 06:30

Re: [FTC]: Control at Compititions
 
Thats how we ran the scrimage I was at, each team with their own laptops, lets just say "connection issues" happened a lot ;)

jbbjjbt 13-11-2008 08:52

Re: [FTC]: Control at Compititions
 
Quote:

Originally Posted by jbbjjbt (Post 775132)
There will be one laptop at the field which will control all four robots at one time. Make sure your programs work correctly with the FTC Controller Station software in all the modes (autonomous, teleoperated, enabled, disabled) and then theoretically it will work with the Field Management system.

You will probably need your own laptop for the practice field.

My basis is the Delaware "scrimmage" which had First officials including Ken Johnson and the developer of the field management system.

gdo 13-11-2008 14:33

Re: [FTC]: Control at Compititions
 
At Connecticut we were not so lucky, we had peoples personal computers running the event. It was 'interesting' to say the least ;).

It ran fine, but in the morning a lot of issues arose, but they were solved quickly after the first 3 or 4 rounds.

billw 18-11-2008 12:23

Re: [FTC]: Control at Compititions
 
Quote:

Originally Posted by jbbjjbt (Post 775132)
There will be one laptop at the field which will control all four robots at one time. Make sure your programs work correctly with the FTC Controller Station software in all the modes (autonomous, teleoperated, enabled, disabled) and then theoretically it will work with the Field Management system.


Perhaps this is explained somewhere, and I have missed it (very likely). If so, please just redirect me to the appropriate source.

Questions:

1. Is the "FTC Controller Station software" different than the "Field Management System?"

2. Are one or both of these available for in-house testing?

3. The RobotC template says that it is a "dual-mode" program and that separate versions should be used for autonomous and teleop modes. I understand the logic within the template, but I am unclear as to how to the switch between modes will occur. Are we building to separate executables that will be loaded in turn? If so, is this a manual process? Or is there an automated mechanism (using predefined file names?) that will handle this?

Thanks for any help.

--Bill Wiley
Coach, Acme Robotics FTC #12-15

Connor 18-11-2008 14:39

Re: [FTC]: Control at Compititions
 
Thanks for the info it will be helpful:]

ttldomination 18-11-2008 18:41

Re: [FTC]: Control at Compititions
 
Quote:

Originally Posted by billw (Post 776043)
Perhaps this is explained somewhere, and I have missed it (very likely). If so, please just redirect me to the appropriate source.

Questions:

1. Is the "FTC Controller Station software" different than the "Field Management System?"

2. Are one or both of these available for in-house testing?

3. The RobotC template says that it is a "dual-mode" program and that separate versions should be used for autonomous and teleop modes. I understand the logic within the template, but I am unclear as to how to the switch between modes will occur. Are we building to separate executables that will be loaded in turn? If so, is this a manual process? Or is there an automated mechanism (using predefined file names?) that will handle this?

Thanks for any help.

--Bill Wiley
Coach, Acme Robotics FTC #12-15

I am about 95% sure about my answers. If you know I am wrong, please feel free to correct me.

1. The Control Station software is the software that your team/members will write. That is the code that tells the joysticks and the buttons what to do. The field management simply switches the robots between disabled, autonomous, and teleop periods. To make sure that this is done simultaneously to all 4 robots on the field, a field management system is used.

2. The field management system simply switches between autonomous and teleop codes, it does not alter them in any way. Thus, there really is no need for the field management system to be released to the public. Teams can switch between the modes manually.

3. Generally, at the electronic table, there is an interface where the people at the table manually start teleop and auto for all 4 robots simultaneously. If you've ever watched any of the match videos you will notice the announcer counting down, that is to help the people at the table to switch into different modes at the proper time.

If you simply write the code you are using into the place provided inside the template, you will be fine. If you change any of the template layout, the field system might not communicate with your system properly and thus that may cause major problems come time for competition.

Hope this helped and I hope I was right about how almost all of it worked. ;D.

billw 19-11-2008 02:21

Re: [FTC]: Control at Compititions
 
Thanks for the answers, but I am still unsure as to how the switch is from autonomous to teleop is accomplished at the software level. In RobotC, the template provided is just a simple "main" routine. It has a looped call to the joystick logic which can provide a stop/start flag, which we are then to use to shut down all motors.

The comments say to duplicate the template for autonomous and teleop. This will result in two main procedures, which leads me to believe that there will be two executables that will need to be loaded into the NXT. I am guessing that the field management software has some means of running one or the other.

Thanks for any additional clarification.

--Bill Wiley

jbbjjbt 19-11-2008 07:47

Re: [FTC]: Control at Compititions
 
Quote:

Originally Posted by billw (Post 776043)
Perhaps this is explained somewhere, and I have missed it (very likely). If so, please just redirect me to the appropriate source.

Questions:

1. Is the "FTC Controller Station software" different than the "Field Management System?"

2. Are one or both of these available for in-house testing?

3. The RobotC template says that it is a "dual-mode" program and that separate versions should be used for autonomous and teleop modes. I understand the logic within the template, but I am unclear as to how to the switch between modes will occur. Are we building to separate executables that will be loaded in turn? If so, is this a manual process? Or is there an automated mechanism (using predefined file names?) that will handle this?

Thanks for any help.

--Bill Wiley
Coach, Acme Robotics FTC #12-15

1. FTC Controller Station comes on the CD with LabView and NXTG that all FTC Teams were given. You have it. FTC Controller station is what you use to practice with. It emulates the Field Management System that will be used at the tournament. FTC Controller station will only control one robot. FTC Controller Station will enable or disable your robot.
On the NXT run your autonomous program. Enable it using FTC Controller Station and it should run. Then switch to teleoperated and enable it on FTC Controller Station and your teleoperated program should run. Check to see that both programs stop if they are disabled.

2. The Field Management System will be used at the tournament and control eight robots at one time. It will enable all eight autonomous programs at one time and switch to and enable all eight teleoperated programs at one time.

3. Create two programs. Run FTC Controller station and connect to your NXT. The program Program Chooser will now be on your NXT. Run Program Chooser. Pick the two programs option and then pick your teleoperated program using the right arrow key. Start your autonomous program. FTC Controller STation or the Field Management System will tell your teleoperated program to start.

This all works for programs created in LabView, NXTG or RobotC.

There are videos on ftctraining.com that sort of explain part of this.

jbbjjbt 19-11-2008 08:24

Re: [FTC]: Control at Compititions
 
One further note. FTC Controller Station is a LabView program. Therefore you will have to install Labview to run it. This was about a 2 hour process for me. (It may also install and be able to run if you install only NXTg, I'm not sure.)

billw 19-11-2008 11:56

Re: [FTC]: Control at Compititions
 
Ok, that is the info I was seeking. Thanks.

I will check the disks that came with our kits. I was under the impression that they were obsolete before they even arrived and have never looked at them.

Too bad that a Lab View install is required. Anything that takes two hours to load means tons of registry changes and slower, more bloated, computer as a result. I rue the day MS went to the registry model.

--Bill Wiley

Joe Ross 19-11-2008 12:33

Re: [FTC]: Control at Compititions
 
Quote:

Originally Posted by billw (Post 776226)
Too bad that a Lab View install is required. Anything that takes two hours to load means tons of registry changes and slower, more bloated, computer as a result. I rue the day MS went to the registry model.

--Bill Wiley

A lot of the LabVIEW slow installation performance is due to slow DVD drives and virus scanners that scan every single file on access. I installed LabVIEW in 1/4 the normal time by copying the data from DVD to hard drive first, and disabling the on access virus scanning while installing.

I think your assumption that slow installation means a lot of registry changes is specious.

Roboj 19-11-2008 15:34

Re: [FTC]: Control at Compititions
 
Quote:

Originally Posted by jbbjjbt (Post 776199)
One further note. FTC Controller Station is a LabView program. Therefore you will have to install Labview to run it. This was about a 2 hour process for me. (It may also install and be able to run if you install only NXTg, I'm not sure.)

The controller station will be put on your machine if you install EITHER NXT-G or LabVIEW. You don't have to install both.

emmell 19-11-2008 15:44

Re: [FTC]: Control at Compititions
 
If you can't find the FTC Controller Station software look in this folder (assuming default installation). C:\Program Files\LEGO Software\LEGO MINDSTORMS Edu NXT\examples\FTC Toolkit\FTC Controller Station\FTC Controller Station.exe. It is also located in C:\Program Files\National Instruments\LabVIEW 8.5\examples\FTC Toolkit\FTC Controller Station\FTC Controller Station.exe. You should probably just right-click on either one of those and "Send To Desktop (create shortcut)" to make it easier to launch.

billw 20-11-2008 13:52

Re: [FTC]: Control at Compititions
 
Quote:

Originally Posted by Joe Ross (Post 776232)
I think your assumption that slow installation means a lot of registry changes is specious.

While not the only reason for slow installations, I have found that many programs with slow installs load extensive libraries (whether required or not), many of which require extensive registry changes.

A program that requires 30 minutes to load from disk (with viral software disabled) is indicative to me of a bloated program--registry changes or not. It is just a development environment, after all.

I do not recall the install time for RobotC, but I belive that it was less than 5 minutes.

billw 20-11-2008 13:54

Re: [FTC]: Control at Compititions
 
Quote:

Originally Posted by emmell (Post 776303)
If you can't find the FTC Controller Station software look in this folder (assuming default installation). C:\Program Files\LEGO Software\LEGO MINDSTORMS Edu NXT\examples\FTC Toolkit\FTC Controller Station\FTC Controller Station.exe. It is also located in C:\Program Files\National Instruments\LabVIEW 8.5\examples\FTC Toolkit\FTC Controller Station\FTC Controller Station.exe. You should probably just right-click on either one of those and "Send To Desktop (create shortcut)" to make it easier to launch.

Thanks, I eventually found the video that described this on the RobotC web site.

dgbatths 26-11-2008 17:41

Re: [FTC]: Control at Compititions
 
Since the packet from the PC or FMS indicates whether it is autonomous or tele-op mode, do you really need two programs? Wouldn't it be simpler to have one program and eliminate the need to use the program chooser?

Roboj 27-11-2008 00:29

Re: [FTC]: Control at Compititions
 
Quote:

Originally Posted by dgbatths (Post 777687)
Since the packet from the PC or FMS indicates whether it is autonomous or tele-op mode, do you really need two programs? Wouldn't it be simpler to have one program and eliminate the need to use the program chooser?

It's possible to write a program this way but you'll find that you then have just enough flexibility to allow you to unintentionally mess up your match. For example, if you write your autonomous code to do something that takes longer than the autonomous period lasts, you might not be able to control your robot when teleop starts. By splitting it into two programs, the field management system can unconditionally stop your autonomous code, even if it's gone astray.

Monty Python 27-11-2008 00:53

Re: [FTC]: Control at Compititions
 
No, you can incude "tags" that allows the fms to switch between driver controlled and autonomous code seamlessly (at least you can in RobotC- not sure about labview).


All times are GMT -5. The time now is 08:11.

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