pyrobosim_ros.ros_conversions.get_entity_name

pyrobosim_ros.ros_conversions.get_entity_name(entity: Entity | str | None) str

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

Parameters:

entity – Entity from which to extract the name

Returns:

Entity name.