This is a collection of utility functions that do not fit in one of the other catagories.
Usage
now
Returns the current time in seconds since the program started.
Usage
WritePose2NT
Writes a Pose2d to a NetworkTable.
Usage
WritePose3NT
Writes a Pose3d to a NetworkTable.
Usage
WriteTrajectory
Writes a Trajectory to a NetworkTable.
Usage
WriteTrajectoryState
Writes a Trajectory State (frc::Trajectory::State
) to a NetworkTable.
Usage
TrajectoryStateToPose2d
Converts a Trajectory State (frc::Trajectory::State
) to a Pose2d.
Usage
deadzone
Returns 0 if the value is within the deadzone, otherwise returns the value.
Usage
spow2
Returns the square of the value.
Usage
NTBound
A class that binds a NetworkTable entry to a variable.
Constructor
Example
NTBoundDouble
A class that binds a NetworkTable entry to a double.
Constructor
Example
NTBoundUnit
A class that binds a NetworkTable entry to a unit.
Constructor
Example