Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 9, 2011, 11:18:06 AM (14 years ago)
Author:
dafrick
Message:

Adding some documentation.

Location:
code/branches/tutorial/src/orxonox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tutorial/src/orxonox/controllers/AutonomousDroneController.cc

    r8014 r8050  
    7474        //TODO: Place your code here:
    7575        // Steering commands
    76         // You can use the following commands for steering
     76        // You can use the commands provided by the AutonomousDrone to steer it:
    7777        // - moveFrontBack, moveRightLeft, moveUpDown
    7878        // - rotatePitch, rotateYaw, rotateRoll
    79         // Apply the to myDrone (e.g. myDrone->rotateYaw(..) )
     79        // Apply them to myDrone (e.g. myDrone->rotateYaw(..) )
    8080
    8181    }
  • code/branches/tutorial/src/orxonox/worldentities/AutonomousDrone.cc

    r8014 r8050  
    8686        // 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.
    8787        // 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);
    8989
    9090    }
Note: See TracChangeset for help on using the changeset viewer.