【发布时间】:2019-05-28 19:36:02
【问题描述】:
我有一个将 rs2::pipeline 作为参数的函数,我有多个 D435 和 T265 试图访问该函数。我想根据调用该函数的相机显示不同的信息,那么如何通过 rs2::pipeline 对象获取有关相机的信息。
rs2::device 有一个方法 get_info 提供有关相机的信息,但我不确定如何从 rs2::pipeline 引用 rs2::device。
void RenderCamera(rs2::pipeline pipe,int id){
//Display the camera information here from the rs2::pipeline object
...
...
...
imshow("Rendered_Window",frame_mat);
}
我想在这里看到的结果是一个简单的调试语句,它给了我设备的信息。
【问题讨论】:
标签: realsense