Skip to content

Commit d2e1864

Browse files
authored
Add RawFrame to autogen_headers (#124)
1 parent 4317a16 commit d2e1864

File tree

4 files changed

+25
-2
lines changed

4 files changed

+25
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
/dist
44

55
rpy-include
6-
py.typed
6+
py.typed
7+
.venv/

subprojects/robotpy-cscore/gen/cscore_cv.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,5 @@ classes:
6060
auto result = self.GrabFrameNoTimeout(image);
6161
return std::make_tuple(result, image);
6262
}
63-
63+
LastFrameTime:
64+
LastFrameTimeSource:
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
3+
enums:
4+
WPI_PixelFormat:
5+
ignore: true
6+
WPI_TimestampSource:
7+
value_prefix: WPI_TIMESRC
8+
rename: TimestampSource
9+
10+
# We only care about the enum exposed above. We can safely ignore everything else
11+
functions:
12+
WPI_AllocateRawFrameData:
13+
ignore: true
14+
WPI_FreeRawFrameData:
15+
ignore: true
16+
WPI_SetRawFrameData:
17+
ignore: true
18+
classes:
19+
RawFrame:
20+
ignore: true

subprojects/robotpy-wpiutil/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ DataLogBackgroundWriter = "wpi/DataLogBackgroundWriter.h"
6363
DataLogWriter = "wpi/DataLogWriter.h"
6464
StackTrace = "wpi/StackTrace.h"
6565
Synchronization = "wpi/Synchronization.h"
66+
RawFrame = "wpi/RawFrame.h"
6667

6768
# wpi/sendable
6869
Sendable = "wpi/sendable/Sendable.h"

0 commit comments

Comments
 (0)