Skip to content

Commit

Permalink
new time
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriobonatti committed Feb 26, 2022
1 parent 1683e6b commit 32ee08b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mushr_rhc_ros/src/rhcnode_network_iros.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def check_reset(self, rate_hz):
self.time_so_far += delta_time_poses
# look at speed and termination condition
v = delta_dist / delta_time_poses
print('v = {}'.format(v))
# print('v = {}'.format(v))
if v < 0.05 and rospy.Time.now().to_sec() - self.time_started.to_sec() > 1.0:
# this means that the car was supposed to follow a traj, but velocity is too low bc it's stuck
# first we reset the car pose
Expand Down

0 comments on commit 32ee08b

Please sign in to comment.