Skip to content

Commit

Permalink
Reduce gate penalty - gates shouldn't slow down walking much. In the …
Browse files Browse the repository at this point in the history
…future we

should rely on private tags to penalize walking into private areas.
  • Loading branch information
dnesbitt61 committed May 20, 2016
1 parent 3bbc7f8 commit 0488133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sif/pedestriancost.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ constexpr uint32_t kMaxDistance = 100000; // 100 km

constexpr float kModeWeight = 1.5f; // Favor this mode?
constexpr float kDefaultManeuverPenalty = 5.0f; // Seconds
constexpr float kDefaultGatePenalty = 300.0f; // Seconds
constexpr float kDefaultGatePenalty = 10.0f; // Seconds
constexpr float kDefaultWalkingSpeed = 5.1f; // 3.16 MPH
constexpr float kDefaultWalkwayFactor = 0.9f; // Slightly favor walkways
constexpr float kDefaultAlleyFactor = 2.0f; // Avoid alleys
Expand Down

0 comments on commit 0488133

Please sign in to comment.