Removing commented code
This commit is contained in:
parent
57b68f5be8
commit
f36dd013d2
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue