Skip to content

Commit

Permalink
add variant results
Browse files Browse the repository at this point in the history
  • Loading branch information
cuinixam authored and code-steadfast committed Jan 9, 2024
1 parent 2778fb9 commit f7bc87d
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 23 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include(FetchContent)
FetchContent_Declare(
spl-core
GIT_REPOSITORY https://github.com/avengineers/spl-core.git
GIT_TAG feature/target-SWE.1-report-SWE.6
GIT_TAG v3.15.0
)
FetchContent_MakeAvailable(spl-core)

Expand Down
5 changes: 2 additions & 3 deletions doc/components/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ Components
{% for component_info in build_config.components_info %}
{% if component_info.has_docs %}

{{ component_info.long_name }}
--------------------
{{ component_info.long_name or component_info.name }}
-----------------------------------------------------

.. toctree::
:maxdepth: 2

/{{ component_info.path }}/doc/index
{% if (build_config.target == 'reports') and component_info.has_reports %}
/{{ component_info.reports_output_dir }}/unit_test_spec
/{{ component_info.reports_output_dir }}/unit_test_results
/{{ component_info.reports_output_dir }}/doxygen/html/index
/{{ component_info.reports_output_dir }}/coverage
Expand Down
23 changes: 4 additions & 19 deletions doc/customer_requirements/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,10 @@ Customer A - Disco Light

Customer A requests a Disco Light that shall offer an ambient lighting experience that resonates with the rhythm of the surroundings.

.. req:: Sync light with the ambient music
:id: R_001

The lighting shall automatically sync with any ambient music, adjusting its blink rate to match the beats or rhythm.

.. req:: Option to choose a color for the light
:id: R_002

Users shall have the freedom to choose a specific color for the light. However, in the absence of a user-defined color, the software shall delight the user with randomized colors, ensuring an authentic disco experience.

.. req:: The light transition must be adjustable
:id: R_003

As the essence of a disco environment is dynamic and lively, light transitions shall happen instantaneously without any lag.

.. req:: The illumination must be adjustable
:id: R_004

The illumination provided shall be vibrant and noticeable, ranging from medium to high levels to keep up with the lively ambiance of disco settings.
* RQ-1: The lighting shall automatically sync with any ambient music, adjusting its blink rate to match the beats or rhythm.
* RQ-2: Users shall have the freedom to choose a specific color for the light. However, in the absence of a user-defined color, the software shall delight the user with randomized colors, ensuring an authentic disco experience.
* RQ-3: As the essence of a disco environment is dynamic and lively, light transitions shall happen instantaneously without any lag.
* RQ-4: The illumination provided shall be vibrant and noticeable, ranging from medium to high levels to keep up with the lively ambiance of disco settings.


Customer B - Sleep Light
Expand Down
7 changes: 7 additions & 0 deletions doc/results/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Requirements Traceability Matrix
================================

.. needtable::
:filter: type == 'req'
:columns: id, title, is tested by, is implemented by
:style: table
22 changes: 22 additions & 0 deletions doc/software_requirements/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Software Requirements
=====================

.. req:: Sync light with the ambient music
:id: R_001

The lighting shall automatically sync with any ambient music, adjusting its blink rate to match the beats or rhythm.

.. req:: Option to choose a color for the light
:id: R_002

Users shall have the freedom to choose a specific color for the light. However, in the absence of a user-defined color, the software shall delight the user with randomized colors.

.. req:: The light transition must be adjustable
:id: R_003

As the essence of an environment is dynamic and lively, light transitions shall happen instantaneously without any lag.

.. req:: The brightness must be adjustable
:id: R_004

The brightness provided shall be vibrant and noticeable, ranging from medium to high levels to keep up with the ambiance.
2 changes: 2 additions & 0 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ Variant Report
:caption: Contents

doc/customer_requirements/index
doc/software_requirements/index
doc/software_architecture/index
doc/variants/index
doc/components/index
{% if build_config.target == 'reports' %}
{{ build_config.reports_output_dir }}/coverage
{% endif %}
doc/results/index

{% endif %}

0 comments on commit f7bc87d

Please sign in to comment.