View Single Post
  #6   Spotlight this post!  
Unread 18-07-2004, 16:57
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: [FVG]: High-level design

Quote:
Originally Posted by HHSJosh
Would it be poswsible to use multithreading to allow for each of the four robots to think at once?
Theoretically. I'd really like to, however, refering to my "I don't know CS very well yet" thing: at least what I've read so far, you actually have to call a certain function which is part of CS. This function then takes control of program flow, and the only way I currently know of when it gives it back to you is when a key is pressed. There must be other ways to get it, I just don't know them yet. Using multithreading, we could always initialize the robot threads before giving CS control of the parent thread. The only thing we'd have to figure out then is how to tell CS what the updated positions are. Hopefully that's not hard...

==EDIT==
Oh, yeah. This was to make you stay our of our discussion...

jk
__________________

Reply With Quote