IFL-CAMP / iiwa_stack

ROS integration for the KUKA LBR IIWA R800/R820 (7/14 Kg).
Other
337 stars 250 forks source link

Smooth Velocity Control using iiwa/command/JointVelocity #300

Open priyampnchl opened 1 year ago

priyampnchl commented 1 year ago

Using iiwa/commmand/JointVelocity and publishing at 10Hz, I am getting jerky motion on the joints. It seems that the robot is drifting, and correcting the error, giving jerky acceleration instead of a steady movement. After experimenting with different publish rates, it seems that the issue is rate invariant.

Carlz182 commented 1 year ago

Hi, did you manage to resolve the issue? I am facing the exact same problem. Even using a Realtime Kernel did not help much.

priyampnchl commented 1 year ago

I think the issue has to do with the fact that this implementation uses the Java port and communicates via TCP which is not ideal for real-time control, nor is the Java port recommended for such an implementation. I am currently experimenting with epfl-lasa/iiwa_ros which uses FRI, but I am facing a different set of issues entirely.

BoWangFromMars commented 10 months ago

I also have the same question why ROS machine cannot communicate with the kuka iiwa in real time. When I subscribed sensor data (such as JointPosition and JointTorque) from kuka iiwa, package loss occured.

umicharmlab commented 8 months ago

Just chiming in to say that this may be because the acceleration in joint position/impedance modes is very high, and I've not found a way to actually reduce it. Also see #286