|
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"
|