Skip to content

Commit

Permalink
backend/fix/speed-in-stop-location
Browse files Browse the repository at this point in the history
  • Loading branch information
rupakkorde authored and khuzema786 committed Dec 9, 2024
1 parent 595075d commit 3906704
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fn is_stop_detected(
distance < config.radius_threshold_meters as f64
&& total_points >= config.min_points_within_radius_threshold
&& speed.map_or(false, |speed| {
speed >= SpeedInMeterPerSecond(config.max_eligible_stop_speed_threshold)
speed <= SpeedInMeterPerSecond(config.max_eligible_stop_speed_threshold)
})
}

Expand Down

0 comments on commit 3906704

Please sign in to comment.