20 from sr_robot_commander.sr_hand_commander
import SrHandCommander
21 from sr_utilities.hand_finder
import HandFinder
22 rospy.init_node(
"named_traj_example", anonymous=
True)
24 hand_finder = HandFinder()
26 hand_parameters = hand_finder.get_hand_parameters()
27 hand_serial = hand_parameters.mapping.keys()[0]
29 hand_commander = SrHandCommander(hand_parameters=hand_parameters,
30 hand_serial=hand_serial)
35 'interpolate_time': 3.0,
39 'name':
'fingers_pack_thumb_open',
40 'interpolate_time': 3.0,
45 'interpolate_time': 3.0
50 hand_commander.run_named_trajectory(trajectory)