Description
I would like to know what interactivity is possible between the EV3 and the PC when a script has been launched on the EV3 from VS Code. Clearly some data can pass from the EV3 to the PC when print(xxx, file = stderr) is used, but what about the other direction? Is it possible, for example, to use the PC keyboard to remotely control the EV3 robot and if so, how?
I just received this related message from a teacher requesting help:
I am a teacher in France, and I have been programming the Lego EV3 with Matlab Simulink for several years. I want to switch to text programming with students on this medium. With the robot, we are working on trying to realize SLAM. For that, I would like to draw a matrix. Matplotlib is not installed on ev3dev. I tried to install it but without success. And even if I could install it, I'm not sure if I can send the terminal back to the PC with "file = sys.stderr". I did not try with the graphic library Pillow, because I do not think this is the most suitable way. For your information, I work with VS Code. My students worked with the Anaconda Spyder suite and I would have liked to use the same environment, but I followed your valuable advice.