Browse Source

Bug fix Arm Joint List

feature/keyboard_teleop_gazebo
Mohamed Fazil 2 years ago
parent
commit
637dd7f637
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      stretch_gazebo/nodes/keyboard_teleop_gazebo

+ 1
- 1
stretch_gazebo/nodes/keyboard_teleop_gazebo View File

@ -345,7 +345,7 @@ class KeyboardTeleopNode:
if joint_name == "joint_gripper_finger_left":
trajectory_goal.trajectory.joint_names = ['joint_gripper_finger_left', 'joint_gripper_finger_right']
else:
trajectory_goal.trajectory.joint_names = ['joint_arm_l1', 'joint_arm_l2', 'joint_arm_l3']
trajectory_goal.trajectory.joint_names = ['joint_arm_l0','joint_arm_l1', 'joint_arm_l2', 'joint_arm_l3']
positions = []
for j_name in trajectory_goal.trajectory.joint_names:
joint_index = joint_state.name.index(j_name)

Loading…
Cancel
Save