mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[sim] Add GUI support for the REV PH (#6704)
This commit is contained in:
20
simulation/halsim_gui/src/main/native/cpp/PHSimGui.h
Normal file
20
simulation/halsim_gui/src/main/native/cpp/PHSimGui.h
Normal file
@@ -0,0 +1,20 @@
|
||||
// Copyright (c) FIRST and other WPILib contributors.
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#pragma once
|
||||
#include <glass/hardware/Pneumatic.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace halsimgui {
|
||||
|
||||
class PHSimGui {
|
||||
public:
|
||||
static void Initialize();
|
||||
static bool PHsAnyInitialized();
|
||||
static bool PHsAnySolenoids(glass::PneumaticControlsModel* model);
|
||||
static std::unique_ptr<glass::PneumaticControlsModel> GetPHsModel();
|
||||
};
|
||||
|
||||
} // namespace halsimgui
|
||||
Reference in New Issue
Block a user