UM-ARM-Lab / kuka_iiwa_interface

Developmental controllers for the IIWA 7 robot, including a Catkinized version of the Kuka FRI SDK
BSD 2-Clause "Simplified" License
7 stars 4 forks source link

ROS 2 Upgrade #151

Open PeterMitrano opened 9 months ago

PeterMitrano commented 9 months ago
PeterMitrano commented 9 months ago

@Yating05 @zxhuang97

PeterMitrano commented 8 months ago

ros2 control conversion:

PeterMitrano commented 8 months ago

From my testing of the cartesian pose commands, in cartesian impedance mode, the only parameter that affects the speed of the motion is cartesian_path_execution_params.max_velocity. Interestingly, the values of cartesian_path_execution_params.max_acceleration in victor_utils are orders of magnitude too high! This is partly why the motion is so jerky when the robot is given very small delta position commands. I wonder if this is true for joint commands too?

PeterMitrano commented 8 months ago

Bug fixes for victor_command_gui.py

PeterMitrano commented 8 months ago

I tried implementing VR teleop for Victor using Cartesian control, but the downside was that the Cartesian controller wasn't very well behaved and would whip through singularities. Someone could go try to rewrite it use use incremental IK and JointImpedance instead. That's how the one Brad wrote worked.

Todo:

PeterMitrano commented 7 months ago

@Yating05 is taking the approach of using ros2 control, instead of the ROS MotionCommand message, but keeping the SetControlMode service.

Todo:

PeterMitrano commented 7 months ago

I'm going to try another approach where we create additional ROS controllers (same type, but with different ROS parameters) to handle the fact that some controller/control mode combinations are invalid.