Accessing the Lidars
Last updated
Was this helpful?
Was this helpful?
stretch_lidar_showfrom pyhesai_wrapper import stream_lidar_left
# Continually yields LidarPointCloudFrame objects as long as it's running
for frame in stream_lidar_left():
if frame is not None:
print(f"Points shape: {frame.points.shape}, timestamp: {frame.timestamp}")