mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
* Update MSVC arguments * Fix json allocator * Fix simulation diamond * Bump gtest * Remove empty varargs in unit tests * Replace test case with test suite * Remove deprecation warning in optional * Remove need for NOMIXMAX to be defined in wpilib headers
25 lines
822 B
C++
25 lines
822 B
C++
/*----------------------------------------------------------------------------*/
|
|
/* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
/* the project. */
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#include "lowfisim/SimulatorComponentBase.h"
|
|
|
|
namespace frc {
|
|
namespace sim {
|
|
namespace lowfi {
|
|
|
|
class EncoderSim : public SimulatorComponentBase {
|
|
public:
|
|
virtual void SetPosition(double position) = 0;
|
|
virtual void SetVelocity(double velocity) = 0;
|
|
};
|
|
|
|
} // namespace lowfi
|
|
} // namespace sim
|
|
} // namespace frc
|