Drawing

public class Drawing

This is the Drawing class. It handles the drawing of stuff on FTC Dashboard, like the robot.

Author

Logan Nash

Anyi Lin - 10158 Scott's Bots

Constructors

Link copied to clipboard
public void Drawing()

Properties

Link copied to clipboard
public final static double ROBOT_RADIUS

Functions

Link copied to clipboard
public static void drawDebug(Follower follower)
This draws everything that will be used in the Follower's telemetryDebug() method.
Link copied to clipboard
public static void drawPath(Canvas c, Array<Array<double>> points)
This draws a Path on the Dashboard from a specified Array of Points.
public static void drawPath(Path path, String color)
This adds instructions to the current packet to draw a Path with a specified color.
public static void drawPath(PathChain pathChain, String color)
This adds instructions to the current packet to draw all the Paths in a PathChain with a specified color.
Link copied to clipboard
public static void drawPoseHistory(DashboardPoseTracker poseTracker, String color)
This adds instructions to the current packet to draw the pose history of the robot.
Link copied to clipboard
public static void drawRobot(Pose pose, String color)
This adds instructions to the current packet to draw a robot at a specified Pose with a specified color.
Link copied to clipboard
public static void drawRobotOnCanvas(Canvas c, Pose t)
This draws a robot on the Dashboard at a specified Pose.
public static void drawRobotOnCanvas(Canvas c, Point t)
This draws a robot on the Dashboard at a specified Point.
Link copied to clipboard
public static boolean sendPacket()
This tries to send the current packet to FTC Dashboard.