[sim] Add GUI support for the REV PH (#6704)

This commit is contained in:
Wispy
2024-07-15 19:28:05 -05:00
committed by GitHub
parent cd6b70af0e
commit 7d64d4e24c
7 changed files with 375 additions and 68 deletions

View 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