-
Notifications
You must be signed in to change notification settings - Fork 2
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
[applications] xodr_to_obj #259
Conversation
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.
Thanks for the app. 🚀
ptal at the comments
MODULE.bazel
Outdated
@@ -16,3 +16,5 @@ bazel_dep(name = "maliput", version = "1.1.1") | |||
bazel_dep(name = "tinyxml2", version = "9.0.0") | |||
|
|||
bazel_dep(name = "googletest", version = "1.14.0", dev_dependency = True) | |||
|
|||
local_path_override(module_name="maliput", path="../maliput") |
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.
Worth for local use case but probably we don't want to add this local_path_override
statement to the repo, right?
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.
Aye, fixed.
//************************************************************************ | ||
// 1. Add the following to MODULE.bazel | ||
// local_path_override(module_name="maliput", path="../maliput") | ||
// 2. Mount maliputr by uncommenting and patching the path in the section below |
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.
nit:
// 2. Mount maliputr by uncommenting and patching the path in the section below | |
// 2. Mount maliput by uncommenting and patching the path in the section below |
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.
Fixed
resources/SmallTownRoads.xodr
Outdated
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.
Does it make sense to defer adding this map until we support Spiral Geometries? #260
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.
I don't mind having it there as a test-driven stub for #260, but I'll take it out of here and create a separate PR for that.
4df8f6a
to
f6157a1
Compare
Also bugfixes the return values of all applications to 0 on success and adds an xodr that is currently unsupported (spiral geometries). Signed-off-by: Daniel Stonier <[email protected]>
f6157a1
to
2e16456
Compare
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.
LGTM
CI failing due to clang-format.
There is bash script tool under tools
folder that you can run to automatically format the repo.
./src/maliput_malidrive/tools/reformat_code.sh
Dang, no ament in my bazel devcontainer. Can you run that for me and push a commit to this branch? Q: Would it be useful for you to have a ROS devcontainer? |
Signed-off-by: Franco Cipollone <[email protected]>
I would say yes for quick development setup, however as we work with several repositories and in a colcon workspace not sure if will be that straightforward. In Bazel you can work directly on the repo and add as many local_override as you want. So it matches just right. |
🎉 New feature
Adds a command line utility for dumping .obj/.mtl files from an xodr.
Also:
Summary
Not fancy, but has the basics for getting a .obj file.
Test it