Open ghost opened 2 years ago
sitl_gazebo/src/gazebo_gimbal_controller_plugin.cpp:633:11: error: ‘class gazebo::GimbalControllerPlugin’ has no member named ‘yawPub’; did you mean ‘yawPid’? 633 | this->yawPub->Publish(m); | ^~ | yawPid ninja: build stopped: subcommand failed. FAILED: external/Stamp/sitl_gazebo/sitl_gazebo-build /home/chc/PX4-Autopilot/build/px4_sitl_default/external/Stamp/sitl_gazebo/sitl_gazebo-build cd /home/chc/PX4-Autopilot/build/px4_sitl_default/build_gazebo && /usr/bin/cmake --build /home/chc/PX4-Autopilot/build/px4_sitl_default/build_gazebo -- -j 5 ninja: build stopped: subcommand failed. make: *** [Makefile:235:px4_sitl] 错误 1
按照文档要求,git checkout到指定版本
sitl_gazebo/src/gazebo_gimbal_controller_plugin.cpp:633:11: error: ‘class gazebo::GimbalControllerPlugin’ has no member named ‘yawPub’; did you mean ‘yawPid’? 633 | this->yawPub->Publish(m); | ^
~| yawPid ninja: build stopped: subcommand failed. FAILED: external/Stamp/sitl_gazebo/sitl_gazebo-build /home/chc/PX4-Autopilot/build/px4_sitl_default/external/Stamp/sitl_gazebo/sitl_gazebo-build cd /home/chc/PX4-Autopilot/build/px4_sitl_default/build_gazebo && /usr/bin/cmake --build /home/chc/PX4-Autopilot/build/px4_sitl_default/build_gazebo -- -j 5 ninja: build stopped: subcommand failed. make: *** [Makefile:235:px4_sitl] 错误 1