Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
/dist

rpy-include
py.typed
py.typed
.venv/
18 changes: 18 additions & 0 deletions subprojects/robotpy-wpiutil/gen/RawFrame.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---

enums:
WPI_PixelFormat:
ignore: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guessing not worth exposing this enum to Python, since there's an equivalent C++ enum in cscore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I read it yes, the cscore side enum is what the rest of cscore uses in its public api, not the RawFrame version.

WPI_TimestampSource:

# We only care about the enum exposed above. We can safely ignore everything else
functions:
WPI_AllocateRawFrameData:
ignore: true
WPI_FreeRawFrameData:
ignore: true
WPI_SetRawFrameData:
ignore: true
classes:
RawFrame:
ignore: true
1 change: 1 addition & 0 deletions subprojects/robotpy-wpiutil/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ DataLogBackgroundWriter = "wpi/DataLogBackgroundWriter.h"
DataLogWriter = "wpi/DataLogWriter.h"
StackTrace = "wpi/StackTrace.h"
Synchronization = "wpi/Synchronization.h"
RawFrame = "wpi/RawFrame.h"

# wpi/sendable
Sendable = "wpi/sendable/Sendable.h"
Expand Down
Loading