Skip to content

Conversation

@zkingston
Copy link
Contributor

Fixes #256 from @werner291

{
const auto &scene_id = scene->getKey();
const auto &request_hash = IO::getMessageMD5(request);
moveit_msgs::PlanningScene scene_msg = scene->getMessage();
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think keeping the ID here would be more preferable. I am afraid that recomputing the scene message every time will incur a high-cost for big scenes that are represented as octomaps.

@zkingston
Copy link
Contributor Author

@ChamzasKonstantinos comment address, please review

Copy link
Collaborator

@ChamzasKonstantinos ChamzasKonstantinos left a comment

Choose a reason for hiding this comment

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

Should be ok now, just another comment

@ChamzasKonstantinos
Copy link
Collaborator

ChamzasKonstantinos commented Nov 3, 2021

Hey @werner291 can you confirm that this solves your issue?

Copy link
Collaborator

@ChamzasKonstantinos ChamzasKonstantinos left a comment

Choose a reason for hiding this comment

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

Looks good, probably should merge

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.

[BUG] Context is reused despite distinct requests, md5 hash is identical

3 participants