Skip to content

Commit

Permalink
Export DifferentialDriveFeedforwardStruct and SimpleMotorFeedforwardS…
Browse files Browse the repository at this point in the history
…truct
  • Loading branch information
KangarooKoala committed Nov 24, 2023
1 parent 9937b34 commit 0353dfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@

#pragma once

#include <wpi/SymbolExports.h>
#include <wpi/struct/Struct.h>

#include "frc/controller/DifferentialDriveFeedforward.h"

template <>
struct wpi::Struct<frc::DifferentialDriveFeedforward> {
struct WPILIB_DLLEXPORT wpi::Struct<frc::DifferentialDriveFeedforward> {
static constexpr std::string_view kTypeString =
"struct:DifferentialDriveFeedforward";
static constexpr size_t kSize = 32;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#pragma once

#include <wpi/SymbolExports.h>
#include <wpi/struct/Struct.h>

#include "frc/controller/SimpleMotorFeedforward.h"
Expand All @@ -12,7 +13,7 @@
// frc::SimpleMotorFeedforward<units::meters>

template <class Distance>
struct wpi::Struct<frc::SimpleMotorFeedforward<Distance>> {
struct WPILIB_DLLEXPORT wpi::Struct<frc::SimpleMotorFeedforward<Distance>> {
static constexpr std::string_view kTypeString =
"struct:SimpleMotorFeedforward";
static constexpr size_t kSize = 24;
Expand Down

0 comments on commit 0353dfe

Please sign in to comment.