Fixed trajectory baseline

This commit is contained in:
Michel Breyer
2021-04-29 10:50:33 +02:00
parent af955b40ed
commit cd9fb814e9
5 changed files with 188 additions and 18 deletions

4
run.py
View File

@@ -47,10 +47,12 @@ class GraspController:
target.translation[2] += 0.1
self.target_pose_pub.publish(to_pose_msg(target))
rospy.sleep(2.0)
self.gripper.move(0.08)
rospy.sleep(1.0)
def main(args):
rospy.init_node("panda_grasp")
rospy.init_node("active_grasp")
policy = get_policy(args.policy)
gc = GraspController(policy, args.rate)
gc.run()