Function fuse_core::uuid::generate(const std::string&, const rclcpp::Time&, const UUID&)

Function Documentation

UUID fuse_core::uuid::generate(const std::string &namespace_string, const rclcpp::Time &stamp, const UUID &id)

Generate a UUID from a namespace string, a ros timestamp, and an additional id.

Every unique timestamp and id pair will generate a unique UUID

Parameters:
  • namespace_string[in] A namespace or parent string used to generate non-overlapping UUIDs

  • stamp[in] A rclcpp::Time timestamp

  • id[in] A UUID

Returns:

A repeatable UUID specific to the provided namespace and timestamp