from std_srvs.srv import Empty
if __name__ == "__main__":
rospy.init_node("hogehoge" , anonymous=True)
rospy.wait_for_service("/gazebo/reset_world")
rospy.ServiceProxy("/gazebo/reset_world", Empty).call()
from std_srvs.srv import Empty
if __name__ == "__main__":
rospy.init_node("hogehoge" , anonymous=True)
rospy.wait_for_service("/gazebo/reset_world")
rospy.ServiceProxy("/gazebo/reset_world", Empty).call()
このページの著者: takanotume24