(zedx, zedxm)While trying to determine how many cameras were detected using the 'v4l2-ctl --list-devices' command, I encountered a bug.
sdk17586 opened this issue · 1 comments
Preliminary Checks
- This issue is not a duplicate. Before opening a new issue, please search existing issues.
- This issue is not a question, feature request, or anything other than a bug report directly related to this project.
Description
While trying to determine how many cameras were detected using the 'v4l2-ctl --list-devices' command, I encountered a bug.
I have connected two ZED-X and two ZED-XM cameras.
trdv@ubuntu:~$ v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0
vi-output, zedx 30-0010 (platform:tegra-capture-vi:0):
/dev/video0
This is the result that appeared.
However, when two were connected, this is the result that appeared.
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0
vi-output, zedx 30-0018 (platform:tegra-capture-vi:0):
/dev/video0
/dev/video1
vi-output, zedx 31-0018 (platform:tegra-capture-vi:1):
/dev/video2
/dev/video3
This is the result that appeared.
Is it not possible to connect up to four ZED-X cameras to the Jetson?
I created the following launch file in the zed_wrapper package to simultaneously operate ZED-X and ZED-XM cameras.
<!-- First camera -->
<group ns="zedx_0">
<include file="$(find zed_wrapper)/launch/include/zed_camera.launch.xml">
<arg name="camera_name" value="zedx_0" />
<arg name="svo_file" value="$(arg svo_file)" />
<arg name="stream" value="$(arg stream)" />
<arg name="node_name" value="$(arg node_name)" />
<arg name="camera_model" value="zedx" />
<arg name="base_frame" value="$(arg base_frame)" />
<arg name="camera_id" value="0" />
<arg name="publish_urdf" value="$(arg publish_urdf)" />
<arg name="cam_pos_x" value="$(arg cam_pos_x)" />
<arg name="cam_pos_y" value="$(arg cam_pos_y)" />
<arg name="cam_pos_z" value="$(arg cam_pos_z)" />
<arg name="cam_roll" value="$(arg cam_roll)" />
<arg name="cam_pitch" value="$(arg cam_pitch)" />
<arg name="cam_yaw" value="$(arg cam_yaw)" />
</include>
</group>
<!-- Second camera -->
<group ns="zedx_1">
<include file="$(find zed_wrapper)/launch/include/zed_camera.launch.xml">
<arg name="camera_name" value="zedx_1" />
<arg name="svo_file" value="$(arg svo_file)" />
<arg name="stream" value="$(arg stream)" />
<arg name="node_name" value="$(arg node_name)" />
<arg name="camera_model" value="zedxm" />
<arg name="base_frame" value="$(arg base_frame)" />
<arg name="camera_id" value="1" />
<arg name="publish_urdf" value="$(arg publish_urdf)" />
<arg name="cam_pos_x" value="$(arg cam_pos_x)" />
<arg name="cam_pos_y" value="$(arg cam_pos_y)" />
<arg name="cam_pos_z" value="$(arg cam_pos_z)" />
<arg name="cam_roll" value="$(arg cam_roll)" />
<arg name="cam_pitch" value="$(arg cam_pitch)" />
<arg name="cam_yaw" value="$(arg cam_yaw)" />
</include>
</group>
Steps to Reproduce
- v4l2-ctl --list-devices
...
Expected Result
error
Actual Result
error
ZED Camera model
ZED2
Environment
ubunto 18.04
Anything else?
No response
Duplicated (forum cross-posting) and not ROS-related.