Function geometric_shapes::constructMarkerFromShape(const shape_msgs::msg::SolidPrimitive&, visualization_msgs::msg::Marker&)

Function Documentation

void geometric_shapes::constructMarkerFromShape(const shape_msgs::msg::SolidPrimitive &shape_msg, visualization_msgs::msg::Marker &marker)

Convert a shape_msgs::msg::SolidPrimitive shape_msg to a visualization_msgs::msg::Marker marker.

On incorrect input, this function throws a std::runtime_error.