Skip to content

Work with HDMap

Environment variable configuration

In order to receive notifying message from SD navigation SDK correctly, the user needs to specify an IP address and port of the machine running SD navigation SDK by HDMap service options.

1
Os.setenv(Constants.KEY_TASDK_BROKER_SERVER_PORT, "port num", true);

For avoiding the conflict of ports when more than one client integrates HDMap SDK, SD navigation SDK has a strategy to automatically select a randomized address port of the broker if not set.

The user must not use the randomized port in range of [20000, 20099].

Instead, the broker address port must be explicitly specified in environment variable named TASDK_BROKER_SERVER_PORT excluding the above ports range aligned with SD navigation SDK, otherwise the connection between SD navigation SDK and HDMap SDK cannot be established.