direction-stabilization

Community

Keep heading display stable and jitter-free

AuthorShawnRn
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Many raw heading inputs (GPS bearing and sensor heading) cause the SmartDash top-right direction indicator to jump and distract riders. This Skill defines a production-ready stabilization pipeline so the UI shows a stable travel direction rather than noisy instantaneous heading, preserving readability during braking, turns, and stops.

Core Features & Use Cases

  • Five-stage stabilization pipeline: speed-layered freezing, GPS/sensor quality gating, deadband filtering, speed-tiered exponential smoothing, and turn-rate limiting.
  • Hard safety rules: enforce freezing below 3 km/h, never move sensor-gathering logic into the stabilizer, and require GPS age/accuracy and step-distance checks before accepting bearing.
  • Tuning guidance & examples: stepwise parameter adjustments for making the display more stable or more responsive; label hysteresis to avoid 8-way text flicker.
  • Real-world use: prevents heading flicker at traffic stops, smooths display through small corrections, and ensures consistent direction labels during urban e-bike rides.

Quick Start

Review and tune DirectionStabilizer parameters to enforce speed-layered freezing, GPS and sensor quality gating, deadband, smoothing, turn-rate limits, and confirm stableDirectionDegrees and rideDirectionLabel behavior across speed tiers.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: direction-stabilization
Download link: https://github.com/ShawnRn/SmartDash-by-Shawn-Rain/archive/main.zip#direction-stabilization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.