I'm trying to control the YuMi robot arm by a serial port. The serial port will give the information on what direction the end-effector should move and what is the velocity. What I would like to achieve is that the robotic arm will keep moving in the certain direction and velocity until the serial command changes. For example, if the serial port tells the robotic arm to move at velocity 1 in the x-direction, the robotic arm will not stop until the serial port changes the velocity to 0.
We are currently using the 'yumipy' python library (https://github.com/BerkeleyAutomation/yumipy) for this purpose, but it might not be suitable for real-time smooth motions in our application. Because it can only generate consecutive discrete pose commands by reading the serial commands, and there will be small time gaps between each pose command. Also, the RAPID server has to execute each command in full before execute the next command (which can cause a time delay as well).
Will External Guided Motion (EGM) be suitable for this application? Are there any other possible approaches and what would be the optimal one?
reading the serial commandswhere do the commands originate from? ..... it is unclear what you are trying to do $\endgroup$