Skip to content

Commit

Permalink
fix(traffic_simulator): fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoszynski committed Dec 18, 2024
1 parent 318cfcf commit 0394908
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ namespace traffic_simulator
{
struct RoutingConfiguration
{
RoutingConfiguration() = default;
explicit RoutingConfiguration(const bool allow_lane_change)
: allow_lane_change(allow_lane_change){};

bool allow_lane_change = false;
traffic_simulator::RoutingGraphType routing_graph_type =
traffic_simulator::RoutingGraphType::VEHICLE_WITH_ROAD_SHOULDER;
Expand Down
2 changes: 1 addition & 1 deletion simulation/traffic_simulator/src/utils/pose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ auto relativeLaneletPose(
const RoutingConfiguration & routing_configuration) -> LaneletPose
{
constexpr bool include_adjacent_lanelet{false};
constexpr bool include_opposite_direction{true};
constexpr bool include_opposite_direction{false};

LaneletPose position = quietNaNLaneletPose();
// here the s and offset are intentionally assigned independently, even if
Expand Down

0 comments on commit 0394908

Please sign in to comment.