56 const Color8Bit& backgroundColor = {0, 0, 32});
86 std::shared_ptr<nt::NetworkTable> m_table;
This file defines the StringMap class.
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:160
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:162
A helper class for use with objects that add themselves to SendableRegistry.
Definition: SendableHelper.h:19
StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...
Definition: StringMap.h:116
basic_string_view< char > string_view
Definition: core.h:501
Definition: AprilTagPoseEstimator.h:15
::std::mutex mutex
Definition: mutex.h:17
color
Definition: color.h:16