Code review of RFC - Simulation Interfaces#2
Merged
jhanca-robotecai merged 4 commits intorb/sim_interfacesfrom Mar 17, 2025
Merged
Code review of RFC - Simulation Interfaces#2jhanca-robotecai merged 4 commits intorb/sim_interfacesfrom
jhanca-robotecai merged 4 commits intorb/sim_interfacesfrom
Conversation
Signed-off-by: Jan Hanca <jan.hanca@robotec.ai>
Signed-off-by: Jan Hanca <jan.hanca@robotec.ai>
PawelLiberadzki
left a comment
There was a problem hiding this comment.
Reasonable propositions, that organize this document. I made few remarks for discussion, and few nitpicks.
| | SCOPE_STATE | Move all spawned entities to initial poses cached in `ROS 2 Entities manager`. | | ||
| | SCOPE_TIME | New call using `ROS2Bus` | | ||
|
|
||
| ## SetSimulationState service |
There was a problem hiding this comment.
It may be worth noting here or under GetSimulationState, what will be the initial state? According to simulation interfaces RFC simulation starts as PAUSED.
Moreover, I would at least consider, what is before this? I guess the ROS 2 simulation interfaces become available only when simulation is initialized, and the state is first set to PAUSED.
michalpelka
approved these changes
Mar 17, 2025
Signed-off-by: Jan Hanca <jan.hanca@robotec.ai> Co-authored-by: Michał Pełka <michal.pelka@robotec.ai> Co-authored-by: Paweł Liberadzki <pawel.liberadzki@robotec.ai> Signed-off-by: Jan Hanca <jan.hanca@robotec.ai>
Signed-off-by: Jan Hanca <jan.hanca@robotec.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is my code review of #1 . The main goal was to make the text more formal (RFC style) and to make it easier to read by people less familiar with Simulation Interfaces. The changes are focused around the text - they do not really change the meaning of the RFC.
Additionally, the definitions of all ROS 2 interfaces were removed from this RFC, as they are not relevant. The links are left in the text.