Forums › Niryo One › Programming Niryo One › Is there a way to workaround the Python API response delay › Reply To: Is there a way to workaround the Python API response delay
Hi Arif Saeed!
As you say, you can reduce the time lag of operation by directly operating the input of Raspberry Pi without going through SSH.
What do you use any python api commands? For example, “move_joints”, “move_arm_pose”…
They need to calcurate trajectory each time the commands executed. And they take many time (over 1 sec).
If you need more high response, I recomennd “pre-calcuration of trajectory”.
And Wait for the trigger while the program is running.
But, if your goal is to change the behavior in real time, it cannot be pre-calculated.