[wpimath] Explicitly export wpimath symbols

Co-authored-by: Tyler Veness <calcmogul@gmail.com>
This commit is contained in:
Thad House
2021-08-20 09:02:01 -07:00
committed by Peter Johnson
parent 161e211734
commit 382deef750
54 changed files with 207 additions and 101 deletions

View File

@@ -5,6 +5,7 @@
#pragma once
#include <wpi/MathExtras.h>
#include <wpi/SymbolExports.h>
#include "units/angle.h"
#include "units/angular_velocity.h"
@@ -16,7 +17,7 @@ namespace frc {
* A helper class that computes feedforward outputs for a simple arm (modeled as
* a motor acting against the force of gravity on a beam suspended at an angle).
*/
class ArmFeedforward {
class WPILIB_DLLEXPORT ArmFeedforward {
public:
using Angle = units::radians;
using Velocity = units::radians_per_second;