Changeset 8219 for code/branches/tutorial/src/orxonox/worldentities
- Timestamp:
- Apr 9, 2011, 9:09:11 PM (14 years ago)
- Location:
- code/branches/tutorial/src/orxonox/worldentities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutorial/src/orxonox/worldentities/AutonomousDrone.cc
r8050 r8219 84 84 //TODO: Put your code in here: 85 85 // Make sure you add the variables auxiliaryThrust_ and rotationThrust_ to XMLPort. 86 // Make sure that you also create the get- and set-functions. As you can see, the get- and set-functions for the variable primaryThrust_ has already been specified, so you can get your inspiration from there.87 86 // Variables can be added by the following command 88 87 // XMLPortParam(Classname, "xml-attribute-name (i.e. variablename)", setFunctionName, getFunctionName, xmlelement, mode); 88 // Also make sure that you also create the get- and set-functions in AutonomousDrone.h. As you can see, the get- and set-functions for the variable primaryThrust_ has already been specified there, so you can get your inspiration from there. 89 89 90 90 91 } -
code/branches/tutorial/src/orxonox/worldentities/AutonomousDrone.h
r8014 r8219 108 108 { this->primaryThrust_ = thrust; } 109 109 //TODO: Place your set-functions here. 110 // - hint: auxiliary thrust, rotation thrust.110 // Hint: auxiliary thrust, rotation thrust. 111 111 112 112 /**
Note: See TracChangeset
for help on using the changeset viewer.