mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[wpimath] Reorganize LinearSystem factories (#8468)
This commit is contained in:
@@ -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) {
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user