View Single Post
  #7   Spotlight this post!  
Unread 18-07-2004, 18:16
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: [FVG]: High-level design

Multi-threading would be cool, if we can keep them sync-ed.

In a game, here's what we do:
#Load objects, robots, fields, etc.
#check everything to make sure it's OK
#initialize
##check connection (if applicable)
##check server (if applicable)
##send robot model to other players (if applicable)
#begin pre-game
#wait for OK from players
#begin game
LOOP1 {
#Auton (if applicable)
}
LOOP2 {
#Send Pos data to AIs (if applicable)
#Get input (from players or AIs)
#Check input
#Create robot pos data (from CS)
#Send data to robots
#robots do their thing
#Get pos data from robots
#Run engine
##Physics
##Render
}

I'm also thinking that if voodoo controls are going to happen, we're going to need a radically different object model than what we currently have.
Reply With Quote