WPILibC++ 2027.0.0-alpha-5
Loading...
Searching...
No Matches
SensorUtil.hpp
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7namespace wpi {
8
9/**
10 * Stores most recent status information as well as containing utility functions
11 * for checking channels and error processing.
12 */
13class SensorUtil final {
14 public:
15 SensorUtil() = delete;
16
17 /**
18 * Get the number of the default solenoid module.
19 *
20 * @return The number of the default solenoid module.
21 */
23
24 /**
25 * Get the number of the default solenoid module.
26 *
27 * @return The number of the default solenoid module.
28 */
30
31 static int GetNumSmartIoPorts();
32};
33
34} // namespace wpi
static int GetDefaultREVPHModule()
Get the number of the default solenoid module.
SensorUtil()=delete
static int GetNumSmartIoPorts()
static int GetDefaultCTREPCMModule()
Get the number of the default solenoid module.
Definition CvSource.hpp:15