-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for variant and component reports
- Loading branch information
1 parent
538a20a
commit e1a0714
Showing
31 changed files
with
199 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
{ | ||
"recommendations": [ | ||
"mhutchie.git-graph", | ||
"ms-vscode.cmake-tools", | ||
"twxs.cmake", | ||
"ms-vscode.cpptools", | ||
"ms-vscode.cpptools-themes", | ||
"visualstudioexptteam.intellicode-api-usage-examples", | ||
"visualstudioexptteam.vscodeintellicode", | ||
"haugerbr.project-tasks", | ||
"avengineers.show-link-list", | ||
"ms-python.vscode-pylance", | ||
"ms-python.python", | ||
"donjayamanne.python-environment-manager", | ||
"felipecaputo.git-project-manager", | ||
"ms-vscode.powershell" | ||
] | ||
} | ||
"recommendations": [ | ||
"mhutchie.git-graph", | ||
"ms-vscode.cmake-tools", | ||
"twxs.cmake", | ||
"ms-vscode.cpptools", | ||
"ms-vscode.cpptools-themes", | ||
"visualstudioexptteam.intellicode-api-usage-examples", | ||
"visualstudioexptteam.vscodeintellicode", | ||
"haugerbr.project-tasks", | ||
"avengineers.show-link-list", | ||
"ms-python.vscode-pylance", | ||
"ms-python.python", | ||
"donjayamanne.python-environment-manager", | ||
"felipecaputo.git-project-manager", | ||
"ms-vscode.powershell", | ||
"waderyan.gitblame" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Components | ||
========== | ||
|
||
{% for component_info in build_config.components_info %} | ||
{% if component_info.has_docs %} | ||
|
||
{{ component_info.long_name }} | ||
-------------------- | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
/{{ component_info.path }}/doc/index | ||
{% if component_info.has_tests %} | ||
/{{ component_info.output_dir }}/unit_test_spec | ||
/{{ component_info.output_dir }}/unit_test_results | ||
/{{ component_info.output_dir }}/doxygen/html/index | ||
/{{ component_info.output_dir }}/coverage | ||
{% endif %} | ||
|
||
|
||
{% endif %} | ||
{% endfor %} |
70 changes: 35 additions & 35 deletions
70
doc/common/customer_requirements/index.rst → doc/customer_requirements/index.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
Customer Requirements | ||
===================== | ||
|
||
|
||
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. | ||
|
||
* 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 | ||
------------------------ | ||
|
||
Customer B requests a sleep light offering an ambient lighting experience that facilitate a calm and restful environment. | ||
|
||
* RQ-1: The light emitted shall be constant without any blink, ensuring a non-disruptive environment for rest. | ||
* RQ-2: Color of the light shall be fixed to a warm white, known for its soothing and calming properties. | ||
* RQ-3: The brightness of the light shall be adjustable. | ||
* RQ-4: The light color shall be blue. | ||
|
||
|
||
Customer C - Spa Light | ||
---------------------- | ||
|
||
Customer C requests a spa light encapsulating a tranquil and rejuvenating experience, reminiscent of real-world spa environments. | ||
|
||
* RQ-1: The light shall have a slow, rhythmic blink that gives a sensation of calm and peace. | ||
* RQ-2: Instead of a single color, the lighting shall cycle through multiple predefined colors that are commonly associated with relaxation and tranquility. | ||
* RQ-3: Transitions between colors shall be smooth and seamless, ensuring a continuous flow of relaxation. | ||
* RQ-4: The brightness of the light shall be adjustable. | ||
Customer Requirements | ||
===================== | ||
|
||
|
||
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. | ||
|
||
* 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 | ||
------------------------ | ||
|
||
Customer B requests a sleep light offering an ambient lighting experience that facilitate a calm and restful environment. | ||
|
||
* RQ-1: The light emitted shall be constant without any blink, ensuring a non-disruptive environment for rest. | ||
* RQ-2: Color of the light shall be fixed to a warm white, known for its soothing and calming properties. | ||
* RQ-3: The brightness of the light shall be adjustable. | ||
* RQ-4: The light color shall be blue. | ||
|
||
|
||
Customer C - Spa Light | ||
---------------------- | ||
|
||
Customer C requests a spa light encapsulating a tranquil and rejuvenating experience, reminiscent of real-world spa environments. | ||
|
||
* RQ-1: The light shall have a slow, rhythmic blink that gives a sensation of calm and peace. | ||
* RQ-2: Instead of a single color, the lighting shall cycle through multiple predefined colors that are commonly associated with relaxation and tranquility. | ||
* RQ-3: Transitions between colors shall be smooth and seamless, ensuring a continuous flow of relaxation. | ||
* RQ-4: The brightness of the light shall be adjustable. |
This file was deleted.
Oops, something went wrong.
File renamed without changes
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,31 @@ | ||
Software Architecture | ||
##################### | ||
===================== | ||
|
||
Components | ||
---------- | ||
|
||
.. image:: _figures/sw_arch_component_diagram.svg | ||
|
||
Feature Model | ||
------------- | ||
|
||
.. image:: _figures/feature_model.svg | ||
|
||
|
||
* BlinkRate | ||
* None | ||
* Fixed | ||
* Music-adjusted | ||
|
||
* Color | ||
* Fixed | ||
* Randomized | ||
* Multiple predefined | ||
|
||
* Transition | ||
* Smooth | ||
* Immediate | ||
|
||
* Brightness | ||
* Fixed | ||
* Adjustable |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Variants | ||
======== | ||
|
||
Disco Light | ||
----------- | ||
|
||
* Blink Rate: Music-adjusted | ||
* Color: User-defined or randomized | ||
* Transition: Immediate | ||
* Brightness: Medium to High | ||
|
||
Sleep Light | ||
----------- | ||
|
||
* Blink Rate: None (constant light) | ||
* Color: Fixed (e.g., Warm White) | ||
* Transition: None | ||
* Brightness: Low | ||
|
||
Spa Light | ||
--------- | ||
|
||
* Blink Rate: Slow | ||
* Color: Multiple predefined colors | ||
* Transition: Smooth | ||
* Brightness: Medium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,36 @@ | ||
Software Component Report | ||
========================= | ||
|
||
**Variant:** {{ config.variant }} | ||
|
||
{{ generated_rst_content }} | ||
coverage | ||
{% if build_config.component_info %} | ||
|
||
Software Component Report | ||
######################### | ||
|
||
| **Variant:** {{ build_config.variant }} | ||
| **Component:** {{ build_config.component_info.long_name }} | ||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
{{ build_config.component_info.path }}/doc/index | ||
{% if build_config.component_info.has_tests %} | ||
{{ build_config.component_info.output_dir }}/unit_test_spec | ||
{{ build_config.component_info.output_dir }}/unit_test_results | ||
{{ build_config.component_info.output_dir }}/doxygen/html/index | ||
{{ build_config.component_info.output_dir }}/coverage | ||
{% endif %} | ||
|
||
{% else %} | ||
|
||
Variant Report | ||
############## | ||
|
||
**Variant:** {{ build_config.variant }} | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Contents | ||
|
||
doc/customer_requirements/index | ||
doc/software_architecture/index | ||
doc/variants/index | ||
doc/components/index | ||
|
||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
spl_add_source(src/brightness_controller.c) | ||
spl_add_test_source(test/test_brightness_controller.cc) | ||
spl_create_component() | ||
spl_create_component(LONG_NAME "Brightness Controller") |
Oops, something went wrong.