| 177 | | |
| 178 | | == Commit your code to the repository == |
| 179 | | We may want to use your steering function later on, so commit it now: |
| 180 | | 1. Make sure you have a recent version of the branch (this is done by updating): |
| 181 | | {{{ |
| 182 | | ~/<your-username>-extra-0/orxonox/tutorial$ svn up |
| 183 | | }}} |
| 184 | | 2. In order to avoid conflicts copy your file (''AutonomousDroneController.cc''): |
| 185 | | {{{ |
| 186 | | ~/<your-username>-extra-0/orxonox/tutorial$ svn cp src/orxonox/controllers/AutonomousDroneController.cc src/orxonox/controllers/AutonomousDroneController_myUserName.cc |
| 187 | | }}} |
| 188 | | 3. Make sure you don't commit any changes of the original file, so revert your local changes on it: |
| 189 | | {{{ |
| 190 | | ~/<your-username>-extra-0/orxonox/tutorial$ svn revert src/orxonox/controllers/AutonomousDroneController.cc |
| 191 | | }}} |
| 192 | | 4. Now commit: |
| 193 | | {{{ |
| 194 | | ~/<your-username>-extra-0/orxonox/tutorial$ svn ci -m "This is my version of the AutonomousDrone steering function" src/orxonox/controllers/AutonomousDroneController_myUserName.cc |
| 195 | | }}} |