Closed xrkwxy closed 2 years ago
Same problem, did you figure it out?
ZED Explorer runs but the depth_sensing.py gives error ZED >> ERROR: sl::Camera::Open has not been called, no Camera instance running.
Also In Ros-wrapper, I am able to subscribe rgb images but for disparity or depth topics, the zed node crashes. Device: Tx2 sdk: 2.8.3 firmware:1523
I had this error when launching ZEDfu in live mode : ZED >> ERROR: sl::Camera::Open has not been called, no Camera instance running. Solved it by using another USB 3.0 connector. The one in front wasn't working but when i plugged it at the back of the tower it worked !
Solved it. I think the issue was log file generation space. While running zed camera, it requires 3gb of free space on tx2. When the error came, tx2 was having around 1.2gb space only.
I have enough space on tx2 and the usb 3.0 hub works. I'm still facing this issue though.
i receiving same error. I use
ZED_Depth_Viewer is running but API is not working.
Code :
import pyzed.sl as sl
zed = sl.Camera()
init_params = sl.InitParameters()
init_params.camera_resolution = sl.RESOLUTION.HD1080
init_params.camera_fps = 30
# Open the camera
err = zed.open(init_params)
if err != sl.ERROR_CODE.SUCCESS:
exit(-1)
OUTPUT: [ZED]ERROR: sl::Camera::Open has not been called, no Camera instance running.
I also have this problem:
nvidia@nvidia-desktop:~$ roslaunch zed_display_rviz display_zed2.launch -v
... logging to /home/nvidia/.ros/log/11c1eeda-d74f-11ea-83c0-00044bc7359a/roslaunch-nvidia-desktop-15128.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
... loading XML file [/opt/ros/melodic/etc/ros/roscore.xml]
... executing command param [rosversion roslaunch]
Added parameter [/rosversion]
... executing command param [rosversion -d]
Added parameter [/rosdistro]
Added core node of type [rosout/rosout] in namespace [/]
... loading XML file [/home/nvidia/Desktop/Aria_navigation/src/zed-ros-examples/zed_display_rviz/launch/display_zed2.launch]
... loading XML file [/home/nvidia/Desktop/Aria_navigation/src/zed-ros-wrapper/zed_wrapper/launch/zed2.launch]
... loading XML file [/home/nvidia/Desktop/Aria_navigation/src/zed-ros-wrapper/zed_wrapper/launch/include/zed_camera.launch.xml]
... executing command param [/opt/ros/melodic/lib/xacro/xacro '/home/nvidia/Desktop/Aria_navigation/src/zed-ros-wrapper/zed_wrapper/urdf/zed_descr.urdf.xacro' camera_name:=zed2 camera_model:=zed2 base_frame:=base_link cam_pos_x:=0.0 cam_pos_y:=0.0 cam_pos_z:=0.0 cam_roll:=0.0 cam_pitch:=0.0 cam_yaw:=0.0]
Added parameter [/zed2/zed2_description]
Added node of type [robot_state_publisher/robot_state_publisher] in namespace [/zed2/]
Added parameter [/zed2/zed_node/hue]
Added parameter [/zed2/zed_node/saturation]
Added parameter [/zed2/zed_node/auto_exposure_gain]
Added parameter [/zed2/zed_node/pos_tracking/path_max_count]
Added parameter [/zed2/zed_node/pos_tracking/publish_map_tf]
Added parameter [/zed2/zed_node/pos_tracking/floor_alignment]
Added parameter [/zed2/zed_node/pos_tracking/publish_tf]
Added parameter [/zed2/zed_node/pos_tracking/fixed_z_value]
Added parameter [/zed2/zed_node/pos_tracking/map_frame]
Added parameter [/zed2/zed_node/pos_tracking/path_pub_rate]
Added parameter [/zed2/zed_node/pos_tracking/odometry_frame]
Added parameter [/zed2/zed_node/pos_tracking/init_odom_with_first_valid_pose]
Added parameter [/zed2/zed_node/pos_tracking/two_d_mode]
Added parameter [/zed2/zed_node/pos_tracking/area_memory]
Added parameter [/zed2/zed_node/pos_tracking/area_memory_db_path]
Added parameter [/zed2/zed_node/pos_tracking/initial_base_pose]
Added parameter [/zed2/zed_node/sharpness]
Added parameter [/zed2/zed_node/depth_texture_conf]
Added parameter [/zed2/zed_node/general/camera_flip]
Added parameter [/zed2/zed_node/general/verbose]
Added parameter [/zed2/zed_node/general/svo_compression]
Added parameter [/zed2/zed_node/general/zed_id]
Added parameter [/zed2/zed_node/general/camera_name]
Added parameter [/zed2/zed_node/general/gpu_id]
Added parameter [/zed2/zed_node/general/grab_frame_rate]
Added parameter [/zed2/zed_node/general/self_calib]
Added parameter [/zed2/zed_node/general/serial_number]
Added parameter [/zed2/zed_node/general/resolution]
Added parameter [/zed2/zed_node/general/base_frame]
Added parameter [/zed2/zed_node/video/img_downsample_factor]
Added parameter [/zed2/zed_node/video/extrinsic_in_camera_frame]
Added parameter [/zed2/zed_node/gain]
Added parameter [/zed2/zed_node/pub_frame_rate]
Added parameter [/zed2/zed_node/exposure]
Added parameter [/zed2/zed_node/point_cloud_freq]
Added parameter [/zed2/zed_node/brightness]
Added parameter [/zed2/zed_node/depth/depth_stabilization]
Added parameter [/zed2/zed_node/depth/depth_downsample_factor]
Added parameter [/zed2/zed_node/depth/openni_depth_mode]
Added parameter [/zed2/zed_node/depth/quality]
Added parameter [/zed2/zed_node/depth/sensing_mode]
Added parameter [/zed2/zed_node/whitebalance_temperature]
Added parameter [/zed2/zed_node/gamma]
Added parameter [/zed2/zed_node/auto_whitebalance]
Added parameter [/zed2/zed_node/mapping/fused_pointcloud_freq]
Added parameter [/zed2/zed_node/mapping/resolution]
Added parameter [/zed2/zed_node/mapping/max_mapping_range]
Added parameter [/zed2/zed_node/mapping/mapping_enabled]
Added parameter [/zed2/zed_node/depth_confidence]
Added parameter [/zed2/zed_node/contrast]
Added parameter [/zed2/zed_node/pos_tracking/imu_fusion]
Added parameter [/zed2/zed_node/object_detection/people_detection]
Added parameter [/zed2/zed_node/object_detection/object_tracking_enabled]
Added parameter [/zed2/zed_node/object_detection/confidence_threshold]
Added parameter [/zed2/zed_node/object_detection/od_enabled]
Added parameter [/zed2/zed_node/object_detection/vehicle_detection]
Added parameter [/zed2/zed_node/sensors/sensors_timestamp_sync]
Added parameter [/zed2/zed_node/depth/min_depth]
Added parameter [/zed2/zed_node/depth/max_depth]
Added parameter [/zed2/zed_node/general/camera_model]
Added parameter [/zed2/zed_node/general/camera_name]
Added parameter [/zed2/zed_node/general/base_frame]
Added parameter [/zed2/zed_node/svo_file]
Added parameter [/zed2/zed_node/stream]
Added parameter [/zed2/zed_node/general/zed_id]
Added parameter [/zed2/zed_node/general/gpu_id]
Added node of type [zed_wrapper/zed_wrapper_node] in namespace [/zed2/]
... done importing include file [/home/nvidia/Desktop/Aria_navigation/src/zed-ros-wrapper/zed_wrapper/launch/include/zed_camera.launch.xml]
... done importing include file [/home/nvidia/Desktop/Aria_navigation/src/zed-ros-wrapper/zed_wrapper/launch/zed2.launch]
Added node of type [rviz/rviz] in namespace [/]
started roslaunch server http://nvidia-desktop:44231/
SUMMARY
========
PARAMETERS
* /rosdistro: melodic
* /rosversion: 1.14.3
* /zed2/zed2_description: <?xml version="1....
* /zed2/zed_node/auto_exposure_gain: True
* /zed2/zed_node/auto_whitebalance: True
* /zed2/zed_node/brightness: 4
* /zed2/zed_node/contrast: 4
* /zed2/zed_node/depth/depth_downsample_factor: 1.0
* /zed2/zed_node/depth/depth_stabilization: 1
* /zed2/zed_node/depth/max_depth: 20.0
* /zed2/zed_node/depth/min_depth: 0.7
* /zed2/zed_node/depth/openni_depth_mode: False
* /zed2/zed_node/depth/quality: 1
* /zed2/zed_node/depth/sensing_mode: 0
* /zed2/zed_node/depth_confidence: 50
* /zed2/zed_node/depth_texture_conf: 100
* /zed2/zed_node/exposure: 100
* /zed2/zed_node/gain: 100
* /zed2/zed_node/gamma: 8
* /zed2/zed_node/general/base_frame: base_link
* /zed2/zed_node/general/camera_flip: False
* /zed2/zed_node/general/camera_model: zed2
* /zed2/zed_node/general/camera_name: zed2
* /zed2/zed_node/general/gpu_id: -1
* /zed2/zed_node/general/grab_frame_rate: 15
* /zed2/zed_node/general/resolution: 2
* /zed2/zed_node/general/self_calib: True
* /zed2/zed_node/general/serial_number: 0
* /zed2/zed_node/general/svo_compression: 2
* /zed2/zed_node/general/verbose: False
* /zed2/zed_node/general/zed_id: 0
* /zed2/zed_node/hue: 0
* /zed2/zed_node/mapping/fused_pointcloud_freq: 1.0
* /zed2/zed_node/mapping/mapping_enabled: False
* /zed2/zed_node/mapping/max_mapping_range: -1
* /zed2/zed_node/mapping/resolution: 0.05
* /zed2/zed_node/object_detection/confidence_threshold: 50
* /zed2/zed_node/object_detection/object_tracking_enabled: True
* /zed2/zed_node/object_detection/od_enabled: False
* /zed2/zed_node/object_detection/people_detection: True
* /zed2/zed_node/object_detection/vehicle_detection: False
* /zed2/zed_node/point_cloud_freq: 15.0
* /zed2/zed_node/pos_tracking/area_memory: True
* /zed2/zed_node/pos_tracking/area_memory_db_path:
* /zed2/zed_node/pos_tracking/fixed_z_value: 0.0
* /zed2/zed_node/pos_tracking/floor_alignment: False
* /zed2/zed_node/pos_tracking/imu_fusion: True
* /zed2/zed_node/pos_tracking/init_odom_with_first_valid_pose: True
* /zed2/zed_node/pos_tracking/initial_base_pose: [0.0, 0.0, 0.0, 0...
* /zed2/zed_node/pos_tracking/map_frame: map
* /zed2/zed_node/pos_tracking/odometry_frame: odom
* /zed2/zed_node/pos_tracking/path_max_count: -1
* /zed2/zed_node/pos_tracking/path_pub_rate: 2.0
* /zed2/zed_node/pos_tracking/publish_map_tf: True
* /zed2/zed_node/pos_tracking/publish_tf: True
* /zed2/zed_node/pos_tracking/two_d_mode: False
* /zed2/zed_node/pub_frame_rate: 15.0
* /zed2/zed_node/saturation: 4
* /zed2/zed_node/sensors/sensors_timestamp_sync: False
* /zed2/zed_node/sharpness: 4
* /zed2/zed_node/stream:
* /zed2/zed_node/svo_file:
* /zed2/zed_node/video/extrinsic_in_camera_frame: True
* /zed2/zed_node/video/img_downsample_factor: 1.0
* /zed2/zed_node/whitebalance_temperature: 42
NODES
/zed2/
zed2_state_publisher (robot_state_publisher/robot_state_publisher)
zed_node (zed_wrapper/zed_wrapper_node)
/
rviz (rviz/rviz)
ROS_MASTER_URI=http://localhost:11311
process[zed2/zed2_state_publisher-1]: started with pid [15187]
process[zed2/zed_node-2]: started with pid [15189]
process[rviz-3]: started with pid [15195]
[ INFO] [1596656876.618025960]: Initializing nodelet with 6 worker threads.
[ INFO] [1596656876.721455159]: ********** Starting nodelet '/zed2/zed_node' **********
[ INFO] [1596656876.721702784]: SDK version : 3.1.0
[ INFO] [1596656876.721811491]: *** PARAMETERS ***
[ INFO] [1596656876.722823461]: * Camera Name -> zed2
[ INFO] [1596656876.723719107]: * Camera Resolution -> HD720
[ INFO] [1596656876.724659490]: * Camera Grab Framerate -> 15
[ INFO] [1596656876.725515582]: * Gpu ID -> -1
[ INFO] [1596656876.726416572]: * Camera ID -> -1
[ INFO] [1596656876.727302810]: * Verbose -> DISABLED
[ INFO] [1596656876.729042676]: * Camera Flip -> DISABLED
[ INFO] [1596656876.730576871]: * Self calibration -> ENABLED
[ INFO] [1596656876.732004278]: * Camera Model by param -> zed2
[ INFO] [1596656876.733041401]: * Image resample factor -> 1
[ INFO] [1596656876.734029561]: * Extrinsic param. frame -> X RIGHT - Y DOWN - Z FWD
[ INFO] [1596656876.735005562]: * Depth quality -> PERFORMANCE
[ INFO] [1596656876.735971418]: * Depth Sensing mode -> STANDARD
[ INFO] [1596656876.737088863]: * OpenNI mode -> DISABLED
[ INFO] [1596656876.738067136]: * Depth Stabilization -> ENABLED
[ INFO] [1596656876.738841785]: * Minimum depth -> 0.7 m
[ INFO] [1596656876.739619891]: * Maximum depth -> 20 m
[ INFO] [1596656876.740465071]: * Depth resample factor -> 1
[ INFO] [1596656876.741277066]: * Path rate -> 2 Hz
[ INFO] [1596656876.742066949]: * Path history size -> 1
[ INFO] [1596656876.743661850]: * Odometry DB path ->
[ INFO] [1596656876.745791649]: * Spatial Memory -> ENABLED
[ INFO] [1596656876.748593054]: * IMU Fusion -> ENABLED
[ INFO] [1596656876.750878730]: * Floor alignment -> DISABLED
[ INFO] [1596656876.753065234]: * Init Odometry with first valid pose data -> ENABLED
[ INFO] [1596656876.754899727]: * Two D mode -> DISABLED
[ INFO] [1596656876.758377155]: * Mapping -> DISABLED
[ INFO] [1596656876.760100124]: * Object Detection -> DISABLED
[ INFO] [1596656876.761198177]: * Sensors timestamp sync -> DISABLED
[ INFO] [1596656876.763100256]: * SVO input file: ->
[ INFO] [1596656876.764376202]: * SVO REC compression -> H265 (HEVC)
[ INFO] [1596656876.770398643]: * map_frame -> map
[ INFO] [1596656876.770592121]: * odometry_frame -> odom
[ INFO] [1596656876.770690172]: * base_frame -> base_link
[ INFO] [1596656876.770810016]: * camera_frame -> zed2_camera_center
[ INFO] [1596656876.770981158]: * imu_link -> zed2_imu_link
[ INFO] [1596656876.771084938]: * left_camera_frame -> zed2_left_camera_frame
[ INFO] [1596656876.771212462]: * left_camera_optical_frame -> zed2_left_camera_optical_frame
[ INFO] [1596656876.771314065]: * right_camera_frame -> zed2_right_camera_frame
[ INFO] [1596656876.771438229]: * right_camera_optical_frame -> zed2_right_camera_optical_frame
[ INFO] [1596656876.771541433]: * depth_frame -> zed2_left_camera_frame
[ INFO] [1596656876.771665885]: * depth_optical_frame -> zed2_left_camera_optical_frame
[ INFO] [1596656876.771802529]: * disparity_frame -> zed2_left_camera_frame
[ INFO] [1596656876.771905797]: * disparity_optical_frame -> zed2_left_camera_optical_frame
[ INFO] [1596656876.772009032]: * confidence_frame -> zed2_left_camera_frame
[ INFO] [1596656876.772116076]: * confidence_optical_frame -> zed2_left_camera_optical_frame
[ INFO] [1596656876.774014123]: * Broadcast odometry TF -> ENABLED
[ INFO] [1596656876.775814503]: * Broadcast map pose TF -> ENABLED
[ INFO] [1596656876.776912171]: * [DYN] Depth confidence -> 50
[ INFO] [1596656876.777898860]: * [DYN] Depth texture conf. -> 100
[ INFO] [1596656876.778812491]: * [DYN] pub_frame_rate -> 15 Hz
[ INFO] [1596656876.779918351]: * [DYN] point_cloud_freq -> 15 Hz
[ INFO] [1596656876.780977330]: * [DYN] brightness -> 4
[ INFO] [1596656876.781998996]: * [DYN] contrast -> 4
[ INFO] [1596656876.783013046]: * [DYN] hue -> 0
[ INFO] [1596656876.784336930]: * [DYN] saturation -> 4
[ INFO] [1596656876.785570763]: * [DYN] sharpness -> 4
[ INFO] [1596656876.786549676]: * [DYN] gamma -> 8
[ INFO] [1596656876.788344775]: * [DYN] auto_exposure_gain -> ENABLED
[ INFO] [1596656876.791723192]: * [DYN] auto_whitebalance -> ENABLED
[ INFO] [1596656876.807556198]: * Camera coordinate system -> Right HANDED Z UP and X FORWARD
[ INFO] [1596656876.807710187]: *** Opening ZED 2...
[ INFO] [1596656876.867172741]: rviz version 1.13.7
[ INFO] [1596656876.867326122]: compiled against Qt version 5.9.5
[ INFO] [1596656876.867376747]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1596656876.892437965]: Forcing OpenGl version 0.
[ INFO] [1596656877.980069006]: Stereo is NOT SUPPORTED
[ INFO] [1596656877.980379000]: OpenGl version: 4.6 (GLSL 4.6).
[ INFO] [1596656898.581507658]: ZED connection -> LOW USB BANDWIDTH
[ZED]ERROR: sl::Camera::Open has not been called, no Camera instance running.
[ INFO] [1596656915.555467661]: ZED connection -> LOW USB BANDWIDTH
[ZED]ERROR: sl::Camera::Open has not been called, no Camera instance running.
[ INFO] [1596656936.675089604]: ZED connection -> LOW USB BANDWIDTH
[ZED]ERROR: sl::Camera::Open has not been called, no Camera instance running.
[ INFO] [1596656962.111657962]: ZED connection -> LOW USB BANDWIDTH
[ZED]ERROR: sl::Camera::Open has not been called, no Camera instance running.
[ INFO] [1596656981.833006756]: ZED connection -> LOW USB BANDWIDTH
[ZED]ERROR: sl::Camera::Open has not been called, no Camera instance running.
[ INFO] [1596657004.466018711]: ZED connection -> LOW USB BANDWIDTH
[ZED]ERROR: sl::Camera::Open has not been called, no Camera instance running.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days
When I run the zed_cpp_sample,it has a error:ZED>>ERROR:sl::Camera::Open has not been called,no Camera instance running.I need help.Thank you!