computeFallbackOrder#

Fully qualified name: isaacsim::robot::schema::details::computeFallbackOrder

inline size_t isaacsim::robot::schema::details::computeFallbackOrder(
const std::string &tokenName,
int orderIndex,
)#

Compute the fallback order index for a DOF token.

Looks up the token name in the fallback order map. If not found, returns the provided order index clamped to zero.

Parameters:
  • tokenName[in] The DOF token name string.

  • orderIndex[in] The order index to use as fallback.

Returns:

size_t The computed fallback order.