-
Notifications
You must be signed in to change notification settings - Fork 276
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
Sync components removal #272
Conversation
Signed-off-by: Martiño Crespo <[email protected]>
Signed-off-by: Martiño Crespo <[email protected]>
Signed-off-by: Martiño Crespo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great! I left some comments mainly to improve test coverage. Let me know if you don't have enough time.
Signed-off-by: Martiño Crespo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work! I have one last suggestion. Otherwise, this is good to go.
Signed-off-by: Martiño Crespo <[email protected]>
This looks ready to me. @chapulina, mind taking a quick look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thank you for putting time into this. I just have a couple of minor comments for your consideration.
Signed-off-by: Martiño Crespo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, we should address the failing test on macOS.
Signed-off-by: Martiño Crespo <[email protected]>
Is there anything that needs to be done yet? |
@osrf-jenkins run tests please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, this will be super helpful 👍
Signed-off-by: Martiño Crespo <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Louise Poubel <[email protected]>
Signed-off-by: Martiño Crespo <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Louise Poubel <[email protected]>
It sets the
SerializedStateMap
andSerializedState
messages when a component is removed afterEntityComponentManager::RemoveComponent
is called. This allows a more precise synchronization between the server and GUIEntityComponentManager
.This PR is made in order to solve an issue in #234 already described here (no. 3).
A couple of comments about the PR:
SerializedStateMap
message after callingRemoveComponent
, and another one that checks that a component is actually removed when itsremove
flag in the message is set to true. I've implemented the first one and the second should be already done here.