- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用tensorflow / tensorflow docker并在其上安装了ros。这是我的图像:https://hub.docker.com/r/mpkuse/kusevisionkit/
我以
docker run --runtime=nvidia -it mpkuse/kusevisionkit:v0.4 bash
root@2fe10a6154c8:/app# rviz
[ INFO] [1539052958.662758017]: rviz version 1.12.16
[ INFO] [1539052958.662820468]: compiled against Qt version 5.5.1
[ INFO] [1539052958.662838215]: compiled against OGRE version 1.9.0 (Ghadamon)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Segmentation fault (core dumped)
最佳答案
您无法通过通用方式在Docker容器中打开RViz之类的GUI应用。
The simple way is exposing your xhost so that container can render to the correct display by reading and writing through the X11 UNIX socket.
docker run -it \
--env="DISPLAY" \
--env="QT_X11_NO_MITSHM=1" \
--volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
osrf/ros:indigo-desktop-full \
rqt
export containerId=$(docker ps -l -q)
关于docker - Docker上的Rviz核心转储,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52712685/
平台信息: ubuntu 18.04 ros:旋律 (base) lzw@lzw-OptiPlex-7060:~/software/ceres-bin-2.0.0$ rosdep install rv
在努力让教程 rviz 插件显示在 rviz 中时,我遗漏了一些东西。我有 visualization_tutorials 的源代码。在那个 git 仓库中,有 rviz_plugin_tutoria
我正在尝试在 RViz 中发送不同颜色的标记,以便我可以看到我的程序是否正在相应地工作。我现在只能发送对象点的坐标值。我的问题是我无法为这些点设置颜色。这是我的代码: #include #inclu
我正在尝试在 RViz 中发送不同颜色的标记,以便我可以看到我的程序是否正在相应地工作。我现在只能发送对象点的坐标值。我的问题是我无法为这些点设置颜色。这是我的代码: #include #inclu
我尝试使用高斯分布构建自己的点云。 rviz 的可视化不起作用。 这是我创建点云的方法 int sizeOfCloud = 1000; keypoints.points.resize(sizeOfCl
我在 Rviz 中为 PR2 的 head_plate_frame 设置了一些固定的位置和方向(姿态)值,试图将姿态从 head_plate_frame 转换为 base_link 框架并将值保存在位
我正在研究 the problem of this thread. 的解决方法 因为现有的 costmap2d 层似乎都不允许使用整个值范围 (0-255),所以我使用了 the ros-tutori
我正在关注 ROS 官方文档,了解如何 publish a point cloud我能够成功运行代码。现在我正在尝试使用 ROS RVIZ 可视化点云,但出现错误。 Transform [sender
我是一名优秀的程序员,十分优秀!