Skip to content

About

A comprehensive Flutter application designed to lower the barrier to entry for Liquid Galaxy rigs through interactive onboarding, 3D content creation, and seamless remote control.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

LG Interactive Onboarding: Guided Tutorial & Learning System

A Flutter-based onboarding, learning, and 3D content platform for the Liquid Galaxy ecosystem

Flutter Dart Liquid Galaxy KML Collada Google Earth

License PRs Welcome Status

LG Interactive Onboarding Logo

Table of Contents


Overview

LG Interactive Onboarding is a comprehensive Flutter application that lowers the barrier to entry for using Liquid Galaxy rigs. It combines a gamified learning curriculum, a no-code 3D model builder, and a full rig control dashboard into a single, cohesive interface — so users can learn, create, and control without needing deep technical knowledge of KML or SSH.

The project aims to:

  • Educate — a gamified, curriculum-based path to learning Liquid Galaxy's features and capabilities.
  • Empower creation — an intuitive 3D model builder for importing, manipulating, and projecting custom models onto a rig without hand-writing KML.
  • Simplify control — a centralized dashboard for managing rig state and executing complex commands safely.
  • Assist in real time — an AI mentor with local vector RAG and full speech accessibility.

Core Features

Curriculum Engine & Learning

  • Guided and self-paced interactive learning modules covering the Liquid Galaxy ecosystem.
  • Real-time auto-verification that polls rig/provider state to confirm task completion.
  • Voice narration via flutter_tts, with user-configurable preferences.
  • Reward animations and gamification on module completion.
  • KML educational balloons that surface contextual information directly on the LG screens.

3D Model Builder

  • Import support for native COLLADA (.dae) and compressed (.kmz) files.
  • Drag-and-drop geospatial placement on an interactive flutter_map (OpenStreetMap) view.
  • Fine-grained orientation control — heading, tilt, and roll sliders.
  • Automatic triangulation, KMZ/KML packaging, and one-click deployment to the rig.
  • Model grouping and validation, with an optimized rendering pipeline for large models.

AI Mentor & Help System

  • Multi-provider LLM integration via OpenRouter for contextual, dynamic assistance.
  • Local vector RAG for accurate, system-specific answers.
  • Built-in FAQ and troubleshooting guide integrated into the dashboard.

Advanced Liquid Galaxy Features

  • Interactive KML playground with a system KML slot architecture for live experimentation.
  • Live-streamed orbital tours of geospatial locations on the Google Earth instance.
  • Architecture Explorer — UML and SVG-based diagrams documenting data flow, state, and the physical structure of an LG cluster.

Dashboard & SSH Control

  • Secure SSH connection to the LG master node via dartssh2 and flutter_secure_storage.
  • Power management commands (shutdown, reboot, relaunch, clear screens) with confirmation dialogs for all critical operations.
  • Dynamic logo banner overlay on the leftmost LG screen, with manual clear support.

UI/UX Architecture

  • AppShell navigation built on an IndexedStack for persistent, state-preserving tabs and overlays.
  • State management fully migrated to Riverpod (ListenableBuilders and NotifierProviders).
  • A warm, modern dark theme with a minimal-surface design and Liquid Galaxy brand color integration.

Tech Stack

Category Technologies
Framework Flutter (SDK ^3.10.4)
State Management flutter_riverpod
Networking / SSH dartssh2, http
Mapping flutter_map, latlong2
Data Processing xml, archive
Storage shared_preferences, flutter_secure_storage
Media & AI flutter_svg, flutter_tts, speech_to_text, tflite_flutter
3D Processing Custom Assimp integration, DAE triangulation

Getting Started

Prerequisites

  • Flutter SDK installed and available on your PATH.
  • Android Studio or Xcode for building to their respective platforms.
  • A running Liquid Galaxy rig (or a virtual machine configured as one) for testing SSH commands and KML rendering.

Installation

  1. Clone the repository

    git clone https://github.com/LiquidGalaxyLAB/lg-interactive-onboarding.git
    cd lg-interactive-onboarding
  2. Verify your Flutter installation

    flutter --version
  3. Install dependencies

    flutter pub get
  4. Run the application

    # List available devices
    flutter devices
    
    # Run the app
    flutter run

Building for Platforms

Android (debug APK):

flutter build apk --debug

Web:

flutter build web

Project Structure

Review the ARCHITECTURE_EXPLORER components within the app for a visual, up-to-date breakdown of module boundaries and state flow before diving into the codebase.

lib/
├── curriculum/        # Guided learning modules, TTS, gamification
├── model_builder/      # 3D import, placement, KML/KMZ generation
├── ai_mentor/           # OpenRouter integration, local vector RAG
├── dashboard/            # SSH control, power management, logo overlay
├── architecture_explorer/ # UML/SVG diagram viewer
└── shared/                # AppShell, theming, common widgets/providers

Contributing

Contributions are welcome and appreciated! Before opening a pull request, please review the ARCHITECTURE_EXPLORER components within the app to understand the current state flow and UI structure.

  1. Fork the repository.
  2. Create your feature branch:
    git checkout -b feature/AmazingFeature
  3. Commit your changes:
    git commit -m 'Add some AmazingFeature'
  4. Push to the branch:
    git push origin feature/AmazingFeature
  5. Open a Pull Request.

Please keep PRs focused and include a clear description of the change and its motivation.


License

Distributed under the MIT License. See LICENSE for more information.


Acknowledgments

Developed for the Liquid Galaxy Project.

A special thank you to the following individuals for their invaluable guidance, support, and mentorship throughout the development of this project:

  • Andreu Ibañez — Organization Administrator, Liquid Galaxy Lab & Project Mentor
  • Óscar Carrasco — Project Mentor
  • Deniz Yuksel — Project Mentor

About

A comprehensive Flutter application designed to lower the barrier to entry for Liquid Galaxy rigs through interactive onboarding, 3D content creation, and seamless remote control.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages