Running Multiple samples using single camera

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
[~] NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version

Target Operating System
[~] Linux

Hardware Platform
[~] NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)

SDK Manager Version
[~] other

Host Machine Version
[~] native Ubuntu 18.04

Hi all,

I am using Nvidia Drive AGX with one camera ar0231-rccb-bae-sf3324 which is connected to channel A.

I want to run ./sample_drivenet & ./sample_light_classifier together using a Single camera.

When I run them individually it is working fine but when I run both at once I could notice the one which I run first is getting executed but the other one doesn’t.

I get the following error:

Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera.

Is it possible to run Multiple different samples using input from a single camera.
Kindly clarify.


Dear @s-s.radeshwar,
On same Tegra it is not possible to share single camera by two processes. But You may use --slave=1 on Tegra B to access camera data from Tegra A.

Thanks for the clarification @SivaRamaKrishnaNV

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.