PJLab-ADG / Livox-Mapping

An all-in-one and ready-to-use LiDAR-inertial odometry system for Livox LiDAR
BSD 3-Clause "New" or "Revised" License
453 stars 104 forks source link

Can not build follow your steps #19

Closed wdwz2000 closed 2 years ago

wdwz2000 commented 2 years ago
  1. Can not pass the step 3-Build .

When I execute the sentence :_git clone https://github.com/PJLab-ADG/LIO_Livox_SLAM.git_, system responds me :remote: Repository not found. Is the website still be right?

  1. Besides, step 2.3-Docker :_docker run --gpus all -it -p 3316:22 --device=/dev/dri --group-add video --volume=/tmp/.X11-unix:/tmp/.X11-unix --env="DISPLAY=$DISPLAY" siyuanhuang95/livoxslam:release /bin/bash, I can not run, either , what does it mean? Is it necessary to execute? system responds me:docker: Error response from daemon: error gathering device information while adding custom device "/dev/dri": no such file or directory.
SiyuanHuang95 commented 2 years ago

Hi

  1. Thanks for pointing out our address error, now fixed.
  2. It's the command for docker env, you can create that folder or remove that parameter.
wdwz2000 commented 2 years ago

Thank you for your reply But I don't understand the commanddocker run --device=/dev/drivery well What directory is this /dev/dri? Is it the livox ladar mount directory? Or what device directory?(my device is livox-mid-70)

I am Chinese and my English is not very good. Can we talk in Chinese?

感谢您的回复 但是我对于docker run --device=/dev/dri这个命令不是很理解 请问这个/dev/dri是什么目录?是livox雷达挂载目录吗?还是什么设备的目录?(我的设备是 livox——mid-70) 最后,不好意思,我是个中国人,英语不太好,请问我们能不能用中文交谈?

wdwz2000 commented 2 years ago

Thank you for your reply But I don't understand the commanddocker run --device=/dev/drivery well What directory is this /dev/dri? Is it the livox ladar mount directory? Or what device directory?(my device is livox-mid-70)

I am Chinese and my English is not very good. Can we talk in Chinese?

感谢您的回复 但是我对于docker run --device=/dev/dri这个命令不是很理解 请问这个/dev/dri是什么目录?是livox雷达挂载目录吗?还是什么设备的目录?(我的设备是 livox——mid-70) 最后,不好意思,我是个中国人,英语不太好,请问我们能不能用中文交谈?

SiyuanHuang95 commented 2 years ago

Hi,

--device declares the folder where your docker could operate. It has no relation with Livox.

这个目录只是docker相关的设定,和livox硬件无关

wdwz2000 commented 2 years ago

所以这条命令不需要我依据实际情况进行更改是吗?可是在我执行之后会给我报错: docker: Error response from daemon: error gathering device information while adding custom device "/dev/dri": no such file or directory. 如果我手动创建这个文件夹,再执行这条命令,会报错: docker: Error response from daemon: error gathering device information while adding custom device "/dev/dri": not a device node. 请问我该怎么办?(板子是nvidia tx2,arm64架构)

SiyuanHuang95 commented 2 years ago

I guess the biggest problem is from the OS.

/dev/dri usually contains the graphical related, like Nvidia/xlog, etc. We use this command to let the docker use host-pc's display.

We have not tested it with TX2, so no further help could be offered.

SiyuanHuang95 commented 2 years ago

Since there is no further update, I will close this issue.