DLu / wu_ros_tools

9 stars 13 forks source link

Fix error importing InteractiveGenerator #3

Closed dlaz closed 9 years ago

dlaz commented 9 years ago

interactive_marker_server used to do an import * from visualization_msgs.msg but doesn't anymore, and doesn't explicitly import InteractiveMarkerControl.

>>> from easy_markers.interactive import InteractiveGenerator
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/lazewatd/Dropbox/dev/tfp_ws/src/wu_ros_tools/easy_markers/src/easy_markers/interactive.py", line 9, in <module>
    'rotate_x': [1,1,0,0, InteractiveMarkerControl.ROTATE_AXIS],
NameError: name 'InteractiveMarkerControl' is not defined
DLu commented 9 years ago

+1