mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[wpimath] Explicitly export wpimath symbols
Co-authored-by: Tyler Veness <calcmogul@gmail.com>
This commit is contained in:
committed by
Peter Johnson
parent
161e211734
commit
382deef750
@@ -4,6 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <wpi/SymbolExports.h>
|
||||
|
||||
#include "frc/geometry/Rotation2d.h"
|
||||
#include "units/angle.h"
|
||||
#include "units/math.h"
|
||||
@@ -13,7 +15,7 @@ namespace frc {
|
||||
/**
|
||||
* Represents the state of one swerve module.
|
||||
*/
|
||||
struct SwerveModuleState {
|
||||
struct WPILIB_DLLEXPORT SwerveModuleState {
|
||||
/**
|
||||
* Speed of the wheel of the module.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user