I want to run zed2 and zed2i using same laptop. I do not want to configure any translation and rotation parameters between the cameras. I just want to run them standalone way so that the both produce their own topics.
Hi @JereK
Please use the serial_number
launch option to select what camera to open:
In one terminal console:
ros2 launch zed_wrapper zed_camera.launch.py camera_model:=zed2i serial_number:=<serial_number_of_the_zed2i>
In another terminal console:
ros2 launch zed_wrapper zed_camera.launch.py camera_model:=zed2 serial_number:=<serial_number_of_the_zed2>
You can easily retrieve the serial numbers by using the command ZED_Explorer -a
They are publishing to same topic now when i launch like you showed. How to change that zed2 should publish to topic /zed2i/….
For some reason both publish to /zed/…. Topics.
Before i changed to sdk 5.0 they where publishing like /zed2/… and /zed2i/… etc
You can provide the camera_name
argument as shown below to separate out the two cameras.
ros2 launch zed_wrapper zed_camera.launch.py camera_model:=zed2 serial_number:=<serial_number_of_the_zed2> camera_name:=zed2
ros2 launch zed_wrapper zed_camera.launch.py camera_model:=zed2i serial_number:=<serial_number_of_the_zed2i> camera_name:=zed2i