diff --git a/isaac_ros_nitros/src/nitros_node.cpp b/isaac_ros_nitros/src/nitros_node.cpp index f28ee44..c73621a 100644 --- a/isaac_ros_nitros/src/nitros_node.cpp +++ b/isaac_ros_nitros/src/nitros_node.cpp @@ -1,5 +1,5 @@ // SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES -// Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -15,6 +15,7 @@ // // SPDX-License-Identifier: Apache-2.0 +#include #include #include @@ -56,7 +57,7 @@ const std::vector PRESET_EXTENSION_SPEC_NAMES = { namespace { // Generate a random string of the given length -unsigned int seed = time(NULL); +unsigned int seed = time(NULL) ^ getpid(); std::string GenerateRandomString(const size_t length) { std::string output_string;