Document KAMAZ NDI Android display project
This commit is contained in:
parent
0327ce2103
commit
ca9e93d7e8
11 changed files with 183 additions and 0 deletions
29
dialog-summaries/2026-05-24-kamaz-ndi-android-display.md
Normal file
29
dialog-summaries/2026-05-24-kamaz-ndi-android-display.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# 2026-05-24 KAMAZ NDI Android Display
|
||||
|
||||
## Project
|
||||
|
||||
`kamaz-ndi-android-display`
|
||||
|
||||
## Summary
|
||||
|
||||
An Android/NDK NDI receiver was built from the NDI 6 Android SDK example folder. The app is intended to become part of a KAMAZ vehicle display system with two rear-view mirror tablets and one dashboard tablet.
|
||||
|
||||
## Important Context
|
||||
|
||||
- Mirror tablets need high-quality, low-latency NDI video over Ethernet.
|
||||
- A 2.4 GHz Wi-Fi test at 130 Mbps could not sustain 1080p59.94 NDI; Ethernet is the production target.
|
||||
- Current app uses native C++ NDI receive, UYVY video, and OpenGL ES shader conversion.
|
||||
- Dashboard mode is future work and should include speedometer, tachometer, and vehicle state pictograms.
|
||||
|
||||
## Repository Work
|
||||
|
||||
- Local repo initialized at:
|
||||
- `C:\Program Files\NDI\NDI 6 SDK (Android)\Examples\C++\NDIlib_Recv_FrameSync_timing`
|
||||
- Remote bare repo created:
|
||||
- `wuu@192.168.1.66:kamaz-ndi-android-display.git`
|
||||
- Initial commit pushed:
|
||||
- `c576996 Initial KAMAZ NDI Android display project`
|
||||
|
||||
## Security Note
|
||||
|
||||
Credentials were provided by the user for transient setup, but password values were not recorded in the knowledge base. Store only public keys, users, hosts, and paths.
|
||||
|
|
@ -94,6 +94,17 @@ Use a different email only if the user provides an official email for this ident
|
|||
|
||||
## Repository Inventory
|
||||
|
||||
### `/home/wuu/kamaz-ndi-android-display.git`
|
||||
|
||||
- Type: bare Git repository.
|
||||
- Owner/user: `wuu`.
|
||||
- Created: 2026-05-24 from the Windows `wuu` machine.
|
||||
- Remote URL used by the local project: `wuu@192.168.1.66:kamaz-ndi-android-display.git`.
|
||||
- Branch: `master`.
|
||||
- Initial HEAD: `c576996`.
|
||||
- Role: Android/NDK NDI receiver and future KAMAZ tablet display app for mirror and dashboard tablets.
|
||||
- Related project: `kamaz-ndi-android-display`.
|
||||
|
||||
### `/srv/git/StereoWallND.git`
|
||||
|
||||
- Type: bare Git repository.
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ Proxmox is available at `192.168.1.60:8006`.
|
|||
- Node discovered: `prxmx`.
|
||||
- Proxmox version observed: `9.1.11`.
|
||||
- LXC container discovered: `git-stereowallnd`, VMID `101`, IP `192.168.1.66`.
|
||||
- 2026-05-24 from Windows `wuu`: Proxmox API login was used transiently to inspect infrastructure. Cluster resources showed `lxc/101 git-stereowallnd` running and `lxc/100 nextcloud` stopped. Do not record Proxmox passwords or API tickets.
|
||||
|
||||
## Relationship To Projects
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE6YHKcaxreSOzV+tS392f4fFrrJMgklhfr4mCCbCAQe herschel.krustophski@gmail.com
|
||||
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
- `agent-knowledge-base` - private text repository for agent memory, skills, locations, problems, and project state.
|
||||
- `garage` - truck snow-removal simulator project.
|
||||
- `kamaz-ndi-android-display` - Android/NDI tablet display app for KAMAZ rear-view mirror tablets and dashboard tablet.
|
||||
- `mapping` - open-source automatic projection calibration module for Unreal Engine nDisplay warp/blend export.
|
||||
|
||||
## Project Conventions
|
||||
|
|
|
|||
14
projects/kamaz-ndi-android-display/agent-log.md
Normal file
14
projects/kamaz-ndi-android-display/agent-log.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# KAMAZ NDI Android Display Agent Log
|
||||
|
||||
## 2026-05-24
|
||||
|
||||
- Created local Git repository from the Android NDI receiver project.
|
||||
- Added documentation for the KAMAZ mirror/dashboard display goal.
|
||||
- Created remote bare repository on `192.168.1.66` as `wuu`.
|
||||
- Pushed initial commit `c576996` to `wuu@192.168.1.66:kamaz-ndi-android-display.git`.
|
||||
- Updated knowledge base with project status, technical specification, repository map, and access notes without storing secrets.
|
||||
|
||||
Next handoff:
|
||||
|
||||
- Test high-bandwidth NDI receiver over wired Ethernet on the target phone/tablet.
|
||||
- Add role/source persistence for left mirror, right mirror, and dashboard.
|
||||
9
projects/kamaz-ndi-android-display/decisions.md
Normal file
9
projects/kamaz-ndi-android-display/decisions.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# KAMAZ NDI Android Display Decisions
|
||||
|
||||
## 2026-05-24 - Ethernet Is Production Transport
|
||||
|
||||
High-quality NDI mirror display mode targets wired Ethernet. A 2.4 GHz Wi-Fi test showed unstable app FPS for 1080p59.94 NDI despite fast rendering, so Wi-Fi is not the production assumption for mirror tablets.
|
||||
|
||||
## 2026-05-24 - Keep Credentials Out Of Knowledge Base
|
||||
|
||||
Proxmox and SSH credentials may be used transiently when supplied by the user, but this knowledge base records only hostnames, users, repository paths, and public keys/fingerprints. Password values and private keys must not be stored.
|
||||
9
projects/kamaz-ndi-android-display/notes.md
Normal file
9
projects/kamaz-ndi-android-display/notes.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# KAMAZ NDI Android Display Notes
|
||||
|
||||
The Android app began from the NDI 6 Android SDK example folder:
|
||||
|
||||
`C:\Program Files\NDI\NDI 6 SDK (Android)\Examples\C++\NDIlib_Recv_FrameSync_timing`
|
||||
|
||||
The original SDK example files remain in the repository for reference. The Android Studio project lives alongside them.
|
||||
|
||||
The current implementation is still a development/debug build. It contains a visible source selector and diagnostics overlay. Production mirror mode should hide these controls and auto-connect to the assigned source.
|
||||
31
projects/kamaz-ndi-android-display/repositories.md
Normal file
31
projects/kamaz-ndi-android-display/repositories.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# KAMAZ NDI Android Display Repositories
|
||||
|
||||
## Primary Repository
|
||||
|
||||
- Purpose: Android/NDK NDI receiver and future KAMAZ tablet display app.
|
||||
- Remote:
|
||||
- `wuu@192.168.1.66:kamaz-ndi-android-display.git`
|
||||
- Server path:
|
||||
- `/home/wuu/kamaz-ndi-android-display.git`
|
||||
- Default branch:
|
||||
- `master`
|
||||
- Initial commit:
|
||||
- `c576996 Initial KAMAZ NDI Android display project`
|
||||
- Local path on `wuu` Windows:
|
||||
- `C:\Program Files\NDI\NDI 6 SDK (Android)\Examples\C++\NDIlib_Recv_FrameSync_timing`
|
||||
|
||||
## Access
|
||||
|
||||
- SSH host: `192.168.1.66`
|
||||
- SSH user for this repository: `wuu`
|
||||
- Authentication: public-key SSH from the current Windows machine.
|
||||
- Do not store passwords or private keys in this repository.
|
||||
|
||||
## Related Infrastructure
|
||||
|
||||
- Proxmox host:
|
||||
- `https://192.168.1.60:8006`
|
||||
- Git LXC:
|
||||
- VMID `101`
|
||||
- name `git-stereowallnd`
|
||||
- IP `192.168.1.66`
|
||||
30
projects/kamaz-ndi-android-display/status.md
Normal file
30
projects/kamaz-ndi-android-display/status.md
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# KAMAZ NDI Android Display Status
|
||||
|
||||
## Current State
|
||||
|
||||
- Initial Android/NDK NDI receiver project exists.
|
||||
- Local working path on `wuu` Windows machine:
|
||||
- `C:\Program Files\NDI\NDI 6 SDK (Android)\Examples\C++\NDIlib_Recv_FrameSync_timing`
|
||||
- Remote bare repository created on `192.168.1.66`:
|
||||
- `wuu@192.168.1.66:kamaz-ndi-android-display.git`
|
||||
- physical path: `/home/wuu/kamaz-ndi-android-display.git`
|
||||
- Initial commit pushed:
|
||||
- `c576996 Initial KAMAZ NDI Android display project`
|
||||
|
||||
## Verified
|
||||
|
||||
- Proxmox at `192.168.1.60:8006` exposes node `prxmx`.
|
||||
- LXC `101` is `git-stereowallnd`.
|
||||
- SSH as `wuu@192.168.1.66` works from the current Windows machine using public-key auth.
|
||||
- The repository was initialized as a bare Git repository and pushed from the local project.
|
||||
|
||||
## Next Actions
|
||||
|
||||
- Test high-bandwidth NDI over wired Ethernet on phone and tablet.
|
||||
- Add persistent role/source binding for left mirror, right mirror, and dashboard.
|
||||
- Add production mode that hides controls and diagnostics overlay.
|
||||
- Start dashboard UI prototype and define vehicle telemetry input.
|
||||
|
||||
## Safety
|
||||
|
||||
Credentials were used transiently during setup but are not stored in this knowledge base. Do not add passwords or private keys here.
|
||||
47
projects/kamaz-ndi-android-display/technical-spec.md
Normal file
47
projects/kamaz-ndi-android-display/technical-spec.md
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# KAMAZ NDI Android Display Technical Specification
|
||||
|
||||
## Purpose
|
||||
|
||||
Android tablet application for KAMAZ vehicle displays.
|
||||
|
||||
The system target is:
|
||||
|
||||
- two tablets used as rear-view mirror displays;
|
||||
- one separate tablet used as a vehicle dashboard;
|
||||
- dashboard should include speedometer, tachometer, and pictograms for state of vehicle elements.
|
||||
|
||||
## Current Scope
|
||||
|
||||
The current implemented slice is a native Android NDI receiver for mirror/video display tablets.
|
||||
|
||||
## Current Receiver Requirements
|
||||
|
||||
- Receive one NDI source.
|
||||
- Render full-screen with minimal latency.
|
||||
- Prefer wired Ethernet for production.
|
||||
- Use maximum image quality over Ethernet.
|
||||
- Keep stale queued frames from accumulating visible latency.
|
||||
- Show diagnostics during development: source FPS, app FPS, render time, NDI dropped frames, queue depth.
|
||||
|
||||
## Current Implementation Notes
|
||||
|
||||
- Android Java `MainActivity` owns `SurfaceView`, source selector, and diagnostics overlay.
|
||||
- Native C++ initializes NDI, discovers sources, receives frames, and renders.
|
||||
- NDI receiver uses high-bandwidth mode for production quality.
|
||||
- Video color path uses UYVY and OpenGL ES shader conversion to RGB.
|
||||
- Audio is not captured.
|
||||
|
||||
## Dashboard Future Scope
|
||||
|
||||
- Add dashboard role separate from mirror display role.
|
||||
- Speedometer and tachometer are primary instruments.
|
||||
- Pictograms should represent KAMAZ vehicle element states.
|
||||
- Vehicle data protocol is not defined yet; likely CAN/J1939 through a gateway service.
|
||||
- Dashboard should be readable in daylight and stable under vibration.
|
||||
|
||||
## Open Questions
|
||||
|
||||
- Exact NDI source naming for left and right mirror feeds.
|
||||
- Whether mirror tablets should auto-bind by role or by explicit source name.
|
||||
- Vehicle data gateway protocol for dashboard mode.
|
||||
- Production signing and deployment flow.
|
||||
Reference in a new issue