scripts
interactive_marker_demo.py
Go to the documentation of this file.
1
#!/usr/bin/python
2
3
import
rospy
4
from
easy_markers.interactive
import
InteractiveGenerator
5
6
7
def
callback
(feedback):
8
print(feedback)
9
10
11
if
__name__ ==
'__main__'
:
12
rospy.init_node(
'itest'
)
13
14
ig =
InteractiveGenerator
()
15
ig.makeMarker(controls=[
"move_x"
,
"rotate_x"
])
16
ig.makeMarker(controls=[
"move_y"
,
"rotate_y"
], pose=[1, 0, 0], description=
"X"
)
17
rospy.spin()
easy_markers.interactive.InteractiveGenerator
Definition:
interactive.py:22
easy_markers.interactive
Definition:
interactive.py:1
interactive_marker_demo.callback
def callback(feedback)
Definition:
interactive_marker_demo.py:7
easy_markers
Author(s): David V. Lu!!
autogenerated on Tue Mar 1 2022 00:06:55