2020-12-26 14:12:05 -08:00
|
|
|
// 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.
|
2019-09-23 00:24:10 -07:00
|
|
|
|
|
|
|
|
#pragma once
|
2024-07-15 19:28:05 -05:00
|
|
|
#include <memory>
|
2019-09-23 00:24:10 -07:00
|
|
|
|
2025-11-07 19:56:21 -05:00
|
|
|
#include "wpi/glass/hardware/Pneumatic.hpp"
|
2024-09-20 17:43:39 -07:00
|
|
|
|
2019-09-23 00:24:10 -07:00
|
|
|
namespace halsimgui {
|
|
|
|
|
|
2020-09-12 10:55:46 -07:00
|
|
|
class PCMSimGui {
|
2019-09-23 00:24:10 -07:00
|
|
|
public:
|
|
|
|
|
static void Initialize();
|
2024-07-15 19:28:05 -05:00
|
|
|
static bool PCMsAnyInitialized();
|
2025-11-07 20:00:05 -05:00
|
|
|
static bool PCMsAnySolenoids(wpi::glass::PneumaticControlsModel* model);
|
|
|
|
|
static std::unique_ptr<wpi::glass::PneumaticControlsModel> GetPCMsModel();
|
2019-09-23 00:24:10 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace halsimgui
|