Go to Post This may not be Battlebots but it sure isn't Pretty Pretty Princess Bots. - Andrew Schreiber [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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, 14 views)
Reply With Quote
 


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


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

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