nao-robot - NAOqi 版本中缺少 getDirectRawImageRemote()。2.8.6.23
问题描述
从NAOqi版本移植后。2.8.5.10 到 2.8.6.23 我发现:
std::string ALVideoDeviceProxy::subscribe()
丢失,这不是那么可疑,因为它已经被弃用并且可以替换为:
std::string ALVideoDeviceProxy::subscribeCamera()
但是也:
AL::ALValue ALVideoDeviceProxy::getDirectRawImageRemote()
丢失,必须替换为:
AL::ALValue ALVideoDeviceProxy::getImageRemote()
它是否正确,是否对性能有任何影响?
解决方案
一些 API 已被删除,文档将相应更新。
是的,您可以使用getImageRemote
而不是getDirectRawImageRemote
. 如果只有一个订阅者或多个订阅者使用本机支持的相同分辨率和色彩空间 ( kYUV422ColorSpace
),则不会影响性能。在这种情况下,没有调整大小或颜色空间转换。
推荐阅读
- reactjs - 样式不适用于 css 组合器 + 带有 makeStyles() material-ui 的伪类
- c++ - 更新后 OpenCV Cpp 代码未在 Ubuntu 20.04 中运行
- python-3.x - Selenium 点击循环忽略了一些值
- python - 为什么在弹性搜索中点击 api 时索引会继续创建
- r - 尝试使用 Rticles 生成示例 R 降价时出错:找不到 pdflatex Ubuntu 20.04
- android - android:autoLink 在 Android 的 ButtonView 中不起作用?
- c# - 如何使用 Halcon HOperatorSet.SetDrawingObjectCallback
- css - CSS Snap Scroll,垂直滚动问题
- android - 触发 JobIntentService 时未调用广播接收器
- flutter - 有什么方法可以通过颤振开发第一个屏幕内容?