From 8bb45b6f04b41b54d4c393be23a222b96a2f6908 Mon Sep 17 00:00:00 2001 From: Rowan McAlpin <87948250+rowan-mcalpin@users.noreply.github.com> Date: Tue, 24 Sep 2024 12:57:33 -0700 Subject: [PATCH] Fix breaking issue in DefaultBotBuilder --- .../org/rowlandhall/meepmeep/roadrunner/DefaultBotBuilder.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/org/rowlandhall/meepmeep/roadrunner/DefaultBotBuilder.kt b/src/main/kotlin/org/rowlandhall/meepmeep/roadrunner/DefaultBotBuilder.kt index c89b207..0bce439 100644 --- a/src/main/kotlin/org/rowlandhall/meepmeep/roadrunner/DefaultBotBuilder.kt +++ b/src/main/kotlin/org/rowlandhall/meepmeep/roadrunner/DefaultBotBuilder.kt @@ -147,7 +147,7 @@ open class DefaultBotBuilder(private val meepMeep: MeepMeep) { * @return A [RoadRunnerBotEntity] instance that follows the given * trajectory sequence. */ - private fun followTrajectorySequence(trajectorySequence: TrajectorySequence): RoadRunnerBotEntity { + fun followTrajectorySequence(trajectorySequence: TrajectorySequence): RoadRunnerBotEntity { val bot = this.build() bot.followTrajectorySequence(trajectorySequence) @@ -165,4 +165,4 @@ open class DefaultBotBuilder(private val meepMeep: MeepMeep) { fun followTrajectorySequence(callback: AddTrajectorySequenceCallback): RoadRunnerBotEntity { return followTrajectorySequence(callback.buildTrajectorySequence(build().drive)) } -} \ No newline at end of file +}