diff --git a/.gitignore b/.gitignore index 4ad02c91d..bc79fdc6a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ /dist rpy-include -py.typed \ No newline at end of file +py.typed +.venv/ diff --git a/subprojects/robotpy-cscore/gen/cscore_cv.yml b/subprojects/robotpy-cscore/gen/cscore_cv.yml index f264302e1..80e1226a6 100644 --- a/subprojects/robotpy-cscore/gen/cscore_cv.yml +++ b/subprojects/robotpy-cscore/gen/cscore_cv.yml @@ -60,4 +60,5 @@ classes: auto result = self.GrabFrameNoTimeout(image); return std::make_tuple(result, image); } - + LastFrameTime: + LastFrameTimeSource: diff --git a/subprojects/robotpy-wpiutil/gen/RawFrame.yml b/subprojects/robotpy-wpiutil/gen/RawFrame.yml new file mode 100644 index 000000000..06244deaa --- /dev/null +++ b/subprojects/robotpy-wpiutil/gen/RawFrame.yml @@ -0,0 +1,20 @@ +--- + +enums: + WPI_PixelFormat: + ignore: true + WPI_TimestampSource: + value_prefix: WPI_TIMESRC + rename: 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 diff --git a/subprojects/robotpy-wpiutil/pyproject.toml b/subprojects/robotpy-wpiutil/pyproject.toml index 7bc431eaa..6748e110f 100644 --- a/subprojects/robotpy-wpiutil/pyproject.toml +++ b/subprojects/robotpy-wpiutil/pyproject.toml @@ -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"