boaviztapi icon indicating copy to clipboard operation
boaviztapi copied to clipboard

Adding VR headset impacts evaluation

Open da-ekchajzer opened this issue 1 year ago • 2 comments

Problem

We would like to add VR headset impacts calculation in the API.

Solution

Routers

As with all equipment (e.g. laptop), we need to add the following routers :

For headset

  • GET /v1/terminal/vr_headset/archetypes : Get the available archetypes
  • GET /v1/terminal/vr_headset/archetype_config : Get the config for a given archetype
  • POST /v1/terminal/vr_headset: Get the impacts of a vr_headset with specific config
  • GET /v1/terminal/vr_headset: Get the impacts of a vr_headset for a given archetype

For controllers

  • GET /v1/peripheral/vr_controller/archetypes
  • GET /v1/peripheral/vr_controller/archetype_config
  • POST /v1/peripheral/vr_controller
  • GET /v1/peripheral/vr_controller

DTO

Example :

{
"type" : "OLED"
"usage":{
"usage_location":"FRA" 
}
}
  • vr_headset have only 1 parameter : type which can be set to "OLED" or "LCD"
  • usage is a regular usage object

Impacts

Usage impacts are assessed with the regular method : https://doc.api.boavizta.org/Explanations/usage/usage/.

Embedded impacts for controller and headset should be taken from TIDE dataset (depending on the type for headset) : Données casques VR_231205.xlsx.

Embedded impacts are the sum of : Impact Fabrication, Impact Distribution and Impact EOL

Archetypes

Two archetypes (OLED and LCD) should be added in user_terminal.csv/ The usage data of the archetype can be found in TIDE dataset.

da-ekchajzer avatar Dec 05 '23 22:12 da-ekchajzer

@RoyVic I think you will be interested in this issue

da-ekchajzer avatar Dec 05 '23 22:12 da-ekchajzer