Skip to content

Commit

Permalink
Make overriden parameter name match in Pose2dWithCurvature
Browse files Browse the repository at this point in the history
  • Loading branch information
richiksc committed Jun 18, 2021
1 parent 3ff4fdd commit b65fd7b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class Pose2dWithCurvature : IPose2d<Pose2dWithCurvature>,
override val pose: Pose2d
get() = pose_

override fun transformBy(transform: Pose2d): Pose2dWithCurvature {
return Pose2dWithCurvature(pose.transformBy(transform), curvature, dCurvatureDs)
override fun transformBy(other: Pose2d): Pose2dWithCurvature {
return Pose2dWithCurvature(pose.transformBy(other), curvature, dCurvatureDs)
}

override fun mirror(): Pose2dWithCurvature {
Expand Down

0 comments on commit b65fd7b

Please sign in to comment.