20 from sr_robot_commander.sr_hand_commander
import SrHandCommander
22 from burn_in_states
import warehouse_states
23 from sr_robot_commander.sr_robot_state_exporter
import SrRobotStateExporter
25 rospy.init_node(
"burn_in_test")
27 commander = SrHandCommander()
28 exporter = SrRobotStateExporter(warehouse_states)
30 commander.move_to_named_target(warehouse_states[
"burn_4_hand"])
32 test_trajectory = exporter.convert_trajectory([
34 'name':
"burn_1_hand",
35 "interpolate_time": 0.5,
39 'name':
"burn_2_hand",
40 "interpolate_time": 0.5,
44 'name':
"burn_3_hand",
45 "interpolate_time": 0.5,
49 'name':
"burn_4_hand",
50 "interpolate_time": 0.5,
54 'name':
"burn_5_hand",
55 "interpolate_time": 0.5,
59 'name':
"burn_4_hand",
60 "interpolate_time": 0.5,
65 while not rospy.is_shutdown():
66 commander.run_named_trajectory(test_trajectory)