Function husarion_ugv_utils::ros::AddNamespaceToFrameID

Function Documentation

std::string husarion_ugv_utils::ros::AddNamespaceToFrameID(const std::string &frame_id, const std::string &node_namespace)

Adds a namespace to a frame ID.

This function adds a namespace to a frame ID. The namespace is added as a prefix to the frame ID.

Parameters:
  • frame_id – The frame ID to which the namespace should be added.

  • node_namespace – The namespace to be added to the frame ID.

Returns:

The frame ID with the namespace added as a prefix.