56 const Color8Bit& backgroundColor = {0, 0, 32});
86 std::shared_ptr<nt::NetworkTable> m_table;
Represents colors that can be used with Addressable LEDs.
Definition Color8Bit.h:23
Visual 2D representation of arms, elevators, and general mechanisms through a node-based API.
Definition Mechanism2d.h:43
void SetBackgroundColor(const Color8Bit &color)
Set the Mechanism2d background color.
void InitSendable(nt::NTSendableBuilder &builder) override
Initializes this Sendable object.
MechanismRoot2d * GetRoot(std::string_view name, double x, double y)
Get or create a root in this Mechanism2d with the given name and position.
Mechanism2d(double width, double height, const Color8Bit &backgroundColor={0, 0, 32})
Create a new Mechanism2d with the given dimensions and background color.
Root Mechanism2d node.
Definition MechanismRoot2d.h:26
NetworkTables DoubleArray publisher.
Definition DoubleArrayTopic.h:182
Helper class for building Sendable dashboard representations for NetworkTables.
Definition NTSendableBuilder.h:22
Interface for NetworkTable Sendable objects.
Definition NTSendable.h:16
NetworkTables String publisher.
Definition StringTopic.h:184
A helper class for use with objects that add themselves to SendableRegistry.
Definition SendableHelper.h:21
StringMap is a sorted associative container that contains key-value pairs with unique string keys.
Definition StringMap.h:26
::std::mutex mutex
Definition mutex.h:17
color
Definition color.h:16