WPILibC++  2020.3.2
BuiltInWidgets.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2018-2020 FIRST. All Rights Reserved. */
3 /* Open Source Software - may be modified and shared by FRC teams. The code */
4 /* must be accompanied by the FIRST BSD license file in the root directory of */
5 /* the project. */
6 /*----------------------------------------------------------------------------*/
7 
8 #pragma once
9 
10 #include "frc/shuffleboard/WidgetType.h"
11 
12 namespace frc {
13 
28 enum class BuiltInWidgets {
39  kTextView,
73  kNumberBar,
88  kDial,
105  kGraph,
123  kBooleanBox,
164  kVoltageView,
204  kEncoder,
238  kCommand,
248  kPIDCommand,
314  kGyro,
321  kRelay,
377 };
378 
379 } // namespace frc
frc::BuiltInWidgets
BuiltInWidgets
The types of the widgets bundled with Shuffleboard.
Definition: BuiltInWidgets.h:28
frc::BuiltInWidgets::kTextView
Displays a value with a simple text field.
frc::BuiltInWidgets::kComboBoxChooser
Displays a SendableChooser with a dropdown combo box with a list of options.
frc::BuiltInWidgets::kGraph
Displays a number with a graph.
frc::BuiltInWidgets::k3AxisAccelerometer
Displays a 3-axis accelerometer with a number bar for each axis' acceleration.
frc::BuiltInWidgets::kNumberBar
Displays a number with a view-only bar.
frc::BuiltInWidgets::kMecanumDrive
Displays a mecanum drive with a widget that displays the speed of each wheel, and vectors for the dir...
frc::BuiltInWidgets::kGyro
Displays a gyro with a dial from 0 to 360 degrees.
frc::BuiltInWidgets::kCameraStream
Displays a camera stream.
frc::BuiltInWidgets::kSpeedController
Displays a SpeedController.
frc::BuiltInWidgets::kDial
Displays a number with a view-only dial.
frc::BuiltInWidgets::kEncoder
Displays an Encoder displaying its speed, total traveled distance, and its distance per tick.
frc::BuiltInWidgets::kNumberSlider
Displays a number with a controllable slider.
frc::BuiltInWidgets::kPowerDistributionPanel
Displays a PowerDistributionPanel.
frc::BuiltInWidgets::kToggleSwitch
Displays a boolean with a fixed-size toggle switch.
frc::BuiltInWidgets::kSplitButtonChooser
Displays a SendableChooserwith a toggle button for each available option.
frc::BuiltInWidgets::kToggleButton
Displays a boolean with a large interactive toggle button.
frc::BuiltInWidgets::kPIDController
Displays a PID controller with an editor for the PIDF constants and a toggle switch for enabling and ...
frc::BuiltInWidgets::kCommand
Displays a command with a toggle button.
frc
A class that enforces constraints on the differential drive kinematics.
Definition: SPIAccelerometerSim.h:16
frc::BuiltInWidgets::kPIDCommand
Displays a PID command with a checkbox and an editor for the PIDF constants.
frc::BuiltInWidgets::kDifferentialDrive
Displays a differential drive with a widget that displays the speed of each side of the drivebase and...
frc::BuiltInWidgets::kBooleanBox
Displays a boolean value as a large colored box.
frc::BuiltInWidgets::kVoltageView
Displays an analog input or a raw number with a number bar.
frc::BuiltInWidgets::kAccelerometer
Displays an accelerometer with a number bar displaying the magnitude of the acceleration and text dis...
frc::BuiltInWidgets::kRelay
Displays a relay with toggle buttons for each supported mode (off, on, forward, reverse).