Skip to content

Conversation

@zachwaffle4
Copy link
Collaborator

this just adds a setDrivePowers to NextFTCMecanumDrive (which is present in the quickstart MecanumDrive) so that I do not have to use feedforward to set drive powers to 0 because that does not work.

zachwaffle4 and others added 9 commits September 2, 2025 17:10
* setup gradle for roadrunner extension

* refactor: update unit test to use JUnit 5 assertions

* add: implement FollowTrajectoryCommand and FollowTurnCommand classes

* define RoadRunner version in gradle.properties and use it in roadrunn…

* refactor: rename FollowTrajectoryCommand and FollowTurnCommand classe…

* add: initialize Turn class with name based on angle
* refactor: remove unit and instrumented tests from pedro module

* chore: change group id to dev.nextftc.extensions

* feat: add PedroComponent

* chore: remove unused import in build.gradle.kts

* feat: add FollowPath

* feat: add PedroComponent.gyro

* feat: add PedroDriverControlled

* feat: add Turn and TurnTo

* fix: move files from src/main to src/main/kotlin

* feat: add descriptive name to Turn and TurnTo

- name of Turn is Turn(angle)
- name of TurnTo is TurnTo(angle)

* refactor: change PedroComponent to an object

* fix: make PedroComponent a class again

* fix(pedro): fix gradle

- make displayName and description correct
- use versions.pedro property for version

* refactor: rename Turn to TurnBy

* fix: rename Turn to TurnBy in the command name

---------

Co-authored-by: Zach Harel <zach@zharel.me>
Signed-off-by: Zach Harel <zach@zharel.me>
Signed-off-by: Zach Harel <zach@zharel.me>
Signed-off-by: Zach Harel <zach@zharel.me>
Signed-off-by: Zach Harel <zach@zharel.me>
… and Turn classes

Signed-off-by: Zach Harel <zach@zharel.me>

add: define abstract setDrivePowers method in NextFTCMecanumDrive

Signed-off-by: Zach Harel <zach@zharel.me>
Signed-off-by: Zach Harel <zach@zharel.me>
# Conflicts:
#	gradle.properties
#	gradle/libs.versions.toml
#	roadrunner/src/main/kotlin/dev/nextftc/extensions/roadrunner/FollowTrajectory.kt
#	roadrunner/src/main/kotlin/dev/nextftc/extensions/roadrunner/NextFTCMecanumDrive.kt
#	roadrunner/src/main/kotlin/dev/nextftc/extensions/roadrunner/Turn.kt
@zachwaffle4 zachwaffle4 merged commit 88cfdf7 into main Oct 15, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants