Skip to content

YoVariable

SylvainBertrand edited this page Sep 21, 2021 · 3 revisions

What are YoVariables?

A YoVariable represents a control variable. It is a wrapper around a common primitive such as: double, integer, or boolean. Besides holding onto a value, a YoVariable also declares a variable name destined to be human readable. Implementations of YoVariables are:

  • YoDouble
  • YoInteger
  • YoBoolean
  • YoEnum<E>
  • YoLong

YoVariables can be registered in YoRegistrys, allowing to organize them a tree-like structure. When creating a controller or module, all its control variables can be accessed, allowing for visualization, upon the condition that the main controller registry is made accessible.

YoVariables represent the core of the visualization for SCS and enable the visualization of any internal state of a controller/module.

The source code is available here: IHMC YoVariables