17#include "wpi/units/length.hpp"
92 std::shared_ptr<wpi::nt::NetworkTable> m_table;
95 std::vector<std::unique_ptr<FieldObject2d>> m_objects;
@ name
Definition base.h:690
void SetRobotPose(const wpi::math::Pose2d &pose)
Set the robot pose from a Pose object.
size_t Entry
Definition Field2d.hpp:44
void SetRobotPose(wpi::units::meter_t x, wpi::units::meter_t y, wpi::math::Rotation2d rotation)
Set the robot pose from x, y, and rotation.
FieldObject2d * GetObject(std::string_view name)
Get or create a field object.
wpi::math::Pose2d GetRobotPose() const
Get the robot pose.
Field2d & operator=(Field2d &&rhs)
void InitSendable(wpi::nt::NTSendableBuilder &builder) override
Initializes this Sendable object.
FieldObject2d * GetRobotObject()
Get the robot object.
Game field object on a Field2d.
Definition FieldObject2d.hpp:31
Represents a 2D pose containing translational and rotational elements.
Definition Pose2d.hpp:27
A rotation in a 2D coordinate frame represented by a point on the unit circle (cosine and sine).
Definition Rotation2d.hpp:26
Helper class for building Sendable dashboard representations for NetworkTables.
Definition NTSendableBuilder.hpp:21
Interface for NetworkTable Sendable objects.
Definition NTSendable.hpp:16
A helper class for use with objects that add themselves to SendableRegistry.
Definition SendableHelper.hpp:21
::std::mutex mutex
Definition mutex.hpp:17
Definition CvSource.hpp:15