Question about sample_camera_code

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
[O] 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
other

Target Operating System
[O] Linux
QNX
other

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

SDK Manager Version
[O] 1.9.1.10844
other

Host Machine Version
[O] native Ubuntu 18.04
other

Hello, I’m planning to use the Nvidia Driveworks sample package. But the file’s format is ELF, so it;s not available to see the source code.
May I ask you that is there anyway to see the drivework’s package(sample_camera) source code?
I’m studying for the master degree for this system, so I really hope you to give me the advice.
Thanks.

Dear @M750e,
The DW samples sourcecode is available at /usr/local/driveworks/samples/src/ on host.
Please check sensors/camera folder to check camera samples.

Do you mean these pacakages(figure)(camera, camera_replay, camera_seek, camera_usb, cameraserver_client, cameraserver_clinet_raw) are working for the one sample_camera(/usr/local/driveworks/bin) source code?

Actually, what I want is just to see the only ./sample_camera source code…

Dear @M750e,

what I want is just to see the only ./sample_camera source code

Please check
src/sensors/camera/camera folder

Inside the camera-main.cpp source code.
Can you tell me which part of the code is the camera input raw data?

If I change the source code and want to run like the sample_camera file, what shoud I have to do for change the file c/c++ to ELF file?

Dear @M750e ,
If you want to change /usr/local/driveworks-4.0/samples/src/sensors/camera/camera/main.cpp , you can change and compile the sample to get new sample_camera binary file.

In you want to get raw data, you can use output-format=raw in rig.json file. Please see DriveWorks SDK Reference: Camera for sensor parameter details when using rigfile as input. Also please check DriveWorks SDK Reference: Camera Workflow to understand camera workflow.