For RoboComp's keyboard-controlled robot examples, describe how keyboard input is handled in both the C++ and Python tutorials. Explain the primary difference in their approaches, and identify the specific Markdown file for each tutorial within the 'getting-started' code examples on the RoboComp GitHub repository.
Navigate to the RoboComp GitHub repository. Locate the 'doc/code-examples/getting-started' directory. Find and open the C++ keyboard robot controller tutorial file. Read the C++ tutorial to understand its keyboard input handling. Navigate to the Python keyboard robot controller tutorial file within the same 'getting-started' examples. Read the Python tutorial to understand its keyboard input handling. Identify the exact Markdown file names for both tutorials. Compare the keyboard input handling methods described in both tutorials and articulate the key difference.
The C++ tutorial's keyboard input handling method is described as converting string input to integer values (e.g., 1 for forward, 2 for backward, 3 for left, 4 for right) using `istringstream`. The Python tutorial's keyboard input handling method is described as directly interpreting specific key presses (e.g., `KEY_UP`) and increasing parameters on repeated presses. The primary difference articulated highlights that C++ uses numerical integer mapping of string input, while Python directly interprets specific key events, indicating a more direct and event-driven approach. The C++ tutorial file is identified as `Keyboard-robot-controller-c++.md`. The Python tutorial file is identified as `Keyboardrobotcontroller-python.md`.