CoastingDetectorAnalyzer - Circuit Session - Lime Rock MX-5
Coasting detection: time spent on neither throttle nor brake
Sample Data
| Attribute | Value |
|---|---|
| Source | garage61 |
| Category | circuit_lap |
| File | 01K451BYJ64G0T2GPQ44AKXC86 |
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
| Setting | Value |
|---|---|
| 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
Key Options
| Option | Description |
|---|---|
lap_selection | all |
throttle_threshold | Threshold below which throttle is 'off' (default: 0.05) |
brake_threshold | Threshold below which brake is 'off' (default: 0.05) |
min_speed_mps | Minimum 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