Function nav2_map_server::map_mode_to_string

Function Documentation

const char *nav2_map_server::map_mode_to_string(MapMode map_mode)

Convert a MapMode enum to the name of the map mode.

Parameters:

map_mode – Mode for the map

Throws:

std::invalid_argument – if the given value is not a defined map mode

Returns:

String identifier of the given map mode