Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 9, 2011, 9:09:11 PM (14 years ago)
Author:
dafrick
Message:

Minor changes in documentation.

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

Legend:

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

    r8050 r8219  
    4444    {
    4545        //TODO: Place your code here:
    46         // Make sure to register the object in the factory.
    47         // Do some kind of initialisation.
     46        // Make sure to register the object and create the factory.
    4847
    4948        // This checks that our creator really is a drone
     
    7776        // - moveFrontBack, moveRightLeft, moveUpDown
    7877        // - rotatePitch, rotateYaw, rotateRoll
     78        // You will see, that the AutonomousDrone has two variants for each of these commands, one with a vector as input and one with just a float. Use the one with just the float as input.
    7979        // Apply them to myDrone (e.g. myDrone->rotateYaw(..) )
    8080
  • code/branches/tutorial/src/orxonox/worldentities/AutonomousDrone.cc

    r8050 r8219  
    8484        //TODO: Put your code in here:
    8585        // 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.
    8786        // Variables can be added by the following command
    8887        // 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       
    8990
    9091    }
  • code/branches/tutorial/src/orxonox/worldentities/AutonomousDrone.h

    r8014 r8219  
    108108                { this->primaryThrust_ = thrust; }
    109109            //TODO: Place your set-functions here.
    110             // - hint: auxiliary thrust, rotation thrust.
     110            // Hint: auxiliary thrust, rotation thrust.
    111111           
    112112            /**
Note: See TracChangeset for help on using the changeset viewer.