You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
684 B

#!/usr/bin/env python3
import rospy
import hello_helpers.hello_misc as hm
from sensor_msgs.msg import BatteryState
class RetractArmNode(hm.HelloNode):
def __init__(self):
hm.HelloNode.__init__(self)
def main(self):
hm.HelloNode.main(self, 'retract_arm', 'retract_arm', wait_for_first_pointcloud=False)
self.move_to_pose({'gripper_aperture': 0.125})
self.move_to_pose({'joint_lift': 0.8})
self.move_to_pose({'joint_arm': 0.0})
self.move_to_pose({'joint_wrist_yaw': 0.0, 'joint_wrist_roll': 0.0})
self.move_to_pose({'joint_wrist_pitch': -1.0})
if __name__ == "__main__":
node = RetractArmNode()
node.main()