VariableSlider

class foxglove.layouts.VariableSliderPanel

Update numerical variable values for a layout.

For more information, see the documentation.

Example
import foxglove.layouts as fl

layout = fl.Layout(
    content=fl.VariableSliderPanel(
        config=fl.VariableSliderConfig(
            global_variable_name="speed",
            slider_props=fl.VariableSliderProps(min=0, max=10, step=0.1),
        ),
    ),
)
config: VariableSliderConfig
title: str | None = None

The title of the panel.

class foxglove.layouts.VariableSliderConfig

Configuration for the Variable Slider panel.

global_variable_name: str | None = None

Name of variable

slider_props: VariableSliderProps | None = None
class foxglove.layouts.VariableSliderProps

Settings for the slider

max: float | None = None

Maximum value of the slider

min: float | None = None

Minimum value of the slider

step: float | None = None

Size of each incremental step in the slider