The LiveWindow class is the public interface for putting sensors and actuators on the LiveWindow.
More...
#include <frc/livewindow/LiveWindow.h>
The LiveWindow class is the public interface for putting sensors and actuators on the LiveWindow.
◆ DisableAllTelemetry()
static void frc::LiveWindow::DisableAllTelemetry |
( |
| ) |
|
|
static |
◆ DisableTelemetry()
static void frc::LiveWindow::DisableTelemetry |
( |
wpi::Sendable * |
component | ) |
|
|
static |
Disable telemetry for a single component.
- Parameters
-
◆ EnableAllTelemetry()
static void frc::LiveWindow::EnableAllTelemetry |
( |
| ) |
|
|
static |
◆ EnableTelemetry()
static void frc::LiveWindow::EnableTelemetry |
( |
wpi::Sendable * |
component | ) |
|
|
static |
Enable telemetry for a single component.
- Parameters
-
◆ IsEnabled()
static bool frc::LiveWindow::IsEnabled |
( |
| ) |
|
|
static |
◆ SetDisabledCallback()
static void frc::LiveWindow::SetDisabledCallback |
( |
std::function< void()> |
func | ) |
|
|
static |
Set function to be called when LiveWindow is disabled.
- Parameters
-
func | function (or nullptr for none) |
◆ SetEnabled()
static void frc::LiveWindow::SetEnabled |
( |
bool |
enabled | ) |
|
|
static |
Change the enabled status of LiveWindow.
If it changes to enabled, start livewindow running otherwise stop it
◆ SetEnabledCallback()
static void frc::LiveWindow::SetEnabledCallback |
( |
std::function< void()> |
func | ) |
|
|
static |
Set function to be called when LiveWindow is enabled.
- Parameters
-
func | function (or nullptr for none) |
◆ UpdateValues()
static void frc::LiveWindow::UpdateValues |
( |
| ) |
|
|
static |
Tell all the sensors to update (send) their values.
Actuators are handled through callbacks on their value changing from the SmartDashboard widgets.
The documentation for this class was generated from the following file: