-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
143 lines (130 loc) · 5.08 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[tool.robotpy-build.metadata]
name = "robotpy-rev"
description = "REVLib for RobotPy"
author = "RobotPy Development Team"
author_email = "[email protected]"
url = "https://github.com/robotpy/robotpy-rev"
license = "BSD-3-Clause"
install_requires = [
"wpilib<2026.0.0,>=2025.2.1",
]
[build-system]
requires = [
"robotpy-build<2026.0.0,~=2025.0.0",
"wpilib<2026.0.0,>=2025.2.1",
]
[tool.robotpy-build]
base_package = "rev"
[tool.robotpy-build.static_libs."revlib_driver".maven_lib_download]
artifact_id = "REVLib-driver"
group_id = "com.revrobotics.frc"
repo_url = "https://maven.revrobotics.com"
version = "2025.0.1"
libs = ["REVLibDriver"]
[tool.robotpy-build.static_libs."revlib".maven_lib_download]
artifact_id = "REVLib-cpp"
group_id = "com.revrobotics.frc"
repo_url = "https://maven.revrobotics.com"
version = "2025.0.1"
libs = ["REVLib"]
[tool.robotpy-build.wrappers."rev"]
name = "rev"
sources = [
"rev/rev.cpp"
]
depends = [
"wpilibc",
"wpilib_core",
"wpimath_cpp",
"wpiHal",
"wpiutil",
"revlib_driver",
"revlib",
]
generation_data = "gen"
[tool.robotpy-build.wrappers."rev".autogen_headers]
# rev
# CANSparkDriver = "rev/CANSparkDriver.h"
# CANSparkDriverPrivate = "rev/CANSparkDriverPrivate.h"
# CANSparkFrames = "rev/CANSparkFrames.h"
# CANSparkMaxFrames = "rev/CANSparkMaxFrames.h"
# CANSparkParameters = "rev/CANSparkParameters.h"
# CANSparkSWDL = "rev/CANSparkSWDL.h"
# REVCommon = "rev/REVCommon.h"
# REVLibDaemon = "rev/REVLibDaemon.h"
# REVLibErrors = "rev/REVLibErrors.h"
# REVUtils = "rev/REVUtils.h"
# SparkFrameManager = "rev/SparkFrameManager.h"
# rev/rev
# REVLibVersion = "rev/rev/REVLibVersion.h"
# rev/sim
# CANSpark = "rev/sim/CANSpark.h"
# MAXMotion = "rev/sim/MAXMotion.h"
# SmartCurrentLimit = "rev/sim/SmartCurrentLimit.h"
# rev
AbsoluteEncoder = "rev/AbsoluteEncoder.h"
AnalogInput = "rev/AnalogInput.h"
# TODO: uncomment when GetFRCDeviceTypeText and GetFRCManufacturerText are
# marked as `static inline`
# CANDeviceScanner = "rev/CANDeviceScanner.h"
CIEColor = "rev/CIEColor.h"
ColorMatch = "rev/ColorMatch.h"
ColorSensorV3 = "rev/ColorSensorV3.h"
REVLibError = "rev/REVLibError.h"
RelativeEncoder = "rev/RelativeEncoder.h"
SparkAbsoluteEncoder = "rev/SparkAbsoluteEncoder.h"
SparkAnalogSensor = "rev/SparkAnalogSensor.h"
SparkBase = "rev/SparkBase.h"
SparkClosedLoopController = "rev/SparkClosedLoopController.h"
SparkFlex = "rev/SparkFlex.h"
SparkFlexExternalEncoder = "rev/SparkFlexExternalEncoder.h"
SparkLimitSwitch = "rev/SparkLimitSwitch.h"
SparkLowLevel = "rev/SparkLowLevel.h"
SparkMax = "rev/SparkMax.h"
SparkMaxAlternateEncoder = "rev/SparkMaxAlternateEncoder.h"
SparkRelativeEncoder = "rev/SparkRelativeEncoder.h"
SparkSim = "rev/SparkSim.h"
# rev/config
AbsoluteEncoderConfig = "rev/config/AbsoluteEncoderConfig.h"
AbsoluteEncoderConfigAccessor = "rev/config/AbsoluteEncoderConfigAccessor.h"
AlternateEncoderConfig = "rev/config/AlternateEncoderConfig.h"
AlternateEncoderConfigAccessor = "rev/config/AlternateEncoderConfigAccessor.h"
AnalogSensorConfig = "rev/config/AnalogSensorConfig.h"
AnalogSensorConfigAccessor = "rev/config/AnalogSensorConfigAccessor.h"
BaseConfig = "rev/config/BaseConfig.h"
ClosedLoopConfig = "rev/config/ClosedLoopConfig.h"
ClosedLoopConfigAccessor = "rev/config/ClosedLoopConfigAccessor.h"
ClosedLoopSlot = "rev/ClosedLoopSlot.h"
EncoderConfig = "rev/config/EncoderConfig.h"
EncoderConfigAccessor = "rev/config/EncoderConfigAccessor.h"
ExternalEncoderConfig = "rev/config/ExternalEncoderConfig.h"
ExternalEncoderConfigAccessor = "rev/config/ExternalEncoderConfigAccessor.h"
LimitSwitchConfig = "rev/config/LimitSwitchConfig.h"
LimitSwitchConfigAccessor = "rev/config/LimitSwitchConfigAccessor.h"
MAXMotionConfig = "rev/config/MAXMotionConfig.h"
MAXMotionConfigAccessor = "rev/config/MAXMotionConfigAccessor.h"
SignalsConfig = "rev/config/SignalsConfig.h"
SignalsConfigAccessor = "rev/config/SignalsConfigAccessor.h"
SmartMotionConfig = "rev/config/SmartMotionConfig.h"
SmartMotionConfigAccessor = "rev/config/SmartMotionConfigAccessor.h"
SoftLimitConfig = "rev/config/SoftLimitConfig.h"
SoftLimitConfigAccessor = "rev/config/SoftLimitConfigAccessor.h"
SparkBaseConfig = "rev/config/SparkBaseConfig.h"
SparkBaseConfigAccessor = "rev/config/SparkBaseConfigAccessor.h"
SparkFlexConfig = "rev/config/SparkFlexConfig.h"
SparkFlexConfigAccessor = "rev/config/SparkFlexConfigAccessor.h"
SparkMaxConfig = "rev/config/SparkMaxConfig.h"
SparkMaxConfigAccessor = "rev/config/SparkMaxConfigAccessor.h"
SparkParameters = "rev/config/SparkParameters.h"
# rev/sim
MovingAverageFilterSim = "rev/sim/MovingAverageFilterSim.h"
NoiseGenerator = "rev/sim/NoiseGenerator.h"
SparkAbsoluteEncoderSim = "rev/sim/SparkAbsoluteEncoderSim.h"
SparkAnalogSensorSim = "rev/sim/SparkAnalogSensorSim.h"
SparkExternalEncoderSim = "rev/sim/SparkExternalEncoderSim.h"
SparkFlexSim = "rev/sim/SparkFlexSim.h"
SparkLimitSwitchSim = "rev/sim/SparkLimitSwitchSim.h"
SparkMaxAlternateEncoderSim = "rev/sim/SparkMaxAlternateEncoderSim.h"
SparkMaxSim = "rev/sim/SparkMaxSim.h"
SparkRelativeEncoderSim = "rev/sim/SparkRelativeEncoderSim.h"
SparkSimFaultManager = "rev/sim/SparkSimFaultManager.h"