From 54b17cf126b2c4470185e5012b84aa427ceaef2a Mon Sep 17 00:00:00 2001 From: Chris Rai Date: Mon, 2 Feb 2026 21:43:03 -0500 Subject: [PATCH] feedback time --- services/virtual-vehicle/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/services/virtual-vehicle/README.md b/services/virtual-vehicle/README.md index 07ff921..ad0ca4a 100644 --- a/services/virtual-vehicle/README.md +++ b/services/virtual-vehicle/README.md @@ -2,6 +2,18 @@ A lightweight vehicle simulator that generates CAN telemetry and sends it to the cloud gateway. +## Background + +This service replaces the older `project-ai/tools/k8s-socket-can` tool. We rewrote it because: + +1. **Simpler deployment** - Pure Go service that runs in K8s without SocketCAN kernel dependencies +2. **No hardware requirements** - The original required a CAN interface or vcan setup; this generates synthetic frames +3. **Cloud-native** - Designed for K8s from the start, uses the shared cloud-services build/deploy pipeline +4. **Self-registering** - Automatically registers with manufacturer API and handles certificate provisioning +5. **Configurable** - VIN prefix, send interval, and endpoints all configurable via env vars + +The original k8s-socket-can was designed for testing with real CAN hardware or Linux vcan interfaces. For demo/testing purposes where we just need telemetry flowing through the system, this lightweight simulator is more practical. + ## Overview This service simulates a connected vehicle (T.Rex) by: