Provides an integration application to export a RoadGeometry as a DOT file#139
Merged
francocipollone merged 3 commits intomainfrom Jun 9, 2025
Merged
Conversation
… file.
Try it by calling:
$ maliput_to_dot --maliput_backend malidrive --xodr_file_path ./src/maliput_malidrive/resources/TShapeRoad.xodr
And then see the output value:
$ cat maliput_graph.dot
graph {
1 -- 5 [ label = "9_0" ];
5 -- 1 [ label = "8_0" ];
5 -- 2 [ label = "7_0" ];
1 -- 2 [ label = "5_0" ];
4 -- 5 [ label = "2_0" ];
2 -- 5 [ label = "6_0" ];
1 -- 2 [ label = "4_0" ];
2 -- 3 [ label = "1_0" ];
0 -- 1 [ label = "0_0" ];
}
Signed-off-by: Agustin Alba Chicar <ag.albachicar@gmail.com>
francocipollone
previously approved these changes
Jul 5, 2024
Signed-off-by: Agustin Alba Chicar <ag.albachicar@gmail.com>
liangfok
approved these changes
Oct 5, 2024
Collaborator
liangfok
left a comment
There was a problem hiding this comment.
LGTM with minor comment.
|
|
||
| /// @file maliput_to_dot.cc | ||
| /// | ||
| /// Builds a dragway, multilane or malidrive road geometry |
Collaborator
There was a problem hiding this comment.
This could be replaced with "See kUsageMessage below for details." That'll avoid the need to keep them consistent.
francocipollone
approved these changes
Oct 14, 2024
Collaborator
francocipollone
left a comment
There was a problem hiding this comment.
LGTM!
Do you need to retrigger CI?
liangfok
approved these changes
Oct 14, 2024
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.
🎉 New feature
Pairs with maliput/maliput#637
Summary
Try it by calling:
And then see the output value:
Rendering can be seen here.
Test it
See instructions above.
Checklist
Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-bymessages.