Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds an option to generate unique hex strings for new task ids, fix time stamp logic #319

Merged
merged 3 commits into from
Jan 22, 2024

Conversation

aaronchongth
Copy link
Member

New feature implementation

Implemented feature

  • Allow to append random hex strings to task IDs for better uniqueness (across dispatcher restarts)
  • Fix overflow issue with timestamp approach

…ime stamp logic too

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Copy link
Contributor

@mxgrey mxgrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very reasonable, and it worked as expected when I tested it out.

@mxgrey mxgrey merged commit b630867 into main Jan 22, 2024
4 checks passed
@mxgrey mxgrey deleted the feature/unique-hex-string-w-taskid branch January 22, 2024 13:51
cwrx777 pushed a commit to cwrx777/rmf_ros2 that referenced this pull request Jan 25, 2024
…ime stamp logic (open-rmf#319)

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
cwrx777 pushed a commit to cwrx777/rmf_ros2 that referenced this pull request Jan 26, 2024
…ime stamp logic (open-rmf#319)

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Charly Wu <charlywu@medinno.com>
cwrx777 pushed a commit to cwrx777/rmf_ros2 that referenced this pull request Jan 26, 2024
…ime stamp logic (open-rmf#319)

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Charly Wu <charlywu@medinno.com>
cwrx777 pushed a commit to cwrx777/rmf_ros2 that referenced this pull request Jan 26, 2024
…ime stamp logic (open-rmf#319)

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Charly Wu <charlywu@medinno.com>
cwrx777 pushed a commit to cwrx777/rmf_ros2 that referenced this pull request Jan 26, 2024
…ime stamp logic (open-rmf#319)

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Charly Wu <charlywu@medinno.com>
cwrx777 pushed a commit to cwrx777/rmf_ros2 that referenced this pull request Jan 26, 2024
…ime stamp logic (open-rmf#319)

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Charly Wu <charlywu@medinno.com>
arjo129 pushed a commit that referenced this pull request Jun 7, 2024
…ime stamp logic (#319)

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Arjo Chakravarty <arjoc@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants