pyrobosim_ros.ros_conversions.get_entity_name

pyrobosim_ros.ros_conversions.get_entity_name(entity)

Gets the name of an entity, or if a string is specified, gets the string itself.

Parameters:

entity (Entity, or str) – Entity from which to extract the name

Returns:

Entity name.

Return type:

str