Skip to content

Commit

Permalink
Merge pull request #882 from pazeshun/fix-for-python3
Browse files Browse the repository at this point in the history
[jsk_interactive_marker/scripts/transformable_markers_client.py] Fix for Python3
  • Loading branch information
k-okada authored Jan 16, 2024
2 parents 851ad17 + 8a1d63d commit 3694e5b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
import rospy


# Python2's xrange equals Python3's range, and xrange is removed on Python3
if not hasattr(__builtins__, 'xrange'):
xrange = range


class TransformableMarkersClient(object):

def __init__(self):
Expand Down

0 comments on commit 3694e5b

Please sign in to comment.