Skip to content

Commit

Permalink
Merge pull request #1 from verlab/feature/python3_for_noetic
Browse files Browse the repository at this point in the history
fixed python3 things
  • Loading branch information
Ophien authored Jan 28, 2025
2 parents adff492 + 17ea1b0 commit 834a504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/follow_waypoints/follow_waypoints.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import threading
import rospy
Expand Down Expand Up @@ -185,7 +185,7 @@ def wait_for_start_journey():
try:
pose = rospy.wait_for_message(topic, PoseWithCovarianceStamped, timeout=1)
except rospy.ROSException as e:
if 'timeout exceeded' in e.message:
if 'timeout exceeded' in str(e):
continue # no new waypoint within timeout, looping...
else:
raise e
Expand Down

0 comments on commit 834a504

Please sign in to comment.