Skip to content

Commit

Permalink
fix speeds
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Jun 7, 2024
1 parent 3e17355 commit b5f51d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/osr/routing/profiles/bike.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ struct bike {
direction,
std::uint16_t const dist) {
if (e.is_bike_accessible()) {
return static_cast<cost_t>(std::round(dist / 1.2F));
return static_cast<cost_t>(std::round(dist / 3.5F));
} else {
return kInfeasible;
}
Expand Down
2 changes: 1 addition & 1 deletion include/osr/routing/profiles/foot.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ struct foot {
std::uint16_t const dist) {
if ((e.is_foot_accessible() || e.is_bike_accessible()) &&
(!IsWheelchair || !e.is_steps())) {
return static_cast<cost_t>(std::round(dist / 1.2F));
return static_cast<cost_t>(std::round(dist / 1.1F));
} else {
return kInfeasible;
}
Expand Down

0 comments on commit b5f51d9

Please sign in to comment.