mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
Fixes HALSim_Print build to be the standardized pattern (#721)
Now publishes in zips, and with proper artifacts. The code files just moved, and no changes.
This commit is contained in:
committed by
Peter Johnson
parent
42096fac3f
commit
c885251367
@@ -0,0 +1,17 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2017 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 <vector>
|
||||
|
||||
class PrintPWM;
|
||||
|
||||
class HALSimPrint {
|
||||
public:
|
||||
std::vector<PrintPWM> m_pwms;
|
||||
};
|
||||
19
simulation/halsim_print/src/main/native/include/PrintPWM.h
Normal file
19
simulation/halsim_print/src/main/native/include/PrintPWM.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2017 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 "HALSimPrint.h"
|
||||
|
||||
class PrintPWM {
|
||||
public:
|
||||
explicit PrintPWM(int port);
|
||||
void Publish(double value);
|
||||
|
||||
private:
|
||||
int m_port;
|
||||
};
|
||||
Reference in New Issue
Block a user