Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 10 and Version 11 of pps/tutorial


Ignore:
Timestamp:
Mar 8, 2010, 9:57:38 AM (15 years ago)
Author:
scheusso
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • pps/tutorial

    v10 v11  
    4141{{{
    4242#!html
    43 <p style="text-align: left; color: red">Note: Do not just copy & paste! Most commands / codelines have to be edited.</p> Otherwise you'll get tons of compiler errors ;)
     43<p style="text-align: left; color: red">Note: Do not just copy & paste! Most commands / codelines need to be edited.</p> Otherwise you'll get tons of compiler errors ;)
    4444}}}
    4545We created for you the skeleton of an autonomous drone. You can find the code in the files 'src/orxonox/worldentities/Drone.{cc|h}' and 'src/orxonox/controllers/DroneController.{cc|h}'.
     
    5858XMLPortParam(Classname, "xml-attribute-name (i.e. variablename)", setFunction, getFunction, xmlelement, mode)
    5959}}}
    60 '''Note: You need to add set- and get-functions for auxilaryThrust_ and rotationThrust_ inside the Drone.h file (have a look at {get/set}PrimaryThrust).'''
     60 '''Note: You need to add set- and get-functions for auxilaryThrust_ and rotationThrust_ inside the Drone.h file (have a look at {get/set}PrimaryThrust).'''
     61 5. now you need to add the Drone to the build system. Open the file src/orxonox/worldentities/CMakeLists.txt and add Drone.cc to the ORXONOX_SRC_FILES. This makes cmake consider the Drone.cc file for further builds.
    6162
    6263That's it for the Drone class