Skip to content

Commit c1ee7a5

Browse files
committed
Update cscore for 2027
1 parent c219f61 commit c1ee7a5

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

subprojects/robotpy-cscore/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cpp = meson.get_compiler('cpp')
1818
libs_path = meson.current_source_dir() + '/lib/lib'
1919

2020
cscore_deps += [
21-
cpp.find_library('opencv480', dirs: libs_path),
21+
cpp.find_library('opencv4100', dirs: libs_path),
2222
cpp.find_library('cscore', dirs: libs_path),
2323
cpp.find_library('cameraserver', dirs: libs_path),
2424
]

subprojects/robotpy-cscore/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ extract_to = "lib"
6060

6161
[[tool.hatch.build.hooks.robotpy.maven_lib_download]]
6262
artifact_id = "opencv-cpp"
63-
group_id = "edu.wpi.first.thirdparty.frc2024.opencv"
63+
group_id = "edu.wpi.first.thirdparty.frc2025.opencv"
6464
repo_url = "https://frcmaven.wpi.edu/artifactory/release"
65-
version = "4.8.0-1"
65+
version = "4.10.0-3"
6666

67-
staticlibs = ["opencv480"]
67+
staticlibs = ["opencv4100"]
6868
extract_to = "lib"
6969

7070

subprojects/robotpy-cscore/semiwrap/CameraServer.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ extra_includes:
44

55
classes:
66
frc::CameraServer:
7+
force_type_casters:
8+
- std::optional
79
attributes:
810
kBasePort:
911
kSize640x480:

0 commit comments

Comments
 (0)