File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
interactive_marker_tutorials/scripts Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 29
29
POSSIBILITY OF SUCH DAMAGE.
30
30
"""
31
31
32
+ from __future__ import print_function
33
+
32
34
import rospy
33
35
34
36
from interactive_markers .interactive_marker_server import *
@@ -68,7 +70,7 @@ def modeCb(feedback):
68
70
69
71
rospy .loginfo ("Switching to menu entry #" + str (h_mode_last ))
70
72
menu_handler .reApply ( server )
71
- print "DONE"
73
+ print ( "DONE" )
72
74
server .applyChanges ()
73
75
74
76
def makeBox ( msg ):
Original file line number Diff line number Diff line change 29
29
POSSIBILITY OF SUCH DAMAGE.
30
30
"""
31
31
32
+ from __future__ import print_function
33
+
32
34
import rospy
33
35
34
36
from interactive_markers .interactive_marker_server import *
35
37
from visualization_msgs .msg import *
36
38
37
39
def processFeedback (feedback ):
38
40
p = feedback .pose .position
39
- print feedback .marker_name + " is now at " + str (p .x ) + ", " + str (p .y ) + ", " + str (p .z )
41
+ print ( feedback .marker_name + " is now at " + str (p .x ) + ", " + str (p .y ) + ", " + str (p .z ) )
40
42
41
43
if __name__ == "__main__" :
42
44
rospy .init_node ("simple_marker" )
You can’t perform that action at this time.
0 commit comments