Sample Resource failed to mount data

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
[v] NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
[v] Linux
QNX
other

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

SDK Manager Version
[v] 1.7.0.8846
other

Host Machine Version
[v] native Ubuntu 18.04
other

Running sample_egomotion as shown in DRIVE AGX Developer Kit-How to setup video, I got error on data files

cameralab@CamLab002:/usr/local/driveworks/bin$ ./sample_egomotion
[27-10-2021 12:58:55] Platform: Detected Generic x86 Platform
[27-10-2021 12:58:55] TimeSource: monotonic epoch time offset is 1635364667302072
[27-10-2021 12:58:55] Platform: number of GPU devices detected 1
[27-10-2021 12:58:55] Platform: currently selected GPU device discrete ID 0
[27-10-2021 12:58:55] SDK: Resource failed to mount from ‘…/./data/’: VirtualFileSystem: Failed to mount ‘…/./data/[.pak]’
[27-10-2021 12:58:55] SDK: No resources mounted, some modules will not function properly
[27-10-2021 12:58:55] TimeSource: monotonic epoch time offset is 1635364667302072
[27-10-2021 12:58:55] Initialize DriveWorks SDK v2.2.3136
[27-10-2021 12:58:55] Release build with GNU 7.4.0 from heads/buildbrain-branch-0-gca7b4b26e65
[27-10-2021 12:58:55] Initialize DriveWorks VisualizationSDK v2.2.3136
[27-10-2021 12:58:55] Initialize DriveWorksGL SDK v2.2.3136
[27-10-2021 12:58:55] GL-SDK: initialize OpenGL
[27-10-2021 12:58:55] Loading rig file: …/./data/samples/recordings/cloverleaf/rig-nominal-intrinsics.json
[27-10-2021 12:58:55] Driveworks exception thrown: DW_FILE_INVALID: Rig::fromFile: cannot open file: …/./data/samples/recordings/cloverleaf/rig-nominal-intrinsics.json

terminate called after throwing an instance of ‘std::runtime_error’
what(): Error reading rig config
Aborted (core dumped)

I can run ./sample_hello_world though

Dear @bellhsu,
I see below error in log
DW_FILE_INVALID: Rig::fromFile: cannot open file: …/./data/samples/recordings/cloverleaf/rig-nominal-intrinsics.json

Please make sure this file exists in the path and can be opened.

Before that, there is a Resource failed to mount from ‘…/./data/’: VirtualFileSystem: Failed to mount ‘…/./data/[.pak]’

 I installed the Software 10.0 by SDK manager without error, and this is running at usr/local/drivework/bin, I suppose all files should be installed correctly, isn't it?

Dear @bellhsu,
You can ignore that error

I just checked, can’t find rig-nominal-intrinsics.json in my installation folders.
As this is installed automatically by SDK manager, should I install anything else?

Dear @bellhsu,
Could you confirm if you have installed driveworks_data-v4.0.0_28713403_20210920_8c34ae28c6a_nopdkgcid_linux-amd64-ubuntu.deb from driveworks-4.0.tar file? Anyways, this file was part of DW 3.5 data folder also. You can quickly test the sample by passing right path to --rig parameter like ./sample_egomotion --rig=/path/to/rig-nominal-intrinsics.json.

Hi @SivaRamaKrishnaNV

I can't find the rig-nominal-instrinsics.json file under whole /usr/local/ and it's subfolders. 
I guess I didn't install the driveworks tar file?
I followed the video (https://www.youtube.com/watch?v=FhyjhC5rD5g) which was pointed at (https://developer.nvidia.com/drive/drive-agx) and there is no extra installation required?

Could you please tell me where is the correct install instructions and where can I get the driveworks-4.0 tar file? 

Thanks

Dear @bellhsu,
My apologies for the confusion. It seems you are using DRIVE SW 10.0. If so, the file should be at /usr/local/driveworks-2.2/data/samples/recordings/cloverleaf/rig-nominal-intrinsics.json on host.

I can’t find the rig-nominal-instrinsics.json file under whole /usr/local/ and it’s subfolders

Have you removed DW data folder? Could you please install DRIVE SW 10.0 again?

Dear @SivaRamaKrishnaNV ,

I didn't remove the DW data folder, but there is only see /usr/local/driveworks-2.2/data/tools/ folder. I will install again. Thanks