You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
There is a delay when I perform a reset_simulation for /clock topic.
Below is my code:
def resetSimulation(self):
rospy.wait_for_service('/gazebo/reset_simulation')
try:
self.reset_proxy()
except rospy.ServiceException as e:
print ("/gazebo/reset_simulation service call failed")
while tfData is None:
try:
tfData = rospy.wait_for_message('/ground_truth/state', Odometry, timeout=5)
except:
rospy.loginfo("Current drone pose not ready yet, retrying to get robot pose")
The reset is successful but it takes a lot of time for the simulation to start again. The robot_state_publisher stops working until the clock is equal to the last timestep before the reset.
The text was updated successfully, but these errors were encountered:
Hello.
There is a delay when I perform a reset_simulation for /clock topic.
Below is my code:
The reset is successful but it takes a lot of time for the simulation to start again. The robot_state_publisher stops working until the clock is equal to the last timestep before the reset.
The text was updated successfully, but these errors were encountered: