acmerobotics / road-runner-quickstart

FTC quickstart for https://github.com/acmerobotics/road-runner
BSD 3-Clause Clear License
168 stars 856 forks source link

Quintic custom splines not working #304

Closed NoahMarvelsofMAS closed 7 months ago

NoahMarvelsofMAS commented 7 months ago

RR FTC Version

1.0.0

Observed Behavior

QuinticSpline spline = new QuinticSpline(
    new QuinticSpline.Waypoint(0, 0, 20, 20),
    new QuinticSpline.Waypoint(30, 15, -30, 10)
);

This code is giving me so many ide errors how would I do this in 1.0.0

Tuning Files

No response

Robot Logs

No response

rbrott commented 7 months ago

The internal API has changed from 0.5.x to 1.0. Knock yourself out: https://rr.brott.dev/docs/v1-0-0-beta1/core/kdoc/core/com.acmerobotics.roadrunner/-quintic-spline2/