Skip to content

Instantly share code, notes, and snippets.

@thomasweng15
Created February 3, 2018 02:28
Show Gist options
  • Save thomasweng15/5475f841165f0c446e2fd9ebe447192c to your computer and use it in GitHub Desktop.
Save thomasweng15/5475f841165f0c446e2fd9ebe447192c to your computer and use it in GitHub Desktop.
PR2 torso script
#!/bin/bash
rostopic pub /torso_controller/position_joint_action/goal pr2_controllers_msgs/SingleJointPositionActionGoal "header:
seq: 0
stamp:
secs: 0
nsecs: 0
frame_id: ''
goal_id:
stamp:
secs: 0
nsecs: 0
id: ''
goal:
position: $1
min_duration:
secs: 0
nsecs: 0
max_velocity: 0.0" --once
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment