Skip to content

Commit

Permalink
Configurable marker point color
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <louise@openrobotics.org>
  • Loading branch information
chapulina committed Nov 20, 2021
1 parent f0b2a69 commit 2da65e0
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions proto/ignition/msgs/marker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ message Marker
ALL = 1;
}

/// \brief How to interpret the data.
/// \brief How to interpret the data.
enum Action
{
/// \brief Use this action to create a new marker or modify an exisiting
/// \brief Use this action to create a new marker or modify an exisiting
/// marker. A marker will be created if the provided id does not match
/// an exisiting marker, otherwise the marker with the provided id will
/// be modified.
Expand All @@ -94,15 +94,15 @@ message Marker
/// \brief Namespace of the marker. A namespace groups id's together.
///
/// Relevant Action: ADD_MODIFY, DELETE_MARKER, DELETE_ALL
string ns = 3;
string ns = 3;

/// \brief The id within the namespace of the visual. Each marker has a
/// unique id. It's up to the user to select id values.
///
/// Relevant Action: ADD_MODIFY, DELETE_MARKER
///
/// Relevant Type: all
uint64 id = 4;
uint64 id = 4;

/// \brief The layer the visual belongs to.
///
Expand All @@ -116,7 +116,7 @@ message Marker
/// Relevant Action: ADD_MODIFY
Type type = 6;

/// \brief How long to keep the visual alive before deletion. A value of
/// \brief How long to keep the visual alive before deletion. A value of
/// zero indicates forever. The lifetime is based on simulation-time, not
/// real-time.
///
Expand Down Expand Up @@ -175,4 +175,12 @@ message Marker
///
/// Relevant Type: all
Visibility visibility = 14;

/// \brief Marker color for repeated types.
///
/// Relevant Action: ADD_MODIFY
///
/// Relevant Type: LINE_STRIP, LINE_LIST, POINTS, TRIANGLE_FAN, TRIANGLE_LIST,
/// TRIANGLE_STRIP
repeated Material materials = 15;
}

0 comments on commit 2da65e0

Please sign in to comment.