Go to Post I hope to be able to say, "WOW, we put a working robot in the crate". - MrForbes [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 Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #19   Spotlight this post!  
Unread 30-03-2008, 16:38
SteveJanesch SteveJanesch is offline
hopes he has enough oomph
FRC #1533 (Triple Strange)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2006
Location: Greensboro, NC
Posts: 103
SteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to behold
Re: Suggestion to improve the alliance choosing program

Quote:
Originally Posted by Bongle View Post
Here's the summing code. I grouped things by hundreds so patterns would show up and it'd be easier to implement. m is a match object, which includes the team numbers of the red and blue alliances. m.red and m.blue are 3-element integer arrays of the alliance. If I have a big glaring bug, please point it out.
Bongle,

I'm not sure, but I think your code includes the numbers of all three teams on each alliance. If you're calculating the average team number of only of the teams you're paired with, wouldn't you want to keep your own team number out of the average? If that's the case, it'll flatten out the "who you are paired with" average with respect to your own team number. It won't change your opponent's average team number, though. I could easily be reading the code wrong. I thought what was important was the average team number of who you were paired with, which should ideally be constant versus team number, not the whole alliance, which your own team number will influence.

- Steve
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
choosing the right driver ilikecheese General Forum 6 20-02-2007 22:49
Best Alliance in the Alliance Era of FIRST Corey Balint General Forum 28 05-09-2006 20:14
Let's improve the wikipedia page about FIRST Bongle General Forum 12 03-05-2006 08:08
Choosing an Encoder for the Drive-train MikeDubreuil Electrical 11 21-10-2004 00:50
FIRST Kickoff - Choosing the Correct Motor archiver 2001 2 23-06-2002 22:16


All times are GMT -5. The time now is 09:16.

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