Skip to content

❤️ (VCS/VTC+VCC) Hardcoded Namespaces #4

@OppaAI

Description

@OppaAI

⚠️ Issue:

Use hardcoded global constants (eg. ANSI colour and time interval) outside the class.

🎯 Location:

/robot/vital_pulse_generator
/server/vital_pulse_analyzer

🦠 Symptoms:

  • Hardcoded namespaces are for temporary implementation in early development.
  • Difficult to find and may miss if continuing to build up namespaces.

🩺 Diagnosis:

Use YAML config file and ROS parameters:

  • Save all the namespaces, Robot ID, hardware specs in to YAML format.
  • Read the YAML file during launch to load the values into ROS parameters.

➡️ Future:

  • Generate multiple YAML files for different sorts of data.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions