Skip to content

Commit

Permalink
Update _actuator_to_joint_matrix after modification
Browse files Browse the repository at this point in the history
  • Loading branch information
iory committed Nov 5, 2024
1 parent e9ec7cc commit 5c4fb32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ros/kxr_controller/node_scripts/rcb4_ros_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ def log_error_and_close_interface(function_name):
)
trim_vector_servo_ids.append(servo_id)
trim_vector_offset.append(direction * offset)
self.interface._actuator_to_joint_matrix = np.linalg.inv(self.interface.joint_to_actuator_matrix)
if self.interface.__class__.__name__ != "RCB4Interface":
if len(trim_vector_offset) > 0:
ret = serial_call_with_retry(
Expand Down

0 comments on commit 5c4fb32

Please sign in to comment.