This step by step tutorial shows a complete walkthrough through all steps of the SmartMDSD Toolchain to develop a robot navigation. The robot will be simulated in a 2D environment and shall be controlled with a keyboard. Section 3.2.2 shows the modeling and implementation of the SmartKeyboardNavigation component. After the component is developed two different examples of System Compositions are made in section 3.2.3. The first allows the user to control the robot with the keyboard. The adds obstacle avoidance to the first example. All required components are available online.
The example consists of the following components:
The SmartKeyboardNavigation component is used to control the robot with the keyboard. The SmartPlayerStageSimulator component simulates the robot in a 2D environment. The SmartCdlServer component is used for obstacle avoidance and the SmartRobotConsole is used to set parameters during runtime.