Skip to main content

CoastingDetectorAnalyzer - Rally Stage - Aston Martin DBR9

Coasting detection: time spent on neither throttle nor brake

Sample Data

AttributeValue
Sourcemotec
Categoryrally_stage
File/Users/mhild/src/durandom/racing/b4racing/packages/source-motec/tests/fixtures/telemetry-NGP-Car_5-Aston_Martin_DBR9-Stage_138-20260122_120000.ld

Available Channels (30): brake, brake_layer_temp_fl, brake_layer_temp_fr, brake_layer_temp_rl, brake_layer_temp_rr, brake_temp_fl, brake_temp_fr, brake_temp_rl, brake_temp_rr, brake_wear_fl, brake_wear_fr, brake_wear_rl, brake_wear_rr, clutch, damping_force_fl, damping_force_fr, damping_force_rl, damping_force_rr, distance, engine_temp, gear, handbrake, lap_distance_pct, lat_accel, long_accel, pitch, position_x, position_y, position_z, roll


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 Context: Rally stage data

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


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