Skip to main content

CoastingDetectorAnalyzer - Circuit Session - Lime Rock MX-5

Coasting detection: time spent on neither throttle nor brake

Sample Data

AttributeValue
Sourcegarage61
Categorycircuit_lap
File01K451BYJ64G0T2GPQ44AKXC86

Available Channels (23): LongAccel, VertAccel, YawRate, abs_active, brake, clutch, distance, drs_active, gear, lap_distance_pct, lat_accel, latitude, longitude, position_type, rpm, speed, steering, throttle, time, track_pct, x, y, yaw


Configuration

SettingValue
Slice Typelap
Metadata OnlyFalse
Required Channelsthrottle, 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

Key Options

OptionDescription
lap_selectionall
throttle_thresholdThreshold below which throttle is 'off' (default: 0.05)
brake_thresholdThreshold below which brake is 'off' (default: 0.05)
min_speed_mpsMinimum speed in m/s to count as coasting (default: 1.39 ≈ 5 km/h)

Sample Output

Subjects Analyzed: 1

Short Duration (Default)

Options: min_coast_duration_seconds=0.1, _config_label=Short Duration (Default) Error: Invalid options for analyzer 'CoastingDetectorAnalyzer': 1 validation error for CoastingDetectorOptions _config_label Extra inputs are not permitted [type=extra_forbidden, input_value='Short Duration (Default)', input_type=str] For further information visit https://errors.pydantic.dev/2.12/v/extra_forbidden

Longer Duration

Options: min_coast_duration_seconds=0.3, _config_label=Longer Duration Error: Invalid options for analyzer 'CoastingDetectorAnalyzer': 1 validation error for CoastingDetectorOptions _config_label Extra inputs are not permitted [type=extra_forbidden, input_value='Longer Duration', input_type=str] For further information visit https://errors.pydantic.dev/2.12/v/extra_forbidden


Example Calls

Am I coasting too much?

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

Detects time spent on neither pedal


Generated from b4racing.analysis.analyzers.coasting_detector.CoastingDetectorAnalyzer