java.lang.Object
org.firstinspires.ftc.teamcode.fy23.roadrunner.util.DashboardUtil

public class DashboardUtil extends Object
Set of helper functions for drawing Road Runner paths and trajectories on dashboard canvases.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    drawPoseHistory(com.acmerobotics.dashboard.canvas.Canvas canvas, List<com.acmerobotics.roadrunner.geometry.Pose2d> poseHistory)
     
    static void
    drawRobot(com.acmerobotics.dashboard.canvas.Canvas canvas, com.acmerobotics.roadrunner.geometry.Pose2d pose)
     
    static void
    drawSampledPath(com.acmerobotics.dashboard.canvas.Canvas canvas, com.acmerobotics.roadrunner.path.Path path)
     
    static void
    drawSampledPath(com.acmerobotics.dashboard.canvas.Canvas canvas, com.acmerobotics.roadrunner.path.Path path, double resolution)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DashboardUtil

      public DashboardUtil()
  • Method Details

    • drawPoseHistory

      public static void drawPoseHistory(com.acmerobotics.dashboard.canvas.Canvas canvas, List<com.acmerobotics.roadrunner.geometry.Pose2d> poseHistory)
    • drawSampledPath

      public static void drawSampledPath(com.acmerobotics.dashboard.canvas.Canvas canvas, com.acmerobotics.roadrunner.path.Path path, double resolution)
    • drawSampledPath

      public static void drawSampledPath(com.acmerobotics.dashboard.canvas.Canvas canvas, com.acmerobotics.roadrunner.path.Path path)
    • drawRobot

      public static void drawRobot(com.acmerobotics.dashboard.canvas.Canvas canvas, com.acmerobotics.roadrunner.geometry.Pose2d pose)