Skip to content

Not in list ValueError in keyboard teleop #73

Description

@hello-binit

When launched keyboard teleop using roslaunch stretch_core keyboard_teleop.launch, pressing the c key while the robot has the standard gripper configured will cause the node to emit the following error:

Traceback (most recent call last):
  File "/home/hello-robot/catkin_ws/src/stretch_ros/stretch_core/nodes/keyboard_teleop", line 436, in <module>
    node.main()
  File "/home/hello-robot/catkin_ws/src/stretch_ros/stretch_core/nodes/keyboard_teleop", line 413, in main
    self.send_command(command)
  File "/home/hello-robot/catkin_ws/src/stretch_ros/stretch_core/nodes/keyboard_teleop", line 331, in send_command
    joint_index = joint_state.name.index(joint_name)
ValueError: 'joint_wrist_pitch' is not in list
[keyboard_teleop-5] process has died [pid 3598, exit code 1, cmd /home/hello-robot/catkin_ws/src/stretch_ros/stretch_core/nodes/keyboard_teleop __name:=keyboard_teleop __log:=/home/hello-robot/.ros/log/6e4d0110-2443-11ed-ba38-1c697a0e6523/keyboard_teleop-5.log].
log file: /home/hello-robot/.ros/log/6e4d0110-2443-11ed-ba38-1c697a0e6523/keyboard_teleop-5*.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions