SensorsCalibration icon indicating copy to clipboard operation
SensorsCalibration copied to clipboard

How to display GUI

Open dangerous-xu opened this issue 2 years ago • 18 comments

I have linked the code to the container and compile the code. If I run the script, how to display the GUI manually adjust parameters. thanks!

dangerous-xu avatar Jun 09 '22 08:06 dangerous-xu

Hi, To address this issue, I forked this repo and add a script for docker visualization. You could check: https://github.com/BayRanger/SensorsCalibration And the usage has been added to README

Bests, BR

BayRanger avatar Jun 11 '22 09:06 BayRanger

one mistake; and still not work image

image

HardSoft2023 avatar Jun 11 '22 13:06 HardSoft2023

Hi, To address this issue, I forked this repo and add a script for docker visualization. You could check: https://github.com/BayRanger/SensorsCalibration And the usage has been added to README

Bests, BR

follow your README, i have the same error.

terminate called after throwing an instance of 'std::runtime_error' what(): Pangolin X11: Unable to retrieve framebuffer options Aborted (core dumped)

AndrewJSong avatar Jun 17 '22 01:06 AndrewJSong

you could try using sudo before the command in the container.

BayRanger avatar Jun 18 '22 08:06 BayRanger

I have the same issue and sudo not work yet.

wqk151 avatar Jun 23 '22 09:06 wqk151

Hi, To address this issue, I forked this repo and add a script for docker visualization. You could check: https://github.com/BayRanger/SensorsCalibration And the usage has been added to README

Bests, BR

Thanks! It's ok!

sywin avatar Jul 07 '22 02:07 sywin

Hello, I have the same issue and have tried almost all the methods I could find. However, none of them can work.

Finally, I noticed that it may be a better choice to install the required dependencies on the host machine rather than on docker. So, I installed Pangolin on my host machine using source code and solved this issue.

JiayinDeng avatar Jul 13 '22 04:07 JiayinDeng

Hello, I have the same issue and have tried almost all the methods I could find. However, none of them can work.

Finally, I noticed that it may be a better choice to install the required dependencies on the host machine rather than on docker. So, I installed Pangolin on my host machine using source code and solved this issue.

没错,使用docker尝试过在远程服务器/本机/虚拟机/有无显卡的机器上测试,均无法实现图形界面显示。最后还是自己安装PCL VTK OPENCV实现可视化界面

AndrewJSong avatar Jul 13 '22 05:07 AndrewJSong

Hello, I have the same issue and have tried almost all the methods I could find. However, none of them can work. Finally, I noticed that it may be a better choice to install the required dependencies on the host machine rather than on docker. So, I installed Pangolin on my host machine using source code and solved this issue.

没错,使用docker尝试过在远程服务器/本机/虚拟机/有无显卡的机器上测试,均无法实现图形界面显示。最后还是自己安装PCL VTK OPENCV实现可视化界面

I also want to visualize the GUI in docker, can you offer some instructions or docker image?

kapaper avatar Aug 15 '22 06:08 kapaper

没错,使用docker尝试过在远程服务器/本机/虚拟机/有无显卡的机器上测试,均无法实现图形界面显示。最后还是自己安装PCL VTK OPENCV实现可视化界面

你好,我在本地装了opencv2.4.13,pcl1.9.1但是lidar2camera和radar2camera的手动标定程序总是出错。你本地是怎么安装的啊

NovemberChopin avatar Aug 24 '22 09:08 NovemberChopin

Ubuntu22 本地安装环境的相关依赖版本: 建议各位在虚拟机中尝试通过后再在实体机中安装,其中会有几个错误需要修改,百度很好解决,古德拉克

pangolin 0.6

PCL 1.12.0

Eigen 3.4.0

VTK 8.2.0

C++ 14 (根据报错情况再修改你跑的项目的cmakelists.txt)

jsoncpp,需要将jsoncpp里包含头文件的json文件夹拷贝到manual_calib的include文件夹中。(这个找到git的项目主页拉下来源码)

VTK的安装依赖比较麻烦,多看看教程

AndrewJSong avatar Sep 01 '22 06:09 AndrewJSong

没错,使用docker尝试过在远程服务器/本机/虚拟机/有无显卡的机器上测试,均无法实现图形界面显示。最后还是自己安装PCL VTK OPENCV实现可视化界面

你好,我在本地装了opencv2.4.13,pcl1.9.1但是lidar2camera和radar2camera的手动标定程序总是出错。你本地是怎么安装的啊

opencv版本没有问题,问题出在其他的依赖上。本地安装依赖参考我上一个回复。lidar2camera的joint和Manuel都没有问题,radar我没试过,你可以试试看。古德拉克

AndrewJSong avatar Sep 01 '22 06:09 AndrewJSong

你好,关于运行手动标注segmentation fault报错已经解决了,在CalibrationInit和CalibrationScaleChange函数里面有一行代码: modification_list_.[i]=tmp; ,改成 modification_list_.push_back(tmp);就可以了。

我觉得这行代码直接用 push_back会更好,用下标方式有时候就可以,有时候就不可以,环境来来回回装了好多次,太折磨人了

我的环境 ubuntu 18.04  opencv 2.4.13  pcl 1.9 eigen 3.3.8 pangolin 0.5

盐的甜 @.***

 

------------------ 原始邮件 ------------------ 发件人: "PJLab-ADG/SensorsCalibration" @.>; 发送时间: 2022年9月1日(星期四) 下午2:37 @.>; @.@.>; 主题: Re: [PJLab-ADG/SensorsCalibration] How to display GUI (Issue #7)

Ubuntu22 本地安装环境的相关依赖版本: 建议各位在虚拟机中尝试通过后再在实体机中安装,其中会有几个错误需要修改,百度很好解决,古德拉克

pangolin 0.6

PCL 1.12.0

Eigen 3.4.0

VTK 8.2.0

C++ 14 (根据报错情况再修改你跑的项目的cmakelists.txt)

jsoncpp,需要将jsoncpp里包含头文件的json文件夹拷贝到manual_calib的include文件夹中。(这个找到git的项目主页拉下来源码)

VTK的安装依赖比较麻烦,多看看教程

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

NovemberChopin avatar Sep 03 '22 04:09 NovemberChopin

recommend that you should install ubuntu on a real machine , then run docker environment with nvidia docker container tools installed to shou gui

YhQIAO avatar Mar 19 '23 10:03 YhQIAO

i have tried to show gui result on ubuntu desktop without nvidia GPU, failed.

FlyingAnt2018 avatar May 25 '23 02:05 FlyingAnt2018

Hi, To address this issue, I forked this repo and add a script for docker visualization. You could check: https://github.com/BayRanger/SensorsCalibration And the usage has been added to README

Bests, BR

这个fork有用,我从这里拉取的仓库然后在root用户下创建了docker容器,然后从容器里编译文件和运行都没有问题。GUI也可以正常显示。 重点:我之前试了好多次从普通用户创建docker容器然后各种变更权限都不行,一定要在root用户下,而且创建容器的时候一定要运行run_docker.sh脚本,两点缺哪一个都无法正常运行。 这么做的一个坏处是,root用户下创建的容器无法在docker desktop上显示并且控制,只能通过终端进行控制。但这些比起无法运行都只是小事。

laomeng0703 avatar Jun 28 '23 07:06 laomeng0703

请问一定需要GPU吗

zw-92 avatar Jul 10 '23 02:07 zw-92