91 std::shared_ptr<nt::NetworkTable> m_table;
94 std::vector<std::unique_ptr<FieldObject2d>> m_objects;
2D representation of game field for dashboards.
Definition: Field2d.h:42
void SetRobotPose(units::meter_t x, units::meter_t y, Rotation2d rotation)
Set the robot pose from x, y, and rotation.
FieldObject2d * GetRobotObject()
Get the robot object.
void SetRobotPose(const Pose2d &pose)
Set the robot pose from a Pose object.
void InitSendable(nt::NTSendableBuilder &builder) override
Initializes this Sendable object.
Pose2d GetRobotPose() const
Get the robot pose.
Field2d & operator=(Field2d &&rhs)
size_t Entry
Definition: Field2d.h:44
FieldObject2d * GetObject(std::string_view name)
Get or create a field object.
Game field object on a Field2d.
Definition: FieldObject2d.h:30
Represents a 2D pose containing translational and rotational elements.
Definition: Pose2d.h:25
A rotation in a 2D coordinate frame represented by a point on the unit circle (cosine and sine).
Definition: Rotation2d.h:26
Definition: NTSendableBuilder.h:18
Interface for NetworkTable Sendable objects.
Definition: NTSendable.h:16
A helper class for use with objects that add themselves to SendableRegistry.
Definition: SendableHelper.h:19
basic_string_view< char > string_view
Definition: core.h:520
const Scalar & y
Definition: MathFunctions.h:821
Definition: AprilTagPoseEstimator.h:15
::std::mutex mutex
Definition: mutex.h:17