make px4_sitl gz_x500出错
隐鱼野
2025年04月22日 15:51

ubuntu22.04中make px4_sitl gz_x500仿真时报错,service call timed out.  

原因是px4源码的gz_bridge模块存在问题,从src/modules/simulation/gz_bridge/GZBridge.cpp中搜service call timed out,查找错误信息提示位置,一般会有_node.Request(create_service, req, 1000, rep, result)代码,可以把1000改大一些比如3000试试。v1.15.3版本的PX4源码中把153行的1000改成3000即可。