Removing commented code

This commit is contained in:
Adri Ollero 2023-07-21 15:03:34 +02:00
parent 57b68f5be8
commit f36dd013d2
1 changed files with 0 additions and 20 deletions

View File

@ -96,26 +96,6 @@ namespace client {
}
}
/*
bool LoadWorldIfDifferent(
std::string map_name,
bool reset_settings = true,
rpc::MapLayer map_layers = rpc::MapLayer::All) const {
carla::client::World world = GetWorld();
carla::SharedPtr<carla::client::Map> current_map = world.GetMap();
std::string current_map_name = current_map->GetName();
std::string name_prefix = "Carla/Maps/";
std::string final_name = name_prefix + current_map_name;
if(!(current_map_name == map_name)){
World world = LoadWorld(map_name,reset_settings,map_layers);
return true;
}
else
return false;
}
*/
World GenerateOpenDriveWorld(
std::string opendrive,