example-variable-tools-python by viam - Registry

example-variable-tools-python by viam

Public

Drop-in Python library plus two example sensors that expose a hierarchical VariableTree of named, typed, runtime-mutable variables (doubles/booleans/integers/enums) for live monitoring and tuning. Inspired by IHMC YoVariables. Bundles the variable-tools-scope web app for browser-based plotting + scrubbing + tuning. The :demo sensor runs a fake control loop populating a tree; the :scope sensor takes other resources as deps and fans out via DoCommand to merge their trees into a single flat reading map suitable for data-manager capture.

viam:example-variable-tools-python:demo

rdk:component:sensor

Sensor with a fake control loop demonstrating the variable_tools library end-to-end.


viam:example-variable-tools-python:scope

rdk:component:sensor

Merges variable_tools trees from declared resource deps into a single flat reading map.

https://variable-tools-scope_viam.viamapplications.com

single_machine

Latest version

0.0.15•05/19/2026•

any

Show previous versions