update docs and downstream sync
This commit is contained in:
@@ -43,7 +43,7 @@ def main():
|
||||
# 步骤 2.1:获取并拼接图像(必需)
|
||||
sensor.get_img()
|
||||
# 步骤 2.2:计算形变场(必需);返回值表示当前帧是否检测到接触/运动
|
||||
is_contact_now = sensor.compute_deformation(check_motion=True, threshold=0)
|
||||
is_contact_now = sensor.compute_deformation()
|
||||
# 步骤 2.3:仅在当前帧检测到接触/运动时计算接触区域
|
||||
# if is_contact_now:
|
||||
sensor.compute_contact()
|
||||
|
||||
@@ -62,7 +62,7 @@ def main():
|
||||
if not ok:
|
||||
break
|
||||
|
||||
tactile.compute_deformation(check_motion=True, threshold=0)
|
||||
tactile.compute_deformation()
|
||||
tactile.compute_contact()
|
||||
|
||||
fps, flow, vnormal, img, contour, centroid, depth_map, fnormal, fshearx, fsheary = tactile.read_info(
|
||||
|
||||
@@ -43,7 +43,7 @@ def main():
|
||||
# 步骤 2.1:获取并拼接图像(必需)
|
||||
sensor.get_img()
|
||||
# 步骤 2.2:计算形变场(必需);返回值表示当前帧是否检测到接触/运动
|
||||
is_contact_now = sensor.compute_deformation(check_motion=True, threshold=0)
|
||||
is_contact_now = sensor.compute_deformation()
|
||||
# 步骤 2.3:仅在当前帧检测到接触/运动时计算接触区域
|
||||
# if is_contact_now:
|
||||
sensor.compute_contact()
|
||||
|
||||
@@ -55,7 +55,7 @@ def main():
|
||||
sensor.get_img()
|
||||
recorder.write_if_recording(sensor.frame)
|
||||
|
||||
sensor.compute_deformation(check_motion=True, threshold=0)
|
||||
sensor.compute_deformation()
|
||||
sensor.compute_contact()
|
||||
fps, fn, fx, fy, flow, depth_map = sensor.read_info(
|
||||
sensor.info.FPS,
|
||||
|
||||
Reference in New Issue
Block a user