Intel Realsense 通过用户配置文件(profile)获取深度传感器(depth_sensor)超蛋疼的一幕 dir()

来看看有多蛋疼,
通过pipeline_start(cfg)创建用户配置文件后,用用户配置文件去调用get_device()方法,点后居然没了:
(๑°ㅁ°๑)ᵎᵎᵎ
Intel Realsense 通过用户配置文件(profile)获取深度传感器(depth_sensor)超蛋疼的一幕 dir()
然后手打get_device()方法后,再按点,又没:
Intel Realsense 通过用户配置文件(profile)获取深度传感器(depth_sensor)超蛋疼的一幕 dir()
最后只能将first_depth_sensor()手打上去:
Intel Realsense 通过用户配置文件(profile)获取深度传感器(depth_sensor)超蛋疼的一幕 dir()
Intel Realsense 通过用户配置文件(profile)获取深度传感器(depth_sensor)超蛋疼的一幕 dir()
不过,倒是可以用dir()函数去获取对象的方法,从中调用一个方法,再按住ctrl鼠标点击方法进入该对象的模块中:
Intel Realsense 通过用户配置文件(profile)获取深度传感器(depth_sensor)超蛋疼的一幕 dir()
用这种方法成功进入了pipeline_profile.py模块和device.py模块:
Intel Realsense 通过用户配置文件(profile)获取深度传感器(depth_sensor)超蛋疼的一幕 dir()
Intel Realsense 通过用户配置文件(profile)获取深度传感器(depth_sensor)超蛋疼的一幕 dir()
从而去看所属对象的各种方法/函数用法/解释。

但是为啥点号没法显示对象的方法,不得而知。。。。
Intel Realsense 通过用户配置文件(profile)获取深度传感器(depth_sensor)超蛋疼的一幕 dir()