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

你好 我运行的时候有点问题 #51

Closed
tulingcheng86 opened this issue May 21, 2024 · 8 comments
Closed

你好 我运行的时候有点问题 #51

tulingcheng86 opened this issue May 21, 2024 · 8 comments

Comments

@tulingcheng86
Copy link

我是按照https://github.com/HITSZ-NRSL/Dynamic-VINS/blob/main/doc/INSTALL.md#21-nvidia-devices构建
电脑运行;
yolo_ros单独运行没问题,roslaunch yolo_ros yolo_service.launchrosbag play cafe1-1.bag-imu.bag运行有检测结果;
但是运行

roslaunch vins_estimator openloris_vio_pytorch.launch
roslaunch vins_estimator vins_rviz.launch # Visualization
rosbag play  rosbag  play cafe1-1.bag-imu.bag

rviz里面没画面和没轨迹

image

在我运行roslaunch vins_estimator openloris_vio_pytorch.launch

... logging to /root/.ros/log/a90bea7e-1766-11ef-8972-0242ac110002/roslaunch-d22a80a4bf79-149641.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://d22a80a4bf79:39177/

SUMMARY
========

PARAMETERS
 * /EstimatorNodelet/config_file: /root/catkin_ws/s...
 * /EstimatorNodelet/vins_folder: /root/catkin_ws/s...
 * /rosdistro: melodic
 * /rosversion: 1.14.13
 * /yolov5/action: False
 * /yolov5/device: gpu
 * /yolov5/img_size: 640

NODES
  /
    EstimatorNodelet (nodelet/nodelet)
    demo_server (yolo_ros/demo_service_server.py)
    nodelet_manager_pc (nodelet/nodelet)
    service_client (yolo_ros/service_client)

auto-starting new master
process[master]: started with pid [149654]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to a90bea7e-1766-11ef-8972-0242ac110002
process[rosout-1]: started with pid [149665]
started core service [/rosout]
process[demo_server-2]: started with pid [149668]
process[service_client-3]: started with pid [149673]
[ INFO] [1716291516.825454846]: waitForService: Service [/yolo_service] has not been advertised, waiting...
process[nodelet_manager_pc-4]: started with pid [149693]
[ INFO] [1716291516.900125932]: Initializing nodelet with 20 worker threads.
process[EstimatorNodelet-5]: started with pid [149708]
[ INFO] [1716291516.970929060]: Loading nodelet /EstimatorNodelet of type vins_estimator/EstimatorNodelet to manager nodelet_manager_pc with the following remappings:
[ INFO] [1716291516.971241555]: /camera/color/image_raw -> /d400/color/image_raw
[ERROR] [1716291517.003830591]: Failed to load nodelet [/EstimatorNodelet] of type [vins_estimator/EstimatorNodelet] even after refreshing the cache: MultiLibraryClassLoader: Could not create object of class type estimator_nodelet_ns::EstimatorNodelet as no factory exists for it. Make sure that the library exists and was explicitly loaded through MultiLibraryClassLoader::loadLibrary()
[ERROR] [1716291517.003853873]: The error before refreshing the cache was: Failed to load library /root/catkin_ws/devel/lib//libestimator_nodelet.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /root/catkin_ws/devel/lib//libestimator_nodelet.so: undefined symbol: _Z11DEPTH_TOPICB5cxx11)
[FATAL] [1716291517.003943700]: Failed to load nodelet '/EstimatorNodelet` of type `vins_estimator/EstimatorNodelet` to manager `nodelet_manager_pc'
[EstimatorNodelet-5] process has died [pid 149708, exit code 255, cmd /opt/ros/melodic/lib/nodelet/nodelet load vins_estimator/EstimatorNodelet nodelet_manager_pc /camera/color/image_raw:=/d400/color/image_raw __name:=EstimatorNodelet __log:=/root/.ros/log/a90bea7e-1766-11ef-8972-0242ac110002/EstimatorNodelet-5.log].
log file: /root/.ros/log/a90bea7e-1766-11ef-8972-0242ac110002/EstimatorNodelet-5*.log
YOLOv5 🚀 e310fa9 torch 1.10.2+cu113 CUDA:0 (NVIDIA GeForce RTX 3060 Ti, 7965MiB)

有error报错
image

@jianhengLiu
Copy link
Collaborator

参考 issue: #1#17

@tulingcheng86
Copy link
Author

参考 issue: #1#17

我的opencv版本就是melodic自带的好像,3.2.0,,我卸载了再重装的也是3.2.0。还是报这个错误。
这个项目的依赖我是在我自己已经装好vinsfusion的环境下在下载编译的,cere的版本没有按照https://github.com/HITSZ-NRSL/Dynamic-VINS/blob/main/doc/INSTALL.md这个一样,而是1.14.0版本,其他步骤一致

@tulingcheng86
Copy link
Author

我尝试按照依赖自己建了一个docker运行,能成功运行。。我得排查下之前为什么不行的原因才行

@jianhengLiu
Copy link
Collaborator

jianhengLiu commented May 22, 2024 via email

@tulingcheng86
Copy link
Author

好的,欢迎分享排查出的问题,谢谢

---原始邮件--- 发件人: @.> 发送时间: 2024年5月22日(周三) 中午11:50 收件人: @.>; 抄送: @.@.>; 主题: Re: [HITSZ-NRSL/Dynamic-VINS] 你好 我运行的时候有点问题 (Issue #51) 我尝试按照依赖自己建了一个docker运行,能成功运行。。我得排查下之前为什么不行的原因才行 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

好的,作者你有关于这个项目的所发表的论文吗,我想学习下。

@tulingcheng86
Copy link
Author

好的,欢迎分享排查出的问题,谢谢

---原始邮件--- 发件人: @.> 发送时间: 2024年5月22日(周三) 中午11:50 收件人: _@**._>; 抄送: _@.@._>; 主题: Re: [HITSZ-NRSL/Dynamic-VINS] 你好 我运行的时候有点问题 (Issue #51) 我尝试按照依赖自己建了一个docker运行,能成功运行。。我得排查下之前为什么不行的原因才行 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: _@_.*>

好的,作者你有关于这个项目的所发表的论文吗,我想学习下。

找到了,不需要了。

@TAKAGNU
Copy link

TAKAGNU commented Jul 10, 2024

我尝试按照依赖自己建了一个docker运行,能成功运行。。我得排查下之前为什么不行的原因才行

您好,我遇到了和您一样的问题,请问您排查出来报错的原因了吗?

@tulingcheng86
Copy link
Author

我尝试按照依赖自己建了一个docker运行,能成功运行。。我得排查下之前为什么不行的原因才行

您好,我遇到了和您一样的问题,请问您排查出来报错的原因了吗?

没有。。docker跑起来之后就没管了

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