Skip to content

Commit

Permalink
Set marker point size from message (#317)
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina authored Nov 23, 2021
1 parent 195cec5 commit d695669
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/marker_manager/MarkerManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,10 @@ void MarkerManagerPrivate::SetMarker(const ignition::msgs::Marker &_msg,

_markerPtr->AddPoint(vector, color);
}
if (_msg.has_scale())
{
_markerPtr->SetSize(_msg.scale().x());
}
}

/////////////////////////////////////////////////
Expand Down

0 comments on commit d695669

Please sign in to comment.