Task planning, risk assessment and output analysis
Use case
Introduction
This use case showcases how to interact with DTXS server to prepare task plan, identify risks, perform task inspection and risk assessment, execute task and analyze task outputs.
Activities
| Activity | Details |
|---|---|
| 1. Prepare the environment | Show steps |
| 2. Plan the task | Show steps |
| 3. Identify risks | Show steps |
| 4. Inspect task plan and perform risk assessment | Show steps |
| 5. Do the task | Show steps |
| 6. Visualize and analyze task outputs | Show steps |
Test script
You may test the use case by running the use-case-1.py script in your copy of DTXS-client repository. It should look similarly to following:
python use-case-1.py config.json test-db ~/my-3d-model.ifc
[2] Plan decommissioning task
[2.1] Upload 3D model
-> documentUid = c35bedde-4da0-11f0-ade8-f4ee08cb8a79
[2.2] Upload own metadata for the 3D model
-> ifcModelMetadataRecordUid = c361e49b-4da0-11f0-ade8-f4ee08cb8a79
[2.3] Create worker roles
-> rpoRoleUid = c366c967-4da0-11f0-ade8-f4ee08cb8a79
-> operatorRoleUid = c36aaa18-4da0-11f0-ade8-f4ee08cb8a79
[2.4] Add workers and robots
-> workerJupiterUid = c36ec00b-4da0-11f0-ade8-f4ee08cb8a79
-> workerPeterUid = c372fc10-4da0-11f0-ade8-f4ee08cb8a79
-> robotHuskyUid = c376e74d-4da0-11f0-ade8-f4ee08cb8a79
[2.5] Create a team
-> teamUid = c37aa48c-4da0-11f0-ade8-f4ee08cb8a79
[2.6] Finaly, create the task
-> taskUid = c37e9252-4da0-11f0-ade8-f4ee08cb8a79