Skip to main content

CoastingDetectorAnalyzer

Coasting detection: time spent on neither throttle nor brake

Configuration

  • Slice Type: lap
  • Metadata Only: False
  • Required Channels: throttle, brake, time

When to Use

  • User asks about pedal control or coasting
  • User wants to know if they're maintaining car control
  • User asks 'am I coasting too much?'
  • User wants to improve weight transfer management

Options

OptionTypeDefaultDescription
granularityLiteral[coarse, normal, detailed]"normal"Level of detail in analysis output
comparison_modeLiteral[absolute, relative, percentage]"absolute"How to compare metrics across subjects
throttle_thresholdfloat0.05Throttle below this is considered 'off' (0-1) Constraints: ≥ 0.0, ≤ 0.5
brake_thresholdfloat0.05Brake below this is considered 'off' (0-1) Constraints: ≥ 0.0, ≤ 0.5
min_speed_mpsfloat1.39Minimum speed (m/s) to count as coasting; below is idle (1.39 ≈ 5 km/h) Constraints: ≥ 0.0
min_coast_duration_secondsfloat0.1Minimum duration to count as coasting event (seconds) Constraints: ≥ 0
lap_selectionstr"all"Lap selection mode: 'all', 'best', 'n_best'
n_best_lapsint | None5Number of best laps to analyze when lap_selection='n_best'

Examples

Example 1

User Query: Am I coasting too much?

Call:

analyze(analyzers='coasting_detector', event='...')

Explanation: Detects time spent on neither pedal