|
【Linux】
ubuntu20.04+ros2-foxy;无法打开rviz2和rqt_image_view
发表于 2023-11-1 16:01:09
浏览:2842
|
回复:3
打印
只看该作者
[复制链接]
楼主
我在终端依次输入:
(1)source /opt/ros/foxy/setup.bash
rviz2
发生报错:
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
libGL error: failed to create dri screen
libGL error: failed to load driver: rockchip
rviz2: /tmp/binarydeb/ros-foxy-rviz-ogre-vendor-8.2.8/.obj-aarch64-linux-gnu/ogre-v1.12.1-prefix/src/ogre-v1.12.1/RenderSystems/GL/src/OgreGLRenderSystem.cpp:3468: void Ogre::GLRenderSystem::initialiseExtensions(): Assertion `pcVer && "Problems getting GL version string using glGetString"' failed.
Aborted (core dumped)
(2) source /opt/ros/foxy/setup.bash
ros2 run rqt_image_view rqt_image_view
发生报错:
Traceback (most recent call last):
File "/opt/ros/foxy/lib/rqt_image_view/rqt_image_view", line 13, in <module>
sys.exit(main.main(
File "/opt/ros/foxy/lib/python3.8/site-packages/rqt_gui/main.py", line 57, in main
return super(
File "/opt/ros/foxy/lib/python3.8/site-packages/qt_gui/main.py", line 410, in main
from python_qt_binding import QT_BINDING
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/__init__.py", line 56, in <module>
from python_qt_binding.binding_helper import loadUi # noqa: F401
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 277, in <module>
_select_qt_binding(
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 118, in _select_qt_binding
raise ImportError(
ImportError: Could not find Qt binding (looked for: 'pyqt', 'pyside'):
ImportError for 'pyqt': /usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5
Traceback (most recent call last):
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 108, in _select_qt_binding
QT_BINDING_VERSION = binding_loader(required_modules, optional_modules)
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 153, in _load_pyqt
_named_import('PyQt5.%s' % module_name)
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 133, in _named_import
module = builtins.__import__(name)
ImportError: /usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5
ImportError for 'pyside': /usr/lib/python3/dist-packages/PySide2/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5
Traceback (most recent call last):
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 108, in _select_qt_binding
QT_BINDING_VERSION = binding_loader(required_modules, optional_modules)
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 185, in _load_pyside
_named_import('PySide2.%s' % module_name)
File "/opt/ros/foxy/lib/python3.8/site-packages/python_qt_binding/binding_helper.py", line 133, in _named_import
module = builtins.__import__(name)
ImportError: /usr/lib/python3/dist-packages/PySide2/QtGui.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZTI18QOpenGLTimeMonitor, version Qt_5
|
|