我正在使用 ROS2,我遇到的情况是“ ros2 主题列表”未显示 ros2 网络上的所有主题。
上面的命令只显示:
我认为DDS发行版的配置存在一定的不匹配。我研究了互联网并得到了Cyclone DDS后台支持ROS2发行版。此外,Cyclone DDS 的运行时配置是通过CYCLONEDDS_URI环境导出进行的。
我希望“ros2 主题列表”应显示我所有可用的主题(加上 2 个主题/parameter_events和/rosout)。
有人遇到和我一样的问题吗?谢谢!
提出我的问题是因为我的 build-yocto 服务器遇到了错误:
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/mnt/wd2tb/home/Work/skrzg1h_iWg21m_QtHmi/build/downloads/git2/github.com.qtproject.qtenginio.git'...
Fetcher failure for URL: 'git://github.com/qtproject/qtenginio.git;name=qtenginio;branch=5.6;protocol=git'. Unable to fetch URL from any source.
Run Code Online (Sandbox Code Playgroud)
与此同时,我的电脑可以做到这一点。因此,我将qtenginio 存储库克隆到了本地 PC。
$ git clone git://github.com/qtproject/qtenginio.git;name=qtenginio;branch=5.6;protocol=git
Run Code Online (Sandbox Code Playgroud)
并将上面下载的源代码复制到Yocto项目的downloads/git2/github.com.qtproject.qtenginio.git文件夹中。
最后,我运行 bitbake 命令。
$ bitbake qtenginio
Run Code Online (Sandbox Code Playgroud)
但是提取仍然失败。在这种情况下,任何人都可以帮助我吗?
使用 gst-launch-1.0 播放视频时,我们可以通过添加--padprobe v:sink --timer和name=v来测量帧率 (FPS),如下例所示:
gst-launch-1.0 -e --padprobe v:sink --timer filesrc location=video-h264-bl10-fhd-30p-5m-aac-lc-stereo-124k-48000x264.mp4 \
! qtdemux ! queue ! omxh264dec ! \
vspfilter ! video/x-raw,format=BGRA ! waylandsink position-x=0 position-y=0 \
out-width=800 out-height=480 qos=false max-lateness=-1 name=v
Run Code Online (Sandbox Code Playgroud)
控制台的输出是
FPS: 9 TIME 11:57:47
FPS: 8 TIME 11:57:48
FPS: 8 TIME 11:57:49
FPS: 8 TIME 11:57:50
FPS: 9 TIME 11:57:51
FPS: 8 TIME 11:57:52
FPS: 8 TIME 11:57:53
FPS: 8 TIME 11:57:54
FPS: 9 TIME 11:57:55
FPS: 8 TIME 11:57:56 …Run Code Online (Sandbox Code Playgroud) 使用git pull命令时出现错误
fatal: unable to access 'https://github.com/path/to/repo.git/': gnutls_handshake() failed: Error in the pull function.
Run Code Online (Sandbox Code Playgroud)
我尝试了许多来自Internet的方法,但是它们没有用。另外,尝试处理我网络中的代理。
我的电脑:Ubuntu 16.04 LTS x86_64
有没有解决问题的有效方法?
注意:有一些解决方案https://devopscube.com/gnutls-handshake-failed-aws-codecommit/或https://askubuntu.com/questions/186847/error-gnutls-handshake-failed-when-connecting-到https服务器,但在我的情况下不起作用。