Hey,
I use:
Jetson xavier nx
Ubuntu 18.2
ZED_SDK_Tegra_L4T32.6_v3.7.2
I try to run post analysis on existing SVO file. when it get to open the SVO file the program gets stuck.
Followed by Stereolabs documentation, code:
input_type = sl.InputType()
if self.svo_file is not None:
log.info("SVO file : " + self.svo_file)
input_type.set_from_svo_file(self.svo_file)
else:
# Launch camera by id
input_type.set_from_camera_id(zed_id)
self.init = sl.InitParameters(input_t=input_type)
if self.units == "MILIMETER":
self.init.coordinate_units = sl.UNIT.MILLIMETER
elif self.units == "CENTIMETER":
self.init.coordinate_units = sl.UNIT.CENTIMETER
elif self.units == "METER":
self.init.coordinate_units = sl.UNIT.METER
elif self.units == "INCH":
self.init.coordinate_units = sl.UNIT.INCH
if self.depth_mode == "PERFORMANCE":
self.init.depth_mode = sl.DEPTH_MODE.PERFORMANCE
elif self.depth_mode == "QUALITY":
self.init.depth_mode = sl.DEPTH_MODE.QUALITY
elif self.depth_mode == "ULTRA":
self.init.depth_mode = sl.DEPTH_MODE.ULTRA
self.runtime = sl.RuntimeParameters()
if self.sensing_mode == "STANDARD":
self.runtime.sensing_mode = sl.SENSING_MODE.STANDARD
elif self.sensing_mode == "FILL":
self.runtime.sensing_mode = sl.SENSING_MODE.FILL
elif self.sensing_mode == "LAST":
self.runtime.sensing_mode = sl.SENSING_MODE.LAST
self.runtime.confidence_threshold = settings.depth_conf
self.runtime.texture_confidence_threshold = settings.texture_conf
# if no SVO loaded
if self.svo_file is None:
self.init.camera_resolution = sl.RESOLUTION.HD1080
self.init.camera_fps = settings.camera_fps
self.cam = sl.Camera()
if not self.cam.is_opened():
log.info("Opening ZED Camera...")
status = self.cam.open(self.init)
gets stuck once run on the last row.
BTW, once I run the same code on the stationary computer , Ubuntu 18 , SDK 3.7.0 - it works good!
Appreciate your comments and help.