Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 120 additions & 0 deletions doc/gui-design/wireframes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# GUI Design Documentation

## Overview
This document outlines the proposed GUI design for the FIXS configuration editor.

The goal is to make the interface more accesible and easier for users to navigate.
---
## Interaction Model

All components use a sidebar-based configuration panel.
This keeps the main interface uncluttered while allowing detailed editing when needed.

---
## User Flow

The interface follows a step-by-step workflow:

1. Select Traffic Simulator
2. Choose integration layer (Application / XIL / CARLA / CarMaker)
3. Configure selected components
4. Define simulation parameters
5. Validate inputs
6. Generate configuration script

---

## Wireframes

### 1. Traffic Simulation Block
![Start Screen](wireframes/01-traffic_sim.png)

**Purpose:**
This is the entry point of the system where the user selects the traffic simulator. Once they hit done, the screen moves to give them an option between App Layer, XIL bridge, Carla and IPG CarMaker.

**System Mapping:**
Maps to:
- `SimulationSetup.SelectedTrafficSimulator`
- `TrafficSimulatorIP`
- `TrafficSimulatorPort`

---

### 2. Application Layer
![Main Editor](wireframes/02-app_layer.png)

**Purpose:**
Defines how vehicle data is processed and exchanged between the traffic simulator and external systems

---

### 3. XIL Bridge
![Subscription Editor](wireframes/03-XIL_bridge.png)

**Purpose:**
Establishes communication between FIXS and external hardware or software systems through a standardized interface, enabling real-time data exchange and co-simulation
**System Mapping:**
- `XilSetup.EnableXil`
- `XilSetup.IsServer`
- `XilSetup.Subscriptions`

---

### 4. CARLA
![Vehicle Fields](wireframes/04-carla.png)

**Purpose:**
Configures integration with the CARLA simulator to enable real-time vehicle control, environment interaction

**System Mapping:**
- `CarlaSetup.EnableExternalControl`
- `CarlaSetup.CarlaServerIP`
- `CarlaSetup.CarlaServerPort`

---
### 5. IPG CarMaker
![Vehicle Fields](wireframes/06-IPG_CarMaker.png)

**Purpose:**
Sets up connection and co-simulation with IPG CarMaker for high-fidelity vehicle dynamics testing and validation within the simulation pipeline

---

### 6. Simulation Setup
![Validate](wireframes/05-sim_setup.png)


**Purpose:**
This stage consolidates all configuration inputs and allows the user to define global simulation parameters.

**Key Inputs:**
- Execution order
- Step size
- Logging options
- Enabled modules

**Advanced Options:**
Users can expand “Vehicle Fields” to customize transmitted data.

**System Mapping:**
- `SimulationSetup.*`
- `VehicleMessageField`

---


### 7. Vehicle Fields
![Validate](wireframes/07-vehicle_fields.png)

**Purpose:**
While in simulation setup, after clicking advanced Vehicle Fields, this box will pop up with more advanced options for the user besides the default settings.

---

### 8. Script Generation
![Validate](wireframes/08-script.png)

**Purpose:**
Generates a ready-to-use `config.yaml` file based on user inputs, eliminating the need for manual configuration.

---
Binary file added doc/gui-design/wireframes/01-traffic_sim.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/gui-design/wireframes/02-app_layer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/gui-design/wireframes/03-XIL_bridge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/gui-design/wireframes/04-carla.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/gui-design/wireframes/05-sim_setup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/gui-design/wireframes/06-IPG_CarMaker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/gui-design/wireframes/07-vehicle_fields.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/gui-design/wireframes/08-script.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.