acmerobotics / road-runner-quickstart

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

ManualFeedbackTuner error #286

Closed TheMujdii3 closed 7 months ago

TheMujdii3 commented 8 months ago

When running manual feedback tuner it gives me this: WhatsApp Image 2023-11-09 at 12 10 58_715911eb

rh0dium commented 8 months ago

What does line 59 of org.firstinspires.ftc.teamcode.OurCode.M_Auto.runOplode(M_Auto.java:59) Look like?

rbrott commented 8 months ago

I believe the requirement is https://github.com/acmerobotics/road-runner/blob/9c2a6287a6a07177983ec1d226a14db63b9ad6dc/core/src/main/kotlin/com/acmerobotics/roadrunner/Profiles.kt#L349:

    require(maxVels.all { v -> v > 0.0 })

Presumably you set the maximum velocity constraint to a bad value.

TheMujdii3 commented 8 months ago

What does line 59 of org.firstinspires.ftc.teamcode.OurCode.M_Auto.runOplode(M_Auto.java:59) Look like?

runBlocking(drive.actionbuilder(pose2d)....build) something like that

TheMujdii3 commented 8 months ago

I believe the requirement is https://github.com/acmerobotics/road-runner/blob/9c2a6287a6a07177983ec1d226a14db63b9ad6dc/core/src/main/kotlin/com/acmerobotics/roadrunner/Profiles.kt#L349:

    require(maxVels.all { v -> v > 0.0 })

Presumably you set the maximum velocity constraint to a bad value.

i ll try on monday