Function lanelet::visualization::generateLaneletIdMarker

Function Documentation

visualization_msgs::msg::MarkerArray lanelet::visualization::generateLaneletIdMarker(const lanelet::ConstLanelets &road_lanelets, const std_msgs::msg::ColorRGBA &c, const std::string &ns = "lanelet_id", const double scale = 0.5)

[detectionAreasAsMarkerArray creates marker array to visualize lanelet_id]

Parameters:
  • road_lanelets – [road lanelets]

  • c – [color of the marker]

  • duration – [lifetime of the marker]

  • ns – [namespace of the marker]

  • scale – [scale of the marker]

Returns:

visualization_msgs::msg::MarkerArray