Skip to content

Commit

Permalink
Update reset sim
Browse files Browse the repository at this point in the history
  • Loading branch information
ango1994 committed Jan 4, 2024
1 parent 81a52ab commit 1067cb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/manager/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def reset_sim(self):
if "noetic" in str(self.ros_version):
rosservice.call_service("/gazebo/reset_world", [])
else:
self.call_service("/reset_physics","std_srvs/srv/Empty")
self.call_service("/reset_world","std_srvs/srv/Empty")

def call_service(self, service, service_type):
command = f"ros2 service call {service} {service_type}"
Expand Down

0 comments on commit 1067cb9

Please sign in to comment.