fix: use live V2X vehicles only in preview
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
|
||||
The native pipeline remains the source of static scene geometry and package
|
||||
placement. The existing Cesium preview gains an operations overlay and a compact
|
||||
V2X sign-in gate. The implementation stays in the current generated static
|
||||
V2X sign-in gate. Vehicle entities and their trace lines exist only after the
|
||||
authenticated V2X streams provide valid positions; no generated traffic route or
|
||||
simulation is rendered. The implementation stays in the current generated static
|
||||
preview architecture and does not import the source dashboard's Vue, AMap, or
|
||||
Three dependencies.
|
||||
|
||||
@@ -65,11 +67,11 @@ so preserves its compiler behavior and test coverage.
|
||||
## Compatibility And Failure Handling
|
||||
|
||||
- Existing Cesium preview and its static-only workflow remain usable.
|
||||
- The V2X overlay is optional and starts only after successful sign-in.
|
||||
- The V2X overlay starts only after successful sign-in.
|
||||
- An expired token returns the user to sign-in and removes live entities rather
|
||||
than presenting stale data as current.
|
||||
- A REST/WS capability failure is shown in diagnostics; native scene, signals,
|
||||
and traffic simulation remain usable.
|
||||
- A REST/WS capability failure is shown in diagnostics; native scene and signals
|
||||
remain usable, while the vehicle layer stays empty rather than simulating data.
|
||||
- Removing the optional overlay/support files restores current preview behavior
|
||||
without changing static package contracts.
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
3. Implement the V2X browser client: login, session token lifecycle, REST
|
||||
envelope handling, capability errors, and signal WebSocket lifecycle.
|
||||
4. Extend the generated Cesium preview with V2X entities and operations controls
|
||||
for links, devices, poles/configuration, metrics, and live signal state.
|
||||
for links, devices, poles/configuration, metrics, live signal state, and the
|
||||
OBU/target-vehicle streams. Do not load or generate simulated vehicle routes.
|
||||
5. Add a local development/proxy configuration example and deployment
|
||||
documentation for V2X REST/WS proxying. Do not add an AMap key, SDK, or page.
|
||||
6. Add focused tests for HTML generation, configuration escaping, login/request
|
||||
|
||||
@@ -38,6 +38,9 @@ retaining the native road compiler's WGS84/ENU output as the geometry authority.
|
||||
loaded while leaving the native complex-intersection view usable.
|
||||
- R6: Make endpoint origin, selected V2X intersection code, and authorization
|
||||
mechanism deployment configuration rather than hard-coded source values.
|
||||
- R7: Vehicle lines and moving vehicles must come only from the authenticated
|
||||
V2X vehicle streams. Do not render or fall back to generated route/simulation
|
||||
data when the service is unavailable.
|
||||
|
||||
## Candidate Upstream Resources
|
||||
|
||||
@@ -69,6 +72,7 @@ retaining the native road compiler's WGS84/ENU output as the geometry authority.
|
||||
- Copying the source dashboard's Vue, AMap/Three, or proprietary UI component stack.
|
||||
- Building a full user/role management service.
|
||||
- Replacing native road geometry or traffic-signal contracts with V2X data.
|
||||
- Generated vehicle-route or traffic-simulation fallback in the operations preview.
|
||||
|
||||
## Authentication Decision
|
||||
|
||||
|
||||
Reference in New Issue
Block a user