Unable to use ./sample_camera for Sekonix SF3325-100 GMSL Camera on Drive AGX Orin OS 6.0.6

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.8.1
[*] DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[*] Linux
QNX
other

Hardware Platform
[*] DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.3.10904
[*] other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
[*] native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

We have 2x Sekonix SF3225 GSML Cameras - We have tested the camera via nvsipl_camera

sudo ./nvsipl_camera --platform-config “SF3324_CPHY_x2” --link-enable-masks “0x0011 0x0000 0x0000 0x0000” -d 0

both the cameras work on drive unit.

However when tried to run the ./sample_camera program on drive unit the cameras do not display. Below is the code we used.

sudo ./sample_camera --rig=/usr/local/driveworks-5.10/data/samples/sensors/camera/camera/rig_test.json

Screenshot of the error below:

Screenshot of the rig_test file:

Can you please advise us on how to get the cameras working on Drive unit?

Thank you

Dear @kevin.kal,
Could you double check if there is missing } in the end? Also, if you are using SF3325 camera, you need SF3325.nito file.

The rig_test code is same taken from the rig file which is used as default rig location on sample_camera program. I only changed the name of the camera.

However yes I have contacted onsemi again to sent me the correct nito for SF3325

Hello @kevin.kal @SivaRamaKrishnaNV we are looking also for NITO files to use those cameras in our Orins with 6.0.6, can you please prove the NITO file for SF3324 and SF3325 and also the contacts with Onsemi please?

Hello @SivaRamaKrishnaNV

We have updated the drive with the SF3325.nito and corrected the code in the rig_test.json and yet still we can’t get the camera to work with the sample_camera code.

screenshots below:

On the screenshot it does say “Driveworks exception thrown: DW_INVALID_ARGUMENT: Rigconfiguration: Unsupported Camera Model”

here is the rig_test…json screenshot below:

Could you please let us know what is missing the rig file? We need to understand how this works so we can build on the sample code.

Any help would be appreciated on this matter.

Dear @kevin.kal,
Please check DriveWorks SDK Reference: Rig File Format for details on rig file entries.

Use camera model as ftheta instead of sekonix.

Hello @SivaRamaKrishnaNV

Still same issue here are the screenshots:


I see fthela. Can you make it ftheta.

Ah Apologies I have done this now.

I have received different errors, please have a look at the pictures:



Dear @kevin.kal,
Could you add skip-eeprom=1 in camera parameters and see if helps?

I’ve updated this.

Now the code is running with a window with no preview showing:

Hello @SivaRamaKrishnaNV,

The display now shows 1 camera fully

“camera-name=SF3325,interface=csi-a,link=0,output-format=raw+processed,fifo-size=1,warn-per-frame=0,skip-eeprom=1”

I added the “skip-eeprom=1” then changed the output-format to “output-format=raw+processed” then the display shows.

I need to figure how to show 2 cameras at once.

My question is will the sample_camera code display 2 cameras?

Hello @SivaRamaKrishnaNV

I’ve managed to show 2 cameras by specifying the link 0 and on the other link 1

The issue is I am not able to record 2 cameras on one video file. I keep only getting one camera view saved when I use the “–write-file” command

any help with this?

Dear @kevin.kal,
sample_camera can record only one camera connected on A0.
Please use recorder tool to record more than one camera.
Please file a new topic in case of any issue as original issue is resolved.

Sure will do. Apologies. Please close this topic

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