Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make px4_sitl_default gazebo报错 #110

Open
Veast01 opened this issue Jun 6, 2024 · 3 comments
Open

make px4_sitl_default gazebo报错 #110

Veast01 opened this issue Jun 6, 2024 · 3 comments

Comments

@Veast01
Copy link

Veast01 commented Jun 6, 2024

错误内容如下:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo/unit_tests
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo/unit_tests
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo/unit_tests
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo/unit_tests
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo/unit_tests
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo/unit_tests
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo/unit_tests
used as include directory in directory /home/wlxf/PX4_Firmware/Tools/sitl_gazebo/unit_tests

-- Configuring incomplete, errors occurred!
See also "/home/wlxf/PX4_Firmware/build/px4_sitl_default/build_gazebo/CMakeFiles/CMakeOutput.log".
See also "/home/wlxf/PX4_Firmware/build/px4_sitl_default/build_gazebo/CMakeFiles/CMakeError.log".
[234/865] Building CXX object src/lib/...CMakeFiles/bezier.dir/BezierQuad.cpp.o
FAILED: external/Stamp/sitl_gazebo/sitl_gazebo-configure
cd /home/wlxf/PX4_Firmware/build/px4_sitl_default/build_gazebo && /usr/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DSEND_ODOMETRY_DATA=ON -DGENERATE_ROS_MODELS=ON -GNinja /home/wlxf/PX4_Firmware/Tools/sitl_gazebo && /usr/bin/cmake -E touch /home/wlxf/PX4_Firmware/build/px4_sitl_default/external/Stamp/sitl_gazebo/sitl_gazebo-configure
[252/865] Building CXX object src/lib/.../avoidance.dir/ObstacleAvoidance.cpp.o
ninja: build stopped: subcommand failed.
make: *** [Makefile:230:px4_sitl_default] 错误 1

@xiaolutou
Copy link

我也是这个问题,请问你解决了吗

@20246688
Copy link

请问无人机卡位了有什么好办法解决吗?比如重置如何呢?目前只看见qgc软件上面有重置模型姿态,但是解决翻面还行,如果是无人机卡死在一个位置上还在转动,重置后无人机还是保持着之前的运行状态

@20246688
Copy link

我也是这个问题,请问你解决了吗

请问无人机卡位了有什么好办法解决吗?比如重置如何呢?目前只看见qgc软件上面有重置模型姿态,但是解决翻面还行,如果是无人机卡死在一个位置上还在转动,重置后无人机还是保持着之前的运行状态

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants