mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 08:30:35 +08:00
gz: Fix endless wait for gazebo on different worlds (#23613)
Co-authored-by: your-sudden-death <noreply@pm.me>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user