Go to Post Sometimes simplicity is the best feature you can show off. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 02-09-2009, 16:33
VEI Dude's Avatar
VEI Dude VEI Dude is offline
Mentor 4024, 4013
AKA: Neil the Real Deal
FRC #4013 (Jokers & Clockwork Mania)
Team Role: Mentor
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Orlando, FL
Posts: 54
VEI Dude has a spectacular aura aboutVEI Dude has a spectacular aura about
Starting field position?

Hi,

Reading the C/CPP Programming Guide for FRC (rev 0.5), and I see a function called "UINT32 GetLocation();" on page 79. Anyone know what position on the field corresponds to which return value (1,2,3)? And is it really supported? Or more importantly, can I expect it to be supported for the off-season competitions?

Thanks,
-Neil.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-09-2009, 17:03
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,754
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Starting field position?

It's really the team assigned driver station (1,2 or 3), not the robot starting position.
The field system doesn't know where you place your robot on the field.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 02-09-2009, 17:23
VEI Dude's Avatar
VEI Dude VEI Dude is offline
Mentor 4024, 4013
AKA: Neil the Real Deal
FRC #4013 (Jokers & Clockwork Mania)
Team Role: Mentor
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Orlando, FL
Posts: 54
VEI Dude has a spectacular aura aboutVEI Dude has a spectacular aura about
Re: Starting field position?

Mark,
Thanks, but is that a definitive answer, or what you think it should be? I ask this because it (the doc) states "Starting Field Position of the Robot (1,2, or 3)", which gather to mean one of the 3 starting positions on the field, and somewhat expected that the jscoring/control system folks would enter that info before each match.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-09-2009, 17:29
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Starting field position?

In Lunacy, the starting position on the field was not determined by the match randomization process, it was agreed upon by the alliance. Therefore, this particular function wasn't very helpful for 2009. Maybe the 2010 game will prescribe field positions, which would make it useful.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-09-2009, 17:35
VEI Dude's Avatar
VEI Dude VEI Dude is offline
Mentor 4024, 4013
AKA: Neil the Real Deal
FRC #4013 (Jokers & Clockwork Mania)
Team Role: Mentor
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Orlando, FL
Posts: 54
VEI Dude has a spectacular aura aboutVEI Dude has a spectacular aura about
Re: Starting field position?

I was hoping to use it for determining an autonomous strategy. But I guess I can put some switches on the driver's station that the pilots can set to indicate starting position. I just need to check the rules on that.

Thanks,
-Neil.
Reply With Quote
  #6   Spotlight this post!  
Unread 02-09-2009, 17:49
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Starting field position?

Beachbots wrote some cool code that effectively put a menu on the driverstation LCD for just that purpose. Before the match started, you could select an autonomous mode with the joysticks. Very Cool

I think Joe Ross would be more than happy to share - I know he published it a few places.
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
Starting Position jakey Rules/Strategy 2 08-01-2006 16:37
Starting Position Alex1072 General Forum 4 20-02-2003 00:39
Starting position? Mark Garver General Forum 4 06-01-2003 07:45
Starting Position Holly43 OCCRA 2 10-10-2001 21:46


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

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