We are using the PathfindHolonomic command from the PathplannerLib, but are having trouble retrieving the path it generates. We don’t know how to, and any help would be appreciated.
Command pathfindingCommand = new PathfindHolonomic(
targetPose,
constraints,
goalEndVelocity,
s_Swerve::getPose,
s_Swerve::getChassisSpeeds,
s_Swerve::driveChassisSpeeds,
Constants.Swerve.pathFollowingConfig, // Path following config
rotationDelayDistance,
s_Swerve);