LiveWindow

class wpilib.LiveWindow

Bases: pybind11_builtins.pybind11_object

The LiveWindow class is the public interface for putting sensors and actuators on the LiveWindow.

disableAllTelemetry(self: wpilib.LiveWindow) → None

Disable ALL telemetry.

disableTelemetry(self: wpilib.LiveWindow, component: wpilib.Sendable) → None

Disable telemetry for a single component.

Parameters

sendable – component

property disabled
enableTelemetry(self: wpilib.LiveWindow, component: wpilib.Sendable) → None

Enable telemetry for a single component.

Parameters

sendable – component

property enabled
static getInstance()wpilib.LiveWindow

Get an instance of the LiveWindow main class.

This is a singleton to guarantee that there is only a single instance regardless of how many times GetInstance is called.

isEnabled(self: wpilib.LiveWindow) → bool
setEnabled(self: wpilib.LiveWindow, enabled: bool) → None

Change the enabled status of LiveWindow.

If it changes to enabled, start livewindow running otherwise stop it

updateValues(self: wpilib.LiveWindow) → None

Tell all the sensors to update (send) their values.

Actuators are handled through callbacks on their value changing from the SmartDashboard widgets.