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

COULD NOT CREATE A LOGGINGFILE 20230524-200508.24585!Could not create logging file: No such file or directory #10

Open
dutwjw opened this issue May 24, 2023 · 16 comments

Comments

@dutwjw
Copy link

dutwjw commented May 24, 2023

这个工作很酷!!!!
我遇到这样的问题:

dataset S3E_library

run.launch 长这样

`


<!--- 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)"/> -->
`

报这个错
COULD NOT CREATE A LOGGINGFILE 20230524-200508.24585!Could not create logging file: No such file or directory
请问是什么原因?然后数据中a和b能拼一起,c就拼不上去了,但是,在bag读完之后,过了10几秒,c又能拼上去了,这是什么原因?我这需要什么其他配置吗?

@zhongshp
Copy link
Collaborator

  1. 应该是log的问题,你可以检查一下这个地方的目录(https://github.com/PengYu-Team/DCL-SLAM/blob/bcb36c1d5286d1dd0d2c909e64fa2cbb0ebb3af7/src/distributedMappingBasis.cpp#LL11C7-L11C7),或者检查一下这目录下的权限问题;当然你也可以注释掉所有的log。
  2. 应该是你的CPU配置在这个param下回环的效率比较低下。

@dutwjw
Copy link
Author

dutwjw commented May 25, 2023

ok,多谢!

@dutwjw
Copy link
Author

dutwjw commented May 25, 2023

S3E下的太慢了,要是能提供个百度盘连接或者迅雷连接就再好不过啦

@diamonazreal
Copy link

用笔记本跑得话,cpu和内存的配置最低要多少

@zhongshp
Copy link
Collaborator

我的pc是i7 12gen, 32G ddr4,但是应该可以更低

@dutwjw
Copy link
Author

dutwjw commented May 25, 2023

笔记本够呛吧。我是pc i7 10代 ddr4 16g。刚刚够能跑下来

@DapengFeng
Copy link

S3E下的太慢了,要是能提供个百度盘连接或者迅雷连接就再好不过啦

PengYu-Team/S3E#8

@dutwjw
Copy link
Author

dutwjw commented May 26, 2023

能问下这个paper中哪里了吗

@heisetiantang
Copy link

  1. 应该是log的问题,你可以检查一下这个地方的目录(https://github.com/PengYu-Team/DCL-SLAM/blob/bcb36c1d5286d1dd0d2c909e64fa2cbb0ebb3af7/src/distributedMappingBasis.cpp#LL11C7-L11C7),或者检查一下这目录下的权限问题;当然你也可以注释掉所有的log。%EF%BC%8C%E6%88%96%E8%80%85%E6%A3%80%E6%9F%A5%E4%B8%80%E4%B8%8B%E8%BF%99%E7%9B%AE%E5%BD%95%E4%B8%8B%E7%9A%84%E6%9D%83%E9%99%90%E9%97%AE%E9%A2%98%EF%BC%9B%E5%BD%93%E7%84%B6%E4%BD%A0%E4%B9%9F%E5%8F%AF%E4%BB%A5%E6%B3%A8%E9%87%8A%E6%8E%89%E6%89%80%E6%9C%89%E7%9A%84log%E3%80%82)
  2. 应该是你的CPU配置在这个param下回环的效率比较低下。

老哥,想向你请教,我不仅遇到了上面的无法写入log文件的问题,还遇见了新的问题
你有没有遇见如下问题,有偿请教,这是运行内存不够么还是硬盘内存不够呢

2023-07-11 15-02-59 的屏幕截图

@heisetiantang
Copy link

笔记本够呛吧。我是pc i7 10代 ddr4 16g。刚刚够能跑下来

老哥,同样的问题也想问问您

@dutwjw
Copy link
Author

dutwjw commented Jul 11, 2023

笔记本够呛吧。我是pc i7 10代 ddr4 16g。刚刚够能跑下来

老哥,同样的问题也想问问您

没有解决哈,感觉跟数据集有关。我用他们S3E图书馆的就还行。用我自己采集的就报错

@heisetiantang
Copy link

笔记本够呛吧。我是pc i7 10代 ddr4 16g。刚刚够能跑下来

老哥,同样的问题也想问问您

没有解决哈,感觉跟数据集有关。我用他们S3E图书馆的就还行。用我自己采集的就报错

我用他们的数据集也不行,rviz没有反映呢

@heisetiantang
Copy link

bad_alloc是提醒我内存不足么,唉,自己捉摸可太困难了

@heisetiantang
Copy link

bad_alloc是提醒我内存不足么,唉,自己捉摸可太困难了
还有其他好用的多机协同框架可以用么,感觉资料好少阿

@dutwjw
Copy link
Author

dutwjw commented Jul 11, 2023

email 联系我吧 [email protected]

@lumole
Copy link

lumole commented Jul 21, 2024

  1. 应该是log的问题,你可以检查一下这个地方的目录(https://github.com/PengYu-Team/DCL-SLAM/blob/bcb36c1d5286d1dd0d2c909e64fa2cbb0ebb3af7/src/distributedMappingBasis.cpp#LL11C7-L11C7),或者检查一下这目录下的权限问题;当然你也可以注释掉所有的log。%EF%BC%8C%E6%88%96%E8%80%85%E6%A3%80%E6%9F%A5%E4%B8%80%E4%B8%8B%E8%BF%99%E7%9B%AE%E5%BD%95%E4%B8%8B%E7%9A%84%E6%9D%83%E9%99%90%E9%97%AE%E9%A2%98%EF%BC%9B%E5%BD%93%E7%84%B6%E4%BD%A0%E4%B9%9F%E5%8F%AF%E4%BB%A5%E6%B3%A8%E9%87%8A%E6%8E%89%E6%89%80%E6%9C%89%E7%9A%84log%E3%80%82)
  2. 应该是你的CPU配置在这个param下回环的效率比较低下。

老哥,想向你请教,我不仅遇到了上面的无法写入log文件的问题,还遇见了新的问题 你有没有遇见如下问题,有偿请教,这是运行内存不够么还是硬盘内存不够呢

2023-07-11 15-02-59 的屏幕截图

应该是opencv版本问题,推荐使用4.3.0

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

6 participants