View Single Post
  #5   Spotlight this post!  
Unread 30-12-2013, 18:43
Kyle Chan's Avatar
Kyle Chan Kyle Chan is offline
Registered User
FRC #0368 (Kika Mana)
Team Role: Programmer
 
Join Date: May 2013
Rookie Year: 2012
Location: Honolulu
Posts: 7
Kyle Chan is an unknown quantity at this point
Re: Passing Parameters with Command-Based Robot Structure

Update: We got the autonomous up and running. Had to use a "this" pointer and make it equal to a variable of with a different name from the parameter. In our code we used power, leftdistance, and rightdistance parameters/local variables. Format: "this->localvariable = parameter"
Attached Files
File Type: zip Paikman.zip (3.02 MB, 13 views)
Reply With Quote