Skip to content

Commit

Permalink
Bump to SDK 2.10.1-preview-1
Browse files Browse the repository at this point in the history
  • Loading branch information
eskaur committed Aug 25, 2023
1 parent 747533c commit 24e4c24
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Zivid Python is the official Python package for Zivid 3D cameras. Read more abou
### Dependencies

* [Python](https://www.python.org/) version 3.7 or higher
* [Zivid SDK][zivid-download-software-url] version 2.10.0 (see [here][zivid-software-installation-url] for help)
* [Zivid SDK][zivid-download-software-url] version 2.10.1 (see [here][zivid-software-installation-url] for help)
* [Compiler](doc/CompilerInstallation.md) with C++17 support

*Ubuntu users must install Python headers (`apt install python3-dev`) in addition to the regular `python3` package.*
Expand Down
2 changes: 1 addition & 1 deletion continuous-integration/deployment/expected-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.10.0.2.10.0
2.10.1.2.10.1
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ function install_www_deb {
rm -r $TMP_DIR || exit $?
}

install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u20/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u20/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ function install_www_deb {
rm -r $TMP_DIR || exit $?
}

install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u20/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u20/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ function install_www_deb {
rm -r $TMP_DIR || exit $?
}

install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u20/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u20/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ function install_www_deb {
rm -r $TMP_DIR || exit $?
}

install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u20/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u20/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ function install_www_deb {
rm -r $TMP_DIR || exit $?
}

install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u22/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u22/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ function install_www_deb {
rm -r $TMP_DIR || exit $?
}

install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u22/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u22/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ function install_www_deb {
rm -r $TMP_DIR || exit $?
}

install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u22/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/releases/${ZIVID_SDK_EXACT_VERSION}/u22/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid-telicam-driver_${ZIVID_TELICAM_EXACT_VERSION}_amd64.deb" || exit $?
install_www_deb "https://downloads.zivid.com/sdk/previews/${ZIVID_SDK_EXACT_VERSION}/u20/zivid_${ZIVID_SDK_EXACT_VERSION}_amd64.deb" || exit $?
2 changes: 1 addition & 1 deletion continuous-integration/versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"ZIVID_SDK_EXACT_VERSION": "2.10.0+8ce7dae3-2",
"ZIVID_SDK_EXACT_VERSION": "2.10.1-preview-1+e6413fd1-1",
"ZIVID_TELICAM_EXACT_VERSION": "3.0.1.1-3"
}
2 changes: 1 addition & 1 deletion continuous-integration/windows/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _install_zivid_sdk():
exact_version = json.loads(versions_json)["ZIVID_SDK_EXACT_VERSION"]

with tempfile.TemporaryDirectory() as temp_dir:
zivid_installer_url = f"https://downloads.zivid.com/sdk/releases/{exact_version}/windows/ZividSetup_{exact_version}.exe"
zivid_installer_url = f"https://downloads.zivid.com/sdk/previews/{exact_version}/windows/ZividSetup_{exact_version}.exe"
print("Downloading {}".format(zivid_installer_url), flush=True)
zivid_installer = Path(temp_dir) / "ZividSetup.exe"
response = requests.get(zivid_installer_url, timeout=(25, 600))
Expand Down
4 changes: 4 additions & 0 deletions modules/zivid/camera_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,19 @@ def __str__(self):
return str(_to_internal_camera_info_user_data(self))

class Model:
zivid2PlusL110 = "zivid2PlusL110"
zivid2PlusM130 = "zivid2PlusM130"
zivid2PlusM60 = "zivid2PlusM60"
zividOnePlusLarge = "zividOnePlusLarge"
zividOnePlusMedium = "zividOnePlusMedium"
zividOnePlusSmall = "zividOnePlusSmall"
zividTwo = "zividTwo"
zividTwoL100 = "zividTwoL100"

_valid_values = {
"zivid2PlusL110": _zivid.CameraInfo.Model.zivid2PlusL110,
"zivid2PlusM130": _zivid.CameraInfo.Model.zivid2PlusM130,
"zivid2PlusM60": _zivid.CameraInfo.Model.zivid2PlusM60,
"zividOnePlusLarge": _zivid.CameraInfo.Model.zividOnePlusLarge,
"zividOnePlusMedium": _zivid.CameraInfo.Model.zividOnePlusMedium,
"zividOnePlusSmall": _zivid.CameraInfo.Model.zividOnePlusSmall,
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

# To be replaced by: from setuptools_scm import get_version
def get_version():
return "2.10.0"
return "2.10.1"


def _zivid_sdk_version():
return "2.10.0"
return "2.10.1"


def _zivid_python_version():
Expand Down

0 comments on commit 24e4c24

Please sign in to comment.