Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 27 and Version 28 of pps/tutorial


Ignore:
Timestamp:
Mar 8, 2012, 12:22:45 PM (10 years ago)
Author:
smerkli
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • pps/tutorial

    v27 v28  
    4040
    4141== The task ==
    42 Our goal  is to create a drone in Orxonox that, that does some kind of autonomous flying.
    43 In Orxonox we try our best to separate different kinds of functionality. You will see, that this is also the case here.
    44 In the case of the drone, we want to create, we separate the drone itself (called AutonomousDrone) from the entity that controls  the drone (called the AutonomousDroneController) and the thing that gives shape and texture to our drone (basically that is the model). Or put more crudely, the AutonomousDrone is the physical entity, the AutonomousDroneController is its intelligence and the model is it's visual representation. This is done for several reasons, the most important being, that with this kind of separation we can have multiple  controllers for just one drone, we could also have one controller for multiple types of flying objects. And the behavior of our drone is independent of how it looks like. That makes your code more generic and leads to cleaner code, less dependencies and also less code in general.
     42Our goal  is to create a drone in Orxonox that does some kind of autonomous flying.
     43In Orxonox we try our best to separate different kinds of functionality. You will see that this is also the case here.
     44In the case of the drone we want to create, we separate the drone itself (called AutonomousDrone) from the entity that controls  the drone (called the AutonomousDroneController) and the thing that gives shape and texture to our drone (basically that is the model). Or put more crudely, the AutonomousDrone is the physical entity, the AutonomousDroneController is its intelligence and the model is its visual representation. This is done for several reasons, the most important being, that with this kind of separation we can have multiple  controllers for just one drone, we could also have one controller for multiple types of flying objects. And the behavior of our drone is independent of how it looks like. That makes your code more generic and leads to cleaner code, less dependencies and also less code in general.
    4545
    4646== The AutonomousDrone ==