PengYu-Team / DCL-SLAM

A ROS package of DCL-SLAM: Distributed Collaborative LiDAR SLAM Framework for a Robotic Swarm.
Apache License 2.0
195 stars 20 forks source link

process has died #9

Closed dutWangDa closed 1 year ago

dutWangDa commented 1 year ago

[a/dcl_lio_sam_mapOptmization-7] process has died [pid 65769, exit code -6, cmd /home/wangda/Downloads/cs/devel/lib/dcl_lio_sam/dcl_lio_sam_mapOptmization __name:=dcl_lio_sam_mapOptmization __log:=/home/wangda/.ros/log/2aa2e9f8-f9fd-11ed-b0d7-3182bc68a46f/a-dcl_lio_sam_mapOptmization-7.log]. log file: /home/wangda/.ros/log/2aa2e9f8-f9fd-11ed-b0d7-3182bc68a46f/a-dcl_lio_sam_mapOptmization-7*.log

dutWangDa commented 1 year ago

你好,我按照README.md 一步一步来的。数据包用的是 S3E_Library.bag。run.launch长这样

`

<arg name="set_respawn_value" default="false"/>  <!-- boolean: true, false -->

<!--- rviz -->
<node pkg="rviz" type="rviz" name="dcl_rviz" args="-d $(find dcl_slam)/config/dcl_rviz.rviz" />
<node pkg="dcl_slam" type="dcl_slam_loopVisualizationNode" name="dcl_slam_loopVisualizationNode" output="screen" />

<!-- Robot list -->
<include file="$(find dcl_slam)/launch/single_ugv.launch">
    <arg name="robotPrefix" value="a"/>
    <arg name="respawnValue" value="$(arg set_respawn_value)"/>
    <arg name="lioType" value="$(arg set_lio_type)"/>
</include>

<include file="$(find dcl_slam)/launch/single_ugv.launch">
    <arg name="robotPrefix" value="b"/>
    <arg name="respawnValue" value="$(arg set_respawn_value)"/>
    <arg name="lioType" value="$(arg set_lio_type)"/>
</include>

<include file="$(find dcl_slam)/launch/single_ugv.launch">
    <arg name="robotPrefix" value="c"/>
    <arg name="respawnValue" value="$(arg set_respawn_value)"/>
    <arg name="lioType" value="$(arg set_lio_type)"/>
</include>

<!-- rosbag player node ->> you need to change bag file here!!! -->
<!-- SYSU S3E bag file path -->
<!-- <arg name="SYSU_bag" value="$(env HOME)/SYSU_STATUE.bag"/> -->
<!-- <arg name="SYSU_bag" value="$(env HOME)/SYSU_FOOTBALL_FIELD_1.bag"/>  -->
<!-- <arg name="SYSU_bag" value="$(env HOME)/rosbag-data/S3E/SYSU_FOOTBALL_FIELD_2.bag"/>  -->
<!-- <arg name="SYSU_bag" value="$(env HOME)/rosbag-data/S3E/SYSU_LIVING_QUARTERS.bag"/> -->
<arg name="SYSU_bag" value="/home/wangda/Downloads/S3E_Library.bag"/>
<!-- <arg name="SYSU_bag" value="$(env HOME)/rosbag-data/S3E/SYSU_LABORATORY_BUILDING.bag"/> -->
<!-- <arg name="SYSU_bag" value="$(env HOME)/rosbag-data/S3E/SYSU_TEACHING_BUILDING.bag"/> -->
<!-- <arg name="SYSU_bag" value="$(env HOME)/rosbag-data/S3E/SYSU_ARCHWAY_2.bag"/> -->

<!-- <arg name="SYSU_bag" value="$(env HOME)/rosbag-data/S3E/SYSU_GEZHIYUAN_1.bag"/> -->
<!-- <arg name="SYSU_bag" value="$(env HOME)/rosbag-data/S3E/SYSU_GEZHIYUAN_2.bag"/> -->
<!-- <arg name="SYSU_bag" value="$(env HOME)/rosbag-data/S3E/SYSU_GEZHIYUAN_3.bag"/> -->
<!-- <arg name="SYSU_bag" value="$(env HOME)/rosbag-data/S3E/SYSU_GEZHIYUAN_4.bag"/> -->

<remap from="/Alpha/velodyne_points" to="/a/velodyne_points"/>
<remap from="/Bob/velodyne_points" to="/b/velodyne_points"/>
<remap from="/Carol/velodyne_points" to="/c/velodyne_points"/>
<remap from="/Alpha/imu/data" to="/a/imu/data"/>
<remap from="/Bob/imu/data" to="/b/imu/data"/>
<remap from="/Carol/imu/data" to="/c/imu/data"/>

<node name="player2" pkg="rosbag" type="play" output="screen" args="-r 1 -q -d 2 $(arg SYSU_bag)"/>

<!-- <arg name="bag_file3" value="$(env HOME)/2022_07_22_19_48_01_rect.bag"/>
<arg name="bag_file4" value="$(env HOME)/2022_07_22_19_54_37_rect.bag"/>
<arg name="bag_file5" value="$(env HOME)/2022_07_22_20_01_00_rect.bag"/>
<node name="player3" pkg="rosbag" type="play" output="screen" args="-r 1 -p a -q -d 2 $(arg bag_file3)"/>
<node name="player4" pkg="rosbag" type="play" output="screen" args="-r 1 -p b -q -d 2 $(arg bag_file4)"/>
<node name="player5" pkg="rosbag" type="play" output="screen" args="-r 1 -p c -q -d 2 $(arg bag_file5)"/> -->

`

前面都正常运行,运行不到一半的时候a和b就报这个错,然后只有c自己接着往前走

zhongshp commented 1 year ago

You may need to create a directory for writing files, please check https://github.com/PengYu-Team/distributed_mapper_catkin/blob/5f4ce8ee06f50776577a1305f89345f79db7fe6e/src/pairwise_consistency_maximization/global_map/global_map.cpp#L11.

dutWangDa commented 1 year ago

3q

QingSimon commented 1 year ago

3q

Have you solve the problem? I come into the same problem, but it does not work by by creating a directory for writing files.

heisetiantang commented 10 months ago

这个方式并没有能够解决节点死亡的问题,请教作者在看看,

heisetiantang commented 10 months ago

@zhongshp

INDEX108 commented 9 months ago

3q

解决了么,我也是同样的问题,但是该方法没有解决。

JoyuZheng commented 9 months ago

@INDEX108 请问你解决了吗?

lumole commented 1 month ago

@INDEX108 请问你解决了吗?

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

lumole commented 1 month ago

解决了,我这面的问题是OPENCV的版本过高,版本换成4.3及以下可以正常跑