rs-enumerate-devices data
realsense
rs2::context ctx;
auto devicelist = ctx.query_devices();
if (devicelist.size() > 0)
{
rs2::log_to_console(RS2_LOG_SEVERITY_DEBUG);
rs2::device dev = devicelist.front();
fprintf(stdout, "\nRealsense Device info---\n"
" Name : %s\n"
" Serial Number : %s\n"
" Firmware Version : %s\n"
" USB Type : %s\n"
" Stream Color : %d, %d, %d\n",
dev.get_info(RS2_CAMERA_INFO_NAME),
dev.get_info(RS2_CAMERA_INFO_SERIAL_NUMBER),
dev.get_info(RS2_CAMERA_INFO_FIRMWARE_VERSION),
dev.get_info(RS2_CAMERA_INFO_USB_TYPE_DESCRIPTOR),
RS_WIDTH, RS_HEIGHT, RS_FPS); rs2::config cfg;
cfg.enable_stream(RS2_STREAM_COLOR, 1920, 1080, RS2_FORMAT_YUYV, 30);
pipe.start(cfg); processing_thread = std::thread([&](){
while (running)
{
rs2::frameset fs;
if (pipe.try_wait_for_frames(&fs, 1000))
{
rs2::frame color_frame = fs.get_color_frame();
update_texture(texture, color_frame.get_data());
}
}
});
}
The log file shows that:
Realsense Device info---
Name : Intel RealSense D415
Serial Number : 732612060238
Firmware Version : 05.11.01.00
USB Type : 3.2
Stream Color : 1920, 1080, 30 10/01 12:52:49,118 INFO [548547798704] (backend-hid.cpp:1178) Failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device0
10/01 12:52:49,118 DEBUG [548547798704] (ds5-factory.cpp:568) try_fetch_usb_device(...) failed.
10/01 12:52:49,123 INFO [548547798704] (backend-v4l2.cpp:1468) v4l_uvc_meta_device
10/01 12:52:49,127 INFO [548547798704] (backend-v4l2.cpp:1468) v4l_uvc_meta_device
10/01 12:52:49,136 INFO [548547798704] (backend-v4l2.cpp:1468) v4l_uvc_meta_device
10/01 12:52:49,141 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format Depth data 16-bit (Z16)
10/01 12:52:49,147 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format 8-bit Greyscale
10/01 12:52:49,148 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format UYVY 4:2:2
10/01 12:52:49,148 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format 8-bit Greyscale
10/01 12:52:49,154 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format Greyscale 8 L/R (Y8I)
10/01 12:52:49,160 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format Greyscale 12 L/R (Y12I)
10/01 12:52:49,172 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format YUYV 4:2:2
10/01 12:52:49,179 WARNING [548547798704] (backend-v4l2.cpp:1248) Pixel format 36315752-1a66-a242-9065-d01814a likely requires patch for fourcc code RW16!
10/01 12:52:49,180 WARNING [548547798704] (sensor.cpp:338) Unregistered Media formats : [ RW16 ]; Supported: [ ]
10/01 12:52:49,206 INFO [548547798704] (backend-v4l2.cpp:1460) Trying to configure fourcc YUYV
10/01 12:52:49,206 DEBUG [548547798704] (backend-v4l2.cpp:1587) Metadata node was successfully configured to D4XX format
10/01 12:52:49,237 INFO [548170531248] (backend-v4l2.cpp:996) Empty video frame arrived
10/01 12:52:49,239 INFO [548170531248] (backend-v4l2.cpp:996) Empty video frame arrived
10/01 12:52:49,239 INFO [548170531248] (backend-v4l2.cpp:996) Empty video frame arrived
10/01 12:52:49,239 INFO [548170531248] (backend-v4l2.cpp:996) Empty video frame arrived
10/01 12:52:49,242 INFO [548547798704] (backend-v4l2.cpp:1473) ~v4l_uvc_meta_device
10/01 12:52:49,242 INFO [548547798704] (backend-v4l2.cpp:1473) ~v4l_uvc_meta_device
10/01 12:52:49,247 INFO [548547798704] (backend-v4l2.cpp:1473) ~v4l_uvc_meta_device
10/01 12:52:49,383 WARNING [548170531248] (backend-v4l2.cpp:1007) FD_ISSET returned false - video node is not signalled (md only)
10/01 12:52:49,386 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 213768 out of 4147455 bytes (5%)
10/01 12:52:49,416 WARNING [548170531248] (backend-v4l2.cpp:1007) FD_ISSET returned false - video node is not signalled (md only)
10/01 12:52:49,419 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 181000 out of 4147455 bytes (4%)
10/01 12:52:49,450 WARNING [548170531248] (backend-v4l2.cpp:1007) FD_ISSET returned false - video node is not signalled (md only)
10/01 12:52:49,453 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 181000 out of 4147455 bytes (4%)
10/01 12:52:49,490 WARNING [548170531248] (backend-v4l2.cpp:1007) FD_ISSET returned false - video node is not signalled (md only)
10/01 12:52:49,491 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 1098504 out of 4147455 bytes (26%)
10/01 12:52:49,520 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 213768 out of 4147455 bytes (5%)
10/01 12:52:49,554 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 213768 out of 4147455 bytes (5%)
10/01 12:52:49,587 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 213768 out of 4147455 bytes (5%)
10/01 12:52:49,622 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 213768 out of 4147455 bytes (5%)
10/01 12:52:49,655 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 213768 out of 4147455 bytes (5%)
10/01 12:52:49,687 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 181000 out of 4147455 bytes (4%)
10/01 12:52:49,719 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 181000 out of 4147455 bytes (4%)
10/01 12:52:49,752 INFO [548170531248] (types.h:936) Incomplete video frame detected!
参考:https://github.com/IntelRealSense/librealsense/issues/3042
rs-enumerate-devices data的更多相关文章
- Explain EV in /proc/bus/input/devices data【转】
转自:https://unix.stackexchange.com/questions/74903/explain-ev-in-proc-bus-input-devices-data It repre ...
- 总线(bus);设备(devices);驱动(drivers)
Linux Cross Reference Free Electrons Embedded Linux Experts • Source Navigation • Diff Markup • Id ...
- (原)Microsoft Source Reader的简单使用
感觉Microsoft Source Reader还是比较坑的,只是由于需要,不得不使用.其实按照Microsoft提供的示例,基本上可以正常的调试出程序来. 下面的例子,简单的给出了Source R ...
- 『翻译』Android USB Host
USB Host When your Android-powered device is in USB host mode, it acts as the USB host, powers the b ...
- MSDN WinUSB Example
The WinUSB user-mode library uses device interface classes to communicate with the kernel-mode USB s ...
- CentOS7系列--5.1CentOS7中配置和管理KVM
CentOS7配置和管理KVM 安装与配置虚拟化软件KVM ( Kernel-based Virtual Machine ) + QEMU,它要求计算机的CPU支持Intel VT or AMD-V功 ...
- Grokking PyTorch
原文地址:https://github.com/Kaixhin/grokking-pytorch PyTorch is a flexible deep learning framework that ...
- 联邦学习PySyft
Steps involved in the Federated Learning Approach The mobile devices download the global ML model Da ...
- HTML script tag type all in one
HTML script tag type all in one script type https://developer.mozilla.org/en-US/docs/Web/HTML/Elemen ...
- [源码解析] TensorFlow 分布式 DistributedStrategy 之基础篇
[源码解析] TensorFlow 分布式 DistributedStrategy 之基础篇 目录 [源码解析] TensorFlow 分布式 DistributedStrategy 之基础篇 1. ...
随机推荐
- JDK源码那些事儿之LinkedTransferQueue
在JDK8的阻塞队列实现中还有两个未进行说明,今天继续对其中的一个阻塞队列LinkedTransferQueue进行源码分析,如果之前的队列分析已经让你对阻塞队列有了一定的了解,相信本文要讲解的Lin ...
- 找回IntelliJ IDEA中丢失的Run Dashboard视图
一般项目中包含多个springboot项目的时候都会出现run dashboard视图,但如果一开始它提示的时候,不点击展示,就再也找不到这个视图了,给我们后续启动一个一个的启动项目带来了很大的不便, ...
- 180908 python 字符串内建函数
Python 的字符串内建函数 Python 的字符串常用内建函数如下: 序号 方法及描述 1 capitalize()将字符串的第一个字符转换为大写 2 center(width, fillchar ...
- Golang 内存管理
- Notepad++ 编译运行java,c,c++
1.Java NPP_SAVE cd $(CURRENT_DIRECTORY) D:\tibco\bw6\tibcojre64\1.8.0\bin\javac.exe "$(FILE_NAM ...
- php+ ueditor word粘贴上传
最近公司做项目需要实现一个功能,在网页富文本编辑器中实现粘贴Word图文的功能. 我们在网站中使用的Web编辑器比较多,都是根据用户需求来选择的.目前还没有固定哪一个编辑器 有时候用的是UEditor ...
- word写博客
虽然很多博客已经可以直接粘贴图片了但是如果图片比较多的话还是会很麻烦的.如果文章中只有一张图片那还好说,直接使用CSDN提供的编辑器粘贴就完了.但是我们的文档中一般图片都是多于1张的,经常是10张.如 ...
- cf 911F 树的直径+贪心
$des$ 给定一棵 n 个节点的树,你可以进行 n ? 1 次操作,每次操作步骤如下:选择 u,v 两个度数为 1 的节点.将 u,v 之间的距离加到 ans 上.将 u 从树上删除.求一个操作序列 ...
- 洛谷 P1230 智力大冲浪 题解
P1230 智力大冲浪 题目描述 小伟报名参加中央电视台的智力大冲浪节目.本次挑战赛吸引了众多参赛者,主持人为了表彰大家的勇气,先奖励每个参赛者 \(m\)元.先不要太高兴!因为这些钱还不一定都是你的 ...
- 利用Synplify Pro 加时钟约束的问题
可以改名称为"design.ucf"加成新约束. 在使用Xilinx ISE进行综合时,可以与Synplify Pro软件配合,实现较高的综合性能.但是,有时会出现如下问题: “E ...