Go to Post The Questions is, do we attempt to build a Mr.Fusion, or do we go for the Plutonium from the Libyans? - dag0620 [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-01-2014, 12:37
alexrcoleman alexrcoleman is offline
Registered User
FTC #0061
 
Join Date: Jan 2014
Location: United States
Posts: 2
alexrcoleman is an unknown quantity at this point
[FTC]: Detecting Alliance Color

Hey, this is Team 61 O-Zone. I noticed that the JoystickDriver.c file contained a commented out line
Code:
// joystickCopy.TeamColor = false;
in the section of the code where the default values for the joystick are set. This made me curious if it was in fact possible to detect the TeamColor through the joystick. I also noted that when the tempBuffer values are read and converted into the fields for the joystick, the first one used is
Code:
joystickCopy.UserMode           = tempBuffer[1];
This is interesting because arrays start with element 0, so what does tempBuffer[0] contain? Is it the team color flag? If so, why is it not implemented?
Thanks!

Note: When I say team/alliance color, I'm talking about whether the robot is set up in Samantha to be Red or Blue.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2014, 17:24
maths222 maths222 is offline
FTC FTA
AKA: Jacob Burroughs
no team
 
Join Date: Nov 2011
Rookie Year: 2010
Location: United States
Posts: 148
maths222 is a splendid one to beholdmaths222 is a splendid one to beholdmaths222 is a splendid one to beholdmaths222 is a splendid one to beholdmaths222 is a splendid one to beholdmaths222 is a splendid one to beholdmaths222 is a splendid one to behold
Re: [FTC]: Detecting Alliance Color

I asked the robotc devs about this earlier, and they said that "It's no longer used and should be a zero at all times."
__________________
--Jacob
Illinois FTC FTA
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2014, 17:27
alexrcoleman alexrcoleman is offline
Registered User
FTC #0061
 
Join Date: Jan 2014
Location: United States
Posts: 2
alexrcoleman is an unknown quantity at this point
Re: [FTC]: Detecting Alliance Color

Quote:
Originally Posted by maths222 View Post
I asked the robotc devs about this earlier, and they said that "It's no longer used and should be a zero at all times."
Ah, that's a shame, seemed like there could be a lot of potential from it; for one, wouldn't have to make the driver pick which alliance we were I wonder why they removed it though, seems kind of random. Well anyways, thanks for the info!
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:22.

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