ros_gazebo_gym.common.markers.text_overlay
Contains a class that can be used for displaying text in RViz.
Note
This class overloads the
jsk_rviz_plugins.msgs.OverlayText
class in order to pre-initialize some of
its attributes. It further automatically makes sure the text width and height are
not to small.
Module Contents
Classes
RViz text overlay. |
- class ros_gazebo_gym.common.markers.text_overlay.TextOverlay(*args, **kwargs)[source]
Bases:
jsk_rviz_plugins.msg.OverlayText
RViz text overlay.
Note
When no width or height are supplied it makes sure that the display fits all the text.
- bg_color
The overlay background color.
- Type:
std_msgs.ColorRGBA
- fg_color
The text color.
- Type:
std_msgs.ColorRGBA
Initialize text overlay object.