Compile error for gmapping-pkg

I am following the Carter V2 doc

to have the serial connection to the segway driver. However it show that ‘libsegwayrmp_module.so’ not declared in package ‘packages/segwayrmp’.

The full error as the following:

py@desktop:~/isaac_sim_unity3d/isaac-sdk-20210609-e336b5195/sdk$ ./…/engine/engine/build/deploy.sh --remote_user py -p //apps/carter/gmapping:gmapping-pkg -d jetpack45 -h 192.168.1.194
Loading:
Loading: 0 packages loaded
Analyzing: target //apps/carter/gmapping:gmapping-pkg (0 packages loaded, 0 targets configured)
ERROR: /home/py/isaac_sim_unity3d/isaac-sdk-20210609-e336b5195/sdk/apps/carter/BUILD:15:1: no such target ‘//packages/segwayrmp:libsegwayrmp_module.so’: target ‘libsegwayrmp_module.so’ not declared in package ‘packages/segwayrmp’ defined by /home/py/isaac_sim_unity3d/isaac-sdk-20210609-e336b5195/sdk/packages/segwayrmp/BUILD and referenced by ‘//apps/carter:carter_hardware_subgraph’
WARNING: errors encountered while analyzing target ‘//apps/carter/gmapping:gmapping-pkg’: it will not be built
INFO: Analyzed target //apps/carter/gmapping:gmapping-pkg (0 packages loaded, 0 targets configured).
INFO: Found 0 targets…
INFO: Empty query results
ERROR: command succeeded, but there were loading phase errors
jq: error (at :2): Cannot iterate over null (null)
INFO: Elapsed time: 0.106s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

Create a symbolic link using: ln -s /home/py/segway_rmplite/segwayrmp /home/py/isaac_sim_unity3d/isaac-sdk-20210609-e336b5195/sdk/packages/segwayrmp

The files are edited as the following:
carter_BUILD (1.8 KB)
carter_hardware.subgraph.json (3.4 KB)
differential_base_navigation.subgraph.json (12.7 KB)
segway_BUILD (827 Bytes)

Any help would be much appreciated.

Hi @user103239, thank you for bringing this to our attention. There is a typo in the step 8.f of the documentation it should be the following for the <isaac_sdk_home>/sdk/apps/carter/BUILD file:

isaac_subgraph(
        name = "carter_hardware_subgraph",
        modules = [
          "segwayrmp:segway_rmplite",
          ...
        ],
)

Will the documentation be revised? I had the same problem today.

Yes, the documentation will be corrected soon.