visualization_msgs/msg/Marker Message

File: visualization_msgs/msg/Marker.msg

Raw Message Definition

# See:

# - http://www.ros.org/wiki/rviz/DisplayTypes/Marker

# - http://www.ros.org/wiki/rviz/Tutorials/Markers%3A%20Basic%20Shapes

#

# for more information on using this message with rviz.


int32 ARROW=0
int32 CUBE=1
int32 SPHERE=2
int32 CYLINDER=3
int32 LINE_STRIP=4
int32 LINE_LIST=5
int32 CUBE_LIST=6
int32 SPHERE_LIST=7
int32 POINTS=8
int32 TEXT_VIEW_FACING=9
int32 MESH_RESOURCE=10
int32 TRIANGLE_LIST=11

int32 ADD=0
int32 MODIFY=0
int32 DELETE=2
int32 DELETEALL=3

# Header for timestamp and frame id.

std_msgs/Header header
# Namespace in which to place the object.

# Used in conjunction with id to create a unique name for the object.

string ns
# Object ID used in conjunction with the namespace for manipulating and deleting the object later.

int32 id
# Type of object.

int32 type
# Action to take; one of:

# - 0 add/modify an object

# - 1 (deprecated)

# - 2 deletes an object

# - 3 deletes all objects

int32 action
# Pose of the object with respect the frame_id specified in the header.

geometry_msgs/Pose pose
# Scale of the object; 1,1,1 means default (usually 1 meter square).

geometry_msgs/Vector3 scale
# Color of the object; in the range: [0.0-1.0]

std_msgs/ColorRGBA color
# How long the object should last before being automatically deleted.

# 0 indicates forever.

builtin_interfaces/Duration lifetime
# If this marker should be frame-locked, i.e. retransformed into its frame every timestep.

bool frame_locked

# Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, etc.)

geometry_msgs/Point[] points
# Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, etc.)

# The number of colors provided must either be 0 or equal to the number of points provided.

# NOTE: alpha is not yet used

std_msgs/ColorRGBA[] colors

# Only used for text markers

string text

# Only used for MESH_RESOURCE markers.

string mesh_resource
bool mesh_use_embedded_materials

Compact Message Definition

int32 ARROW=0
int32 CUBE=1
int32 SPHERE=2
int32 CYLINDER=3
int32 LINE_STRIP=4
int32 LINE_LIST=5
int32 CUBE_LIST=6
int32 SPHERE_LIST=7
int32 POINTS=8
int32 TEXT_VIEW_FACING=9
int32 MESH_RESOURCE=10
int32 TRIANGLE_LIST=11
int32 ADD=0
int32 MODIFY=0
int32 DELETE=2
int32 DELETEALL=3
std_msgs/msg/Header header
string ns
int32 id
int32 type
int32 action
geometry_msgs/msg/Pose pose
geometry_msgs/msg/Vector3 scale
std_msgs/msg/ColorRGBA color
builtin_interfaces/msg/Duration lifetime
boolean frame_locked
geometry_msgs/msg/Point[] points
std_msgs/msg/ColorRGBA[] colors
string text
string mesh_resource
boolean mesh_use_embedded_materials