Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
Signed-off-by: Franco Cipollone <franco.c@ekumenlabs.com>
  • Loading branch information
francocipollone committed Aug 16, 2022
1 parent 5043020 commit f83507f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geometry_base/road_geometry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void RoadGeometry::SpacialReorganization(const SpacialReorganization::Type& type
const auto lane_bounds = lane.second->lane_bounds(s);
for (double r = lane_bounds.min(); r <= lane_bounds.max(); r += 0.1) {
const auto inertial_pos = lane.second->ToInertialPosition({s, r, 0. /* h */}).xyz();
const maliput::geometry_base::MaliputPoint point{inertial_pos.x(), inertial_pos.y(), inertial_pos.z(),
const maliput::geometry_base::MaliputPoint point{{inertial_pos.x(), inertial_pos.y(), inertial_pos.z()},
lane.first};
points.push_back(point);
}
Expand Down

0 comments on commit f83507f

Please sign in to comment.