How victor-rebuild/victor-1.6-rebuild-2 works
This repository is the source for the 1.6-rebuild Vector firmware, with runtime code for the robot engine, animation process, cloud connectivity, and system updates. A typical robot interaction enters through robot/engine messages, is handled by the engine or animation runtime, and can produce animation, display, light, or audio behavior; cloud services provide connectivity and voice-related support. The graph emphasizes those runtime boundaries and documented capabilities. Several subsystems are represented by tree-supported paths because their implementation was not sampled, so uncertain internal wiring is omitted.
Main entry points: animEngine.cpp Animation Process · cozmoEngineMain.cpp Vector Engine · message_handler.go Cloud Message Handler · gateway.go Cloud Gateway
Components 20
Robot Runtime
- Vector Engine
engine/tools/engined/cozmoEngineMain.cpp - Robot Messaging
engine/robotToEngineImplMessaging.cpp - Nonvolatile Storage
engine/components/nvStorageComponent.cpp
Animation and Audio
- Animation Process
animProcess/src/cozmoAnim/animEngine.cpp - Animation Streaming
animProcess/src/cozmoAnim/animation/animationStreamer.cpp - Animation Assets
cannedAnimLib/cannedAnims/cannedAnimationLoader.cpp - Face Display
animProcess/src/cozmoAnim/faceDisplay/faceDisplay.cpp - Backpack Lights
animProcess/src/cozmoAnim/backpackLights/animBackpackLightComponent.cpp - Robot Audio
engine/audio/engineRobotAudioClient.cpp - Audio Engine
lib/audio/source/engine/audioEngineController.cpp - Speech Recognition
animProcess/src/cozmoAnim/speechRecognizer/speechRecognizerSystem.cpp - Text To Speech
animProcess/src/cozmoAnim/textToSpeech/textToSpeechComponent.cpp - Alexa Integration
animProcess/src/cozmoAnim/alexa/alexa.cpp
Cloud Services
- Cloud Gateway
cloud/cloud/gateway.go - Cloud Message Handler
cloud/cloud/message_handler.go - Voice Streaming
cloud/internal/voice/process.go - Token Services
cloud/internal/token/token.go
System Services
- Firmware Updater
platform/update-engine/update-engine.py
Other components
- Robot User
- External Services
Connections 21
- Robot User → Vector Engine: interacts with
- Vector Engine → Robot Messaging: dispatches messages
- Vector Engine → Animation Process: starts process
- Robot Messaging → Nonvolatile Storage: handles storage requests
- Animation Process → Animation Streaming: updates
- Animation Process → Robot Audio: sets up audio input
- Animation Process → Face Display: initializes
- Animation Process → Backpack Lights: initializes and updates
- Animation Process → Speech Recognition: initializes via context
- Animation Process → Text To Speech: initializes
- Animation Process → Alexa Integration: initializes
- Animation Streaming → Animation Assets: uses loaded animations
- Robot Audio → Vector Engine: sends audio messages
- Audio Engine → External Services: uses audio backend
- Cloud Gateway → Cloud Message Handler: dispatches messages
- Cloud Gateway → External Services: connects to
- Cloud Message Handler → Voice Streaming: handles voice traffic
- Cloud Message Handler → Token Services: uses token services
- Voice Streaming → External Services: streams voice
- Alexa Integration → External Services: integrates with
- Firmware Updater → External Services: downloads update data