For RoboComp's keyboard-controlled robot examples, describe the method of keyboard input for both the C++ and Python tutorials. What are the file names for these tutorials, and what is the primary difference in how each language handles keyboard input according to their documentation?
Navigate to the 'doc/code-examples/getting-started/c++' directory. Open and read the 'Keyboard-robot-controller-c++.md' tutorial to understand C++ keyboard input handling. Navigate to the 'doc/code-examples/getting-started/python' directory. Open and read the 'Keyboardrobotcontroller-python.md' tutorial to understand Python keyboard input handling. Identify the file names for both tutorials. Compare the keyboard input handling methods described in both tutorials and articulate the key difference.
The C++ tutorial file is identified as `Keyboard-robot-controller-c++.md`. The Python tutorial file is identified as `Keyboardrobotcontroller-python.md`. The description of C++ input handling accurately states that it converts string input to integer values (e.g., 1 for forward, 2 for backward, 3 for left, 4 for right). The description of Python input handling accurately states that it directly interprets specific key presses (e.g., `KEY_UP`) and can increase parameters on repeated presses. The key 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.