test
test_overlay_text_interface.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
35
36
from
__future__
import
print_function
37
38
import
sys
39
import
traceback
40
import
rospy
41
42
from
jsk_rviz_plugins.msg
import
OverlayText
43
from
jsk_rviz_plugins.overlay_text_interface
import
OverlayTextInterface
44
45
rospy.init_node(
'publish_overlay_text_interface'
)
46
text_interface =
OverlayTextInterface
(
"~text"
)
47
rospy.loginfo(
"publish text_interface"
)
48
rate = rospy.Rate(1)
49
50
try
:
51
while
not
rospy.is_shutdown():
52
rospy.loginfo(
"publish text_interface"
)
53
text_interface.publish(
"test"
)
54
rate.sleep()
55
except
rospy.ROSException
as
e:
56
print(traceback.format_exc(), file=sys.stderr)
57
sys.exit(1)
msg
jsk_rviz_plugins.overlay_text_interface
Definition:
overlay_text_interface.py:1
jsk_rviz_plugins.overlay_text_interface.OverlayTextInterface
Definition:
overlay_text_interface.py:8
jsk_rviz_plugins
Author(s): Kei Okada
, Yohei Kakiuchi
, Shohei Fujii
, Ryohei Ueda
autogenerated on Fri Aug 2 2024 08:50:15