trying to use jetson nano with d435i realsense camera, basic setup is done and able to successful instal Librealsense setup. Now Realsenser viewer is working okay for both depth as well color stream, but when run code for simple code for depth and color stream get error
ERROR: RuntimeError: Frame didn’t arrive within 5000
try:
# Get current active streams from pipeline profile
profile = pipeline.get_active_profile()
depth_stream_enabled = False
color_stream_enabled = False
# Iterate over streams to check if depth and color streams are active
for stream in profile.get_streams():
if stream.stream_type() == rs.stream.depth:
depth_stream_enabled = True
if stream.stream_type() == rs.stream.color:
color_stream_enabled = True
if depth_stream_enabled and color_stream_enabled:
print("Both Depth and Color streams are successfully enabled.")
else:
print("One or both streams are not enabled.")
let’s narrow down the issue, please refer to Applications Using V4L2 IOCTL Directly.
it’s application layer issue if you’re able to fetch the stream via v4l2 standard IOCTL.