mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
This fixes a dangling this pointer in the DriveStraight and SetDistanceToBox commands by directly capturing the drivetrain pointer by value instead.