[wpimath] LinearSystemLoop: Add extern templates for common cases

This commit is contained in:
Peter Johnson
2022-04-29 23:42:52 -07:00
parent dac1429aa9
commit e28776d361
2 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "frc/system/LinearSystemLoop.h"
namespace frc {
template class EXPORT_TEMPLATE_DEFINE(WPILIB_DLLEXPORT)
LinearSystemLoop<1, 1, 1>;
template class EXPORT_TEMPLATE_DEFINE(WPILIB_DLLEXPORT)
LinearSystemLoop<2, 1, 1>;
} // namespace frc