Skip to content
g-AI-orgPublic

About

Shared low-latency remote control, telemetry, video playout, and live tuning library for 0SFS, gdog-remote, and esp32-bot

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

@g-ai/rc (g-AI-org/rc)

Platform-agnostic low-latency remote control, link diagnostics, touch joystick math, 3D orbit camera gestures, 6-DOF IMU sensor fusion/calibration, control optimization, and browser-first offline artifact caching shared across:

  • 0SFS (0SFS/rc, 0SFS/fly) — Open-source flight simulator, phone remote controller, and 3D Earth camera/flight tooling
  • g-AI-org/gdog-remote — Quadruped robot remote controller
  • esp32-bot/balax-remote — Self-balancing robot PWA remote, live telemetry plotter, 3D orientation view, and live tuning

Design rule: @g-ai/rc stays vehicle- and app-agnostic. App-specific defaults, firmware compilers, hostnames, manifest URLs, and gain presets live in each consumer repository (0SFS, gdog-remote, balax-remote), while reusable browser-side algorithms live here.

Modules

  • @g-ai/rc/diagnostics — LinkDiagnosticsTracker (rolling RTT, jitter, packet drop %, TX/RX Hz)
  • @g-ai/rc/transport — LowLatencySession, resolveTargetEndpoints (WebRTC DataChannel, WebSocket, WebSerial)
  • @g-ai/rc/controls — computeStickVector, applyDeadzoneAndExpo (floating-origin camera joystick & dual-stick math)
  • @g-ai/rc/tuning — parseSettingsTable, TuningParameter, GainParam (schema-driven live runtime parameter synchronization)
  • @g-ai/rc/cameraGlide — createCameraGlide (inertial 3D camera glide damping)
  • @g-ai/rc/cameraInput — attachOrbitCameraInput, saved input settings (unified mouse/touch/trackpad 3D orbit gestures)
  • @g-ai/rc/imuPhysics — createWheeledRobotPhysics (VQF 6-DOF quaternion fusion, rest/ZUPT, linear motion)
  • @g-ai/rc/imuCalibration — 6-face accelerometer ellipsoid solver, CG lever-arm estimation, HIL replay/evaluation
  • @g-ai/rc/controlOptimizer — Joseph-form DARE LQR solver, inverted-pendulum system ID, control scorecards
  • @g-ai/rc/artifactStore — IndexedDbArtifactStore, MemoryArtifactStore, CompanionSdArtifactStore, pure-TS SHA-256, W-TinyLFU eviction, and browser GitHub release manifest/binary caching

About

Shared low-latency remote control, telemetry, video playout, and live tuning library for 0SFS, gdog-remote, and esp32-bot

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages