This commit is contained in:
Michel Breyer
2021-11-04 20:07:57 +01:00
parent 29b3ba7759
commit 33d123e3ee
3 changed files with 11 additions and 8 deletions

View File

@@ -2,10 +2,13 @@ import rospy
from active_grasp.srv import *
rospy.init_node("test")
rospy.init_node("reset")
seed = rospy.ServiceProxy("seed", Seed)
reset = rospy.ServiceProxy("reset", Reset)
# seed(SeedRequest(1))
reset(ResetRequest())
seed(SeedRequest(1))
while True:
reset(ResetRequest())
rospy.sleep(1.0)