tuw-robotics / tuw_multi_robot

BSD 3-Clause "New" or "Revised" License
247 stars 113 forks source link

catkin_make failed #43

Open zhthree3 opened 1 year ago

zhthree3 commented 1 year ago

When I followed the [INSTALL.md] operation and ran the catkin_make, make failed, and the following error was reported:

-- ~~~~~~~~~~~~~ -- ~~ traversing 16 packages in topological order: -- ~~ - tuw_airskin_msgs (plain cmake) -- ~~ - tuw_geometry_msgs (plain cmake) -- ~~ - tuw_graph_msgs (plain cmake) -- ~~ - tuw_msgs (plain cmake) -- ~~ - tuw_multi_robot (metapackage) -- ~~ - tuw_multi_robot_demo -- ~~ - tuw_multi_robot_msgs (plain cmake) -- ~~ - tuw_nav_msgs (plain cmake) -- ~~ - tuw_object_msgs (plain cmake) -- ~~ - tuw_geometry -- ~~ - tuw_multi_robot_ctrl -- ~~ - tuw_multi_robot_goal_generator -- ~~ - tuw_multi_robot_local_behavior_controller -- ~~ - tuw_voronoi_graph -- ~~ - tuw_multi_robot_router -- ~~ - tuw_multi_robot_rviz -- ~~~~~~~~~~~~~ CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_workspace.cmake:100 (message): This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command instead. Call Stack (most recent call first): CMakeLists.txt:69 (catkin_workspace)

-- Configuring incomplete, errors occurred! Invoking "cmake" failed

maxbader commented 1 year ago

Hi Check if you have the correct branch on tuw_geometry and tuw_msgs the default branch there changed to ros2.

zhthree3 commented 1 year ago

It was a mistake caused by tuw_msgs, after selecting the correct branch, the problem was resolved.

zhthree3 commented 1 year ago

I was able to build successfully, but there were still errors when running launch. Only the first run displayed the Voronoi map in RVIZ, and after running again, the following error will report:

[ INFO] [1694167884.400087825]: Initialization done! [ INFO] [1694167884.617843018]: Recieved the occupancy grid map terminate called after throwing an instance of 'boost::archive::archive_exception' what(): input stream error-Resource temporarily unavailable [graph_generator-4] process has died [pid 1385658, exit code -6, cmd /home/zh/Hybrid_AStar/voronoi_hybrid_astar_ws/devel/lib/tuw_voronoi_graph/tuw_voronoi_graph_node __name:=graph_generator __log:=/home/zh/.ros/log/10a08646-4e30-11ee-bcb6-8d787f079bca/graph_generator-4.log]. log file: /home/zh/.ros/log/10a08646-4e30-11ee-bcb6-8d787f079bca/graph_generator-4*.log

maxbader commented 1 year ago

Maybe it is related to https://github.com/tuw-robotics/tuw_multi_robot/pull/35

zhthree3 commented 1 year ago

Thanks, I added label at the end of the XML, and the error disappeared.

maxbader commented 1 year ago

Sorry, I am short on time, can you make a pull request for a merge?

zhthree3 commented 1 year ago

I just manually added this label at the end of xml to prevent the program from dying, but now I don't know how to ensure that this label exists when saving the xml.

gogxc commented 9 months ago

I just manually added this label at the end of xml to prevent the program from dying, but now I don't know how to ensure that this label exists when saving the xml.

Hi, I have the same problem, has it been solved yet?

gogxc commented 9 months ago

I just manually added this label at the end of xml to prevent the program from dying, but now I don't know how to ensure that this label exists when saving the xml.

Did you add all the xml files you added? Or just one file?

zhthree3 commented 8 months ago

I just manually added this label at the end of xml to prevent the program from dying, but now I don't know how to ensure that this label exists when saving the xml.

Did you add all the xml files you added? Or just one file?

Hi,I don't have a deep impression, but I remember that it was in all the generated xml files that recorded graph information.Historical issue may be able to answer your questions.

gogxc commented 8 months ago

微信图片_20240224224834 Thanks, but I'm showing invalid xml after following what you said, and I'm not sure how I should add .

ahmetyuce526 commented 4 weeks ago

hi I have same problem , can anyone solved this problem , please help ?