DashboardUtil

Set of helper functions for drawing Road Runner paths and trajectories on dashboard canvases.

Since

1.0.0-pre

Functions

Link copied to clipboard
open fun drawPoseHistory(canvas: Canvas, poseHistory: List<Pose2d>)
Draw a filled polygon on the dashboard canvas.
Link copied to clipboard
open fun drawRobot(canvas: Canvas, pose: Pose2d)
Draw a filled polygon on the dashboard canvas.
Link copied to clipboard
open fun drawSampledPath(canvas: Canvas, path: Path)
open fun drawSampledPath(canvas: Canvas, path: Path, resolution: Double)
Draw a filled polygon on the dashboard canvas.