Function mppi::utils::createMarker

Function Documentation

inline visualization_msgs::msg::Marker mppi::utils::createMarker(int id, const geometry_msgs::msg::Pose &pose, const geometry_msgs::msg::Vector3 &scale, const std_msgs::msg::ColorRGBA &color, const std::string &frame_id, const std::string &ns)

Convert data into a Maarker.

Parameters:
  • id – Marker ID

  • pose – Marker pose

  • scale – Marker scale

  • color – Marker color

  • frame – Reference frame to use

Returns:

Visualization Marker