JeanElsner / panda-py

Python bindings for real-time control of Franka Emika robots.
https://jeanelsner.github.io/panda-py/
Apache License 2.0
77 stars 14 forks source link

Moving gripper and robot simultaneously #4

Closed atledal closed 11 months ago

atledal commented 11 months ago

Hello, and thank you for a very nice library.

I was wondering if there's any way of moving the gripper at the same time as the robot arm moves? I've tried to do some simple threading, where one script controls the arm, and the other controls the gripper, but didn't really get it to work. The actions happened in sequence, as if it was written in one script.

Again, thank you!

JeanElsner commented 11 months ago

Hi,

I used the following script to test simultaneous arm and gripper movement, which worked for me: cartesian_impedance.zip Could you test this script and report back? Maybe provide a minimal working example. I seem to remember that very old firmware versions did not support simultaneous gripper and arm control. What version are you running?

atledal commented 11 months ago

This worked very well! Thank you for the quick response. Appreciate it.