gz: Fix endless wait for gazebo on different worlds (#23613)

Co-authored-by: your-sudden-death <noreply@pm.me>
This commit is contained in:
SuddenDeath
2024-08-24 17:15:41 +02:00
committed by GitHub
parent ebbb880e92
commit 510d3cfb39
@@ -154,7 +154,7 @@ int GZBridge::init()
return PX4_ERROR;
}
std::string scene_info_service = "/world/default/scene/info";
std::string scene_info_service = "/world/" + _world_name + "/scene/info";
bool scene_created = false;
while (scene_created == false) {