[wpimath] Reorganize LinearSystem factories (#8468)

This commit is contained in:
Tyler Veness
2026-01-12 19:09:35 -08:00
committed by GitHub
parent 89d0759ef2
commit 00fa8361dd
108 changed files with 1808 additions and 2138 deletions

View File

@@ -2,11 +2,11 @@
// 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 "wpi/math/system/plant/proto/DCMotorProto.hpp"
#include "wpi/math/system/proto/DCMotorProto.hpp"
#include <optional>
#include "wpimath/protobuf/plant.npb.h"
#include "wpimath/protobuf/system.npb.h"
std::optional<wpi::math::DCMotor>
wpi::util::Protobuf<wpi::math::DCMotor>::Unpack(InputStream& stream) {

View File

@@ -2,7 +2,7 @@
// 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 "wpi/math/system/plant/struct/DCMotorStruct.hpp"
#include "wpi/math/system/struct/DCMotorStruct.hpp"
namespace {
constexpr size_t kNominalVoltageOff = 0;