Skip to content

Commit

Permalink
Fix PathPlannerTrajectoryState error in Python (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhall-ctre authored Oct 22, 2024
1 parent 86a8697 commit 39b4db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pathplannerlib-python/pathplannerlib/trajectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self):
@dataclass
class PathPlannerTrajectoryState:
timeSeconds: float = 0.0
fieldSpeeds: ChassisSpeeds = ChassisSpeeds()
fieldSpeeds: ChassisSpeeds = field(default_factory=ChassisSpeeds)
pose: Pose2d = field(default_factory=Pose2d)
linearVelocity: float = 0.0
feedforwards: DriveFeedforwards = None
Expand Down

0 comments on commit 39b4db1

Please sign in to comment.