|
发表于 2022-5-12 14:26:00
3474 浏览 2 回复
[新手上路]
Promethues项目编译
prometheus问答
提问前请先确定以下问题:: |
./complie_control.sh编译报错,Invoking "make -j16 -l16" failed |
第一步:问题BUG描述: |
Base path: /home/zgm/Prometheus
Source space: /home/zgm/Prometheus/Modules/ugv_control
Build space: /home/zgm/Prometheus/build/ugv_control
Devel space: /home/zgm/Prometheus/devel
Install space: /home/zgm/Prometheus/install
####
#### Running command: "make cmake_check_build_system" in "/home/zgm/Prometheus/build/ugv_control"
####
####
#### Running command: "make -j16 -l16" in "/home/zgm/Prometheus/build/ugv_control"
####
[ 0%] Built target prometheus_msgs_generate_messages_py
[ 0%] Built target nav_msgs_generate_messages_eus
[ 0%] Built target sensor_msgs_generate_messages_py
[ 0%] Built target std_msgs_generate_messages_py
[ 0%] Built target geometry_msgs_generate_messages_py
[ 0%] Built target trajectory_msgs_generate_messages_nodejs
[ 0%] Built target std_msgs_generate_messages_nodejs
[ 0%] Built target sensor_msgs_generate_messages_nodejs
[ 0%] Built target nav_msgs_generate_messages_py
[ 0%] Built target std_msgs_generate_messages_eus
[ 0%] Built target prometheus_msgs_generate_messages_nodejs
[ 0%] Built target sensor_msgs_generate_messages_eus
[ 0%] Built target nav_msgs_generate_messages_nodejs
[ 0%] Built target geometry_msgs_generate_messages_eus
[ 0%] Built target geometry_msgs_generate_messages_nodejs
[ 0%] Built target prometheus_msgs_generate_messages_lisp
[ 0%] Built target tf_generate_messages_lisp
[ 0%] Built target tf_generate_messages_py
[ 0%] Built target tf_generate_messages_nodejs
[ 0%] Built target std_srvs_generate_messages_nodejs
[ 0%] Built target actionlib_msgs_generate_messages_py
[ 0%] Built target uuid_msgs_generate_messages_lisp
[ 0%] Built target actionlib_msgs_generate_messages_lisp
[ 0%] Built target geometry_msgs_generate_messages_lisp
[ 0%] Built target sensor_msgs_generate_messages_lisp
[ 0%] Built target nav_msgs_generate_messages_cpp
[ 0%] Built target nav_msgs_generate_messages_lisp
[ 0%] Built target actionlib_msgs_generate_messages_nodejs
[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] Built target std_srvs_generate_messages_eus
[ 0%] Built target roscpp_generate_messages_lisp
[ 0%] Built target mavros_msgs_generate_messages_eus
[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] Built target roscpp_generate_messages_py
[ 0%] Built target actionlib_generate_messages_cpp
[ 0%] Built target _catkin_empty_exported_target
[ 0%] Built target rosgraph_msgs_generate_messages_cpp
[ 0%] Built target std_srvs_generate_messages_lisp
[ 0%] Built target trajectory_msgs_generate_messages_eus
[ 0%] Built target roscpp_generate_messages_nodejs
[ 0%] Built target std_srvs_generate_messages_cpp
[ 0%] Built target tf_generate_messages_eus
[ 0%] Built target actionlib_msgs_generate_messages_cpp
[ 0%] Built target rosgraph_msgs_generate_messages_lisp
[ 0%] Built target trajectory_msgs_generate_messages_py
[ 0%] Built target prometheus_msgs_generate_messages_cpp
[ 0%] Built target rosgraph_msgs_generate_messages_eus
[ 0%] Built target actionlib_msgs_generate_messages_eus
[ 0%] Built target rosgraph_msgs_generate_messages_py
[ 0%] Built target rosgraph_msgs_generate_messages_nodejs
[ 0%] Built target roscpp_generate_messages_eus
[ 0%] Built target geographic_msgs_generate_messages_lisp
[ 0%] Built target diagnostic_msgs_generate_messages_nodejs
[ 0%] Built target diagnostic_msgs_generate_messages_lisp
[ 0%] Built target diagnostic_msgs_generate_messages_eus
[ 0%] Built target prometheus_msgs_generate_messages_eus
[ 0%] Built target mavros_msgs_generate_messages_nodejs
[ 0%] Built target geographic_msgs_generate_messages_py
[ 0%] Built target geographic_msgs_generate_messages_eus
[ 0%] Built target roscpp_generate_messages_cpp
[ 0%] Built target geographic_msgs_generate_messages_cpp
[ 0%] Built target diagnostic_msgs_generate_messages_py
[ 0%] Built target uuid_msgs_generate_messages_eus
[ 0%] Built target std_srvs_generate_messages_py
[ 0%] Built target geographic_msgs_generate_messages_nodejs
[ 0%] Built target tf_generate_messages_cpp
[ 0%] Built target uuid_msgs_generate_messages_nodejs
[ 0%] Built target mavros_msgs_generate_messages_cpp
[ 0%] Built target sensor_msgs_generate_messages_cpp
[ 0%] Built target uuid_msgs_generate_messages_py
[ 0%] Built target uuid_msgs_generate_messages_cpp
[ 0%] Built target trajectory_msgs_generate_messages_cpp
[ 0%] Built target mavros_msgs_generate_messages_py
[ 0%] Built target geometry_msgs_generate_messages_cpp
[ 0%] Built target actionlib_generate_messages_nodejs
[ 0%] Built target mavros_msgs_generate_messages_lisp
[ 0%] Built target diagnostic_msgs_generate_messages_cpp
[ 0%] Built target actionlib_generate_messages_lisp
[ 0%] Built target actionlib_generate_messages_eus
[ 0%] Built target tf2_msgs_generate_messages_cpp
[ 0%] Built target tf2_msgs_generate_messages_lisp
[ 0%] Built target tf2_msgs_generate_messages_eus
[ 0%] Built target tf2_msgs_generate_messages_py
[ 0%] Built target tf2_msgs_generate_messages_nodejs
[ 0%] Built target prometheus_ugv_control_generate_messages_py
[ 0%] Built target trajectory_msgs_generate_messages_lisp
[ 0%] Built target prometheus_ugv_control_generate_messages_lisp
[ 0%] Built target actionlib_generate_messages_py
[ 9%] Generating EusLisp manifest code for prometheus_ugv_control
[ 9%] Built target prometheus_ugv_control_generate_messages_nodejs
[ 9%] Built target prometheus_ugv_control_generate_messages_cpp
[ 9%] Built target prometheus_ugv_control_gencpp
[ 27%] Built target fake_vicon
[ 63%] Built target ugv_estimator
[ 63%] Built target ugv_terminal_control
Traceback (most recent call last):
File "/opt/ros/melodic/lib/python2.7/dist-packages/geneus/geneus_main.py", line 137, in genmain
pkg_map = get_pkg_map()
File "/opt/ros/melodic/lib/python2.7/dist-packages/geneus/geneus_main.py", line 56, in get_pkg_map
pkgs = packages.find_packages(ws)
File "/usr/lib/python2.7/dist-packages/catkin_pkg/packages.py", line 96, in find_packages
raise RuntimeError('\n'.join(duplicates))
RuntimeError: Multiple packages found with the same name "bspline_opt":
- Prometheus/Modules/ego_planner/ego-planner-swarm/src/planner/bspline_opt
- Prometheus/Modules/planning/FastPlanner/bspline_opt
Multiple packages found with the same name "path_searching":
- Prometheus/Modules/ego_planner/ego-planner-swarm/src/planner/path_searching
- Prometheus/Modules/planning/FastPlanner/path_searching
Multiple packages found with the same name "plan_env":
- Prometheus/Modules/ego_planner/ego-planner-swarm/src/planner/plan_env
- Prometheus/Modules/planning/FastPlanner/plan_env
Multiple packages found with the same name "rviz_plugins":
- Prometheus/Modules/ego_planner/ego-planner-swarm/src/uav_simulator/Utils/rviz_plugins
- Prometheus/Modules/planning/Utils/rviz_plugins
Multiple packages found with the same name "traj_utils":
- Prometheus/Modules/ego_planner/ego-planner-swarm/src/planner/traj_utils
- Prometheus/Modules/planning/FastPlanner/traj_utils
ERROR: Multiple packages found with the same name "bspline_opt":
- Prometheus/Modules/ego_planner/ego-planner-swarm/src/planner/bspline_opt
- Prometheus/Modules/planning/FastPlanner/bspline_opt
Multiple packages found with the same name "path_searching":
- Prometheus/Modules/ego_planner/ego-planner-swarm/src/planner/path_searching
- Prometheus/Modules/planning/FastPlanner/path_searching
Multiple packages found with the same name "plan_env":
- Prometheus/Modules/ego_planner/ego-planner-swarm/src/planner/plan_env
- Prometheus/Modules/planning/FastPlanner/plan_env
Multiple packages found with the same name "rviz_plugins":
- Prometheus/Modules/ego_planner/ego-planner-swarm/src/uav_simulator/Utils/rviz_plugins
- Prometheus/Modules/planning/Utils/rviz_plugins
Multiple packages found with the same name "traj_utils":
- Prometheus/Modules/ego_planner/ego-planner-swarm/src/planner/traj_utils
- Prometheus/Modules/planning/FastPlanner/traj_utils
CMakeFiles/prometheus_ugv_control_generate_messages_eus.dir/build.make:60: recipe for target '/home/zgm/Prometheus/devel/share/roseus/ros/prometheus_ugv_control/manifest.l' failed
make[2]: *** [/home/zgm/Prometheus/devel/share/roseus/ros/prometheus_ugv_control/manifest.l] Error 3
CMakeFiles/Makefile2:411: recipe for target 'CMakeFiles/prometheus_ugv_control_generate_messages_eus.dir/all' failed
make[1]: *** [CMakeFiles/prometheus_ugv_control_generate_messages_eus.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j16 -l16" failed |
第二步:PX4版本是否为Prometheus_PX4_V1.11.1分支?: |
是 Prometheus_PX4_V1.11.1 |
第三步:测试prometheus_px4是否正常: |
不正常 |
第四步:Prometheus版本是否为最新master?: |
是master版本 |
第五步:测试Prometheus是否正常: |
否 |
zgma已获得悬赏 3 阿木币最佳答案
我感觉是编译错误
|
扫一扫浏览分享
|
|
|
|
|
|
|
发表于 2022-5-12 17:59:02
好长的编译报错bug。。。如果没改啥代码 就照着wiki再来一次呗 |
|
|
|
|
|
|
|
楼主|
发表于 2022-5-12 18:01:03
来自手机
shanghuo 发表于 2022-5-12 17:59
好长的编译报错bug。。。如果没改啥代码 就照着wiki再来一次呗
我感觉是编译错误 |
|
|
|
|
|
|
|