-
Notifications
You must be signed in to change notification settings - Fork 251
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
resolve relative file paths #345
Conversation
I've updated the logic to differentiate between version 4 and <=4. I've also included a test for compatibility. That being said, version 4 removes the folder name and the file path is now relativ to the parent folder a.k.a the rosbag2 folder. |
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 looks mostly good to me.
Only suggestion that requires changes is size_t
-> int
for version
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.
Works for me.
Since end-to-end record tests are updated to version 4, a to-do item for later might be to test end-to-end playback with version 3 (when that test is re-enabled and files exist to test it...).
@emersonknapp I am getting QoS test failures, did I miss something?
and
|
Hmm, it all passed in my actions and CI run before merging, taking a look |
Feel free to force push back over it, I made it fail the DCO. But i'm interested to see how the CI run does with this version of the branch |
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.
🚢
Ah, I noticed that your CI runs are again using only cyclone, whereas mine build with all three, and i assume just run on FastRTPS by default. When I explicitly run
locally now i see the timeouts. The spurious warnings are definitely a symptom of what we discussed this morning, and the hanging at the end of the test, I'm not exactly sure. I think that we should probably do the following:
Sound good? If so, here's a PR #348 |
Ok @Karsten1987 you should be unblocked by the QoS tests on this one now, that feature is disabled, I am now looking into making it succeed on Cyclone |
thanks. I have to give some more love to the Windows build. |
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Co-Authored-By: Zachary Michaels <zmichaels11@users.noreply.github.com>
Co-Authored-By: Zachary Michaels <zmichaels11@users.noreply.github.com>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
I am going slightly crazy with windows and file paths. |
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
@Karsten1987 I'd recommend just adding DCO and moving forward since we have it on our backlog to resolve the ctrl-c issue. I've already added some Python tests based on launch in #347 and plan to expand from there to resolve the Windows ctrl-c issue. |
fixes #229
It basically takes the relative file paths and resolves them relativ to the base folder name, essentially the name of the rosbag to be replayed.
If one of these relativ files is actually in an absolute form, it will ignore it.
Signed-off-by: Karsten Knese karsten@openrobotics.org