-
Notifications
You must be signed in to change notification settings - Fork 1
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
Adds OSMManager #7
Conversation
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
install (DIRECTORY resources | ||
DESTINATION share/${PROJECT_NAME}) | ||
|
||
|
||
ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/env-hooks/${PROJECT_NAME}.dsv.in") | ||
ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/env-hooks/${PROJECT_NAME}.sh.in") |
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'd like to use ament_index
here instead, for the resources management.
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
::testing::AssertionResult CompareLineString3d(const maliput_sparse::geometry::LineString3d& lhs, | ||
const maliput_sparse::geometry::LineString3d& rhs, double tolerance); |
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 will push this to maliput_sparse::test_utilities as probably it is something to be used by other backends.
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.
Just a few comments.
test/osm/conversions_test.cc
Outdated
} // namespace | ||
} // namespace test | ||
} // namespace osm | ||
} // namespace maliput_osm |
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.
} // namespace maliput_osm | |
} // namespace maliput_osm | |
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.
Done
test/osm/conversions_test.cc
Outdated
8, {lanelet::Point3d{5, points_right[0].x(), points_right[0].y(), points_right[0].z()}, | ||
lanelet::Point3d{6, points_right[1].x(), points_right[1].y(), points_right[1].z()}, | ||
lanelet::Point3d{7, points_right[2].x(), points_right[2].y(), points_right[2].z()}}); | ||
const lanelet::Lanelet lanelet(std::stoi(lane_id), lanelet_left, lanelet_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.
const lanelet::Lanelet lanelet(std::stoi(lane_id), lanelet_left, lanelet_right); | |
const lanelet::Lanelet lanelet(kLaneIdNumber, lanelet_left, lanelet_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.
Done.
test/osm/conversions_test.cc
Outdated
TEST(ToMaliput, Lanelet) { | ||
const std::vector<maliput::math::Vector3> points_left{{1., 1., 1.}, {2., 2., 2.}, {3., 3., 3.}}; | ||
const std::vector<maliput::math::Vector3> points_right{{3., 3., 3.}, {4., 4., 4.}, {5., 5., 5.}}; | ||
const Lane::Id lane_id{"10"}; |
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.
const Lane::Id lane_id{"10"}; | |
constexpr int kLaneIdNumber{10}; | |
const Lane::Id lane_id{std::to_string(kLaneIdNumber)}; |
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.
Done.
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
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 think you can merge the dependent PR and try once more with CI.
Yep, CI passes now |
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
🎉 New feature
Part of #6
Summary
maliput_osm::osm::segment
structsChecklist