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
7
namespace
wpi
{
8
9
/**
10
* Stores most recent status information as well as containing utility functions
11
* for checking channels and error processing.
12
*/
13
class
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
*/
22
static
int
GetDefaultCTREPCMModule
();
23
24
/**
25
* Get the number of the default solenoid module.
26
*
27
* @return The number of the default solenoid module.
28
*/
29
static
int
GetDefaultREVPHModule
();
30
31
static
int
GetNumSmartIoPorts
();
32
};
33
34
}
// namespace wpi
wpi::SensorUtil::GetDefaultREVPHModule
static int GetDefaultREVPHModule()
Get the number of the default solenoid module.
wpi::SensorUtil::SensorUtil
SensorUtil()=delete
wpi::SensorUtil::GetNumSmartIoPorts
static int GetNumSmartIoPorts()
wpi::SensorUtil::GetDefaultCTREPCMModule
static int GetDefaultCTREPCMModule()
Get the number of the default solenoid module.
wpi
Definition
CvSource.hpp:15
wpi
util
SensorUtil.hpp
Generated on
for WPILibC++ by
1.15.0