100 | | Add the calls for the two variables ''auxiliaryThrust_'' and ''rotationThrust_''. As you can see, the XMLPort function for the variable ''primaryThurst_'' has already been specified. Now add the calls for the other two variables accordingly, you can compare your function calls to the call for ''primaryThrust_'' to get a feel for, whether what you have been doing could be correct or not. |
| 100 | The AutonomousDrone has two variables called ''auxiliaryThrust_'' and ''rotationThrust_'' defined in the header file (''src/orxonox/worldentities/AutonomousDrone.h''). To be able to set these variables to values from XML, we need |
| 101 | to add some code to the XMLPort function. There is already an example for the ''primaryThrust_'' variable. |
| 102 | |
| 103 | Add similar calls for ''auxiliaryThrust_'' and ''rotationThrust_'' using the following scheme: |
| 104 | |