jsk-ros-pkg / jsk_visualization

jsk visualization ros packages
https://github.com/jsk-ros-pkg/jsk_visualization
324 stars 173 forks source link

[jsk_interactive_marker/scripts/transformable_markers_client.py] Fix for Python3 #882

Closed pazeshun closed 9 months ago

pazeshun commented 1 year ago

Because xrange is removed on Python3, we face an error here: https://github.com/jsk-ros-pkg/jsk_visualization/blob/8cfd3b628821c826023ee47e9af62d732d2f6df9/jsk_interactive_markers/jsk_interactive_marker/scripts/transformable_markers_client.py#L68

We can use range as xrange on Python3 because Python2's xrange equals Python3's range.

knorth55 commented 5 months ago

I'm waiting this PR to be released in Noetic.