Changeset 8050 for code/branches/tutorial
- Timestamp:
- Mar 9, 2011, 11:18:06 AM (14 years ago)
- Location:
- code/branches/tutorial/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutorial/src/orxonox/controllers/AutonomousDroneController.cc
r8014 r8050 74 74 //TODO: Place your code here: 75 75 // Steering commands 76 // You can use the following commands for steering76 // You can use the commands provided by the AutonomousDrone to steer it: 77 77 // - moveFrontBack, moveRightLeft, moveUpDown 78 78 // - rotatePitch, rotateYaw, rotateRoll 79 // Apply the to myDrone (e.g. myDrone->rotateYaw(..) )79 // Apply them to myDrone (e.g. myDrone->rotateYaw(..) ) 80 80 81 81 } -
code/branches/tutorial/src/orxonox/worldentities/AutonomousDrone.cc
r8014 r8050 86 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 87 // Variables can be added by the following command 88 // XMLPortParam(Classname, "xml-attribute-name (i.e. variablename)", setFunction , getFunction, xmlelement, mode);88 // XMLPortParam(Classname, "xml-attribute-name (i.e. variablename)", setFunctionName, getFunctionName, xmlelement, mode); 89 89 90 90 }
Note: See TracChangeset
for help on using the changeset viewer.