From 5acb0b091cf12ab2dfbbf66c5fcb719cb02232f7 Mon Sep 17 00:00:00 2001 From: tongvibe Date: Wed, 11 Sep 2024 16:53:13 +0800 Subject: [PATCH] Test2 (#4) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Initial commit * Initial commit First Work version * Update README * reduce warning * fixed cmake windows install * depth_viewer.py 文件重命名 * fixed name * fixed name * add ESC to exit and fixed depth work mode * fixed readme * fixed unit test * fixed unit test * fixed format * add docs/Chinese docs/Orbbec SDK(Python)使用手册/Orbbec SDK(Python)使用手册.md * rename docs * add windows x64 OrbbecSDK lib * add docstring * update readme * add Readme_EN.md * update README * update README * update README * update README * update README * update sdk to v1.6.1 * add win x86 * fixed playback * fixed create tarball * chang line spartor by LF * update sdk to v1.6.1 * remove no utf8 code * fixed README * remove create tarball * fixed depth render * fixed depth render * update README * update readme * install udev rules scripts * update readme * update readme * update readme * update readme * remove extra blank * update readme * add check bad frame * fix frame to bgr image * fix frame to bgr image * fix frame to bgr image * update readme * fixed image covert * fixed install pybind11 * add help covert * add gemini config * update SDK * add package.xml * fixed ir mjpeg render * fix ir render * fix crash * fix crash * fix stop depth viewer * fix stop ir viewer * fix stop device * add depth align sample args * add print log * catch exception * update SDK to v1.6.2 * bump to v1.2.2 * remove unused code * fix save image to disk * fix save point cloud to disk * fix stop imu * fix add py::call_guard() * add max ir limit * fixed depth * add disable PYBIND11_NO_ASSERT_GIL_HELD_INCREF_DECREF * update README * check empty * change cmake default to release * remove unused code * update README * fix config file * add deeyea config * remove max ir limit * fix ir render * update SDK config * update SDK to v1.6.3 * bump to v1.2.4 * add device reboot API * update README * remove unused file * add print camera params in test * fix return string ABI compatibility * fix warning * fixed issue #1 * update SDK to v1.7.1 * update SDK to v1.7.1 * add double IR sample * update README * bump to v1.2.5 * add stubs * fixed get default left && right ir profile * update readme * update SDK to v1.7.2 * bump to v1.2.6 * remove ssize_t * add license header * fixed file name typo * add play back color frame * update readme * update SDK to sdk v.1.7.4 * add read baseline interface * update playback sample * bump to v1.2.7 * add filter for depth viewer * update SDK to sdk v.1.8.1 * add net work device sample * add net work device sample * remove h264 example for windows * update 1.8.1 header and lib file * update examples to support Femto Bolt. * Update the Readme document and add code comments * Modify the sample's readme document and add an introduction to net_device . * update .rules file to support more devices * update version to 1.2.9 * fixed point cloud scale * roll back * fixed compile error * add multi device config * add numpy format point cloud * add device sync sample * update readme * remove point cloud filter z > 0 * fixed crash * prepare release v1.3.0 * fixed macos compile error * fixed sdk replace error * add setup.py * Add __repr__ method to OBCameraParam class * fixed print stream profile * add save point cloud by open3d * add get temperature interface * add get temperature interface test * update sdk to v1.9.5 * bump to v1.3.1 * add helper funtion bind * add OBCalibrationParam binding * fixed compile error * Add IMU data analysis and saving scripts * Add license headers to example files * Update data analysis scripts and add plot output folder to gitignore * update .gitignore * Update pybind11 version to 2.11.0 and add pybind11-global 2.11.0 to requirements.txt * Update CmakeList CMAKE_INSTALL_PREFIX * Gemini 330 series supoort (#36) * wip: add ton of new interface * Add more interface * Add more example * Update PointCloud filter * get post filter example * add hdr filter example * add set depth unit example * use plyfile save points simplfiy code * Update README * Update stubs * Update README * Update SDK to v1.10.5 * Fixed compile error * bump to v1.3.2 * fixed setup.py * fixed setup.py, add more note * add scripts/build_wheels.sh, not working now * Remove SDK stage version print statement * Update README * addbind OBGyroFullScaleRange type * add save_imu.py * ignore csv * update save timestamp scripts * Remove unused file * add multi device save data * add ob format new enum bind * fixed example crash * Check is pipeline start avoid crash * Fixed set depth work mode * Add timestamp unit * Format code * Update README for get windows uvc time stamp * remove get stage version * Update SDK to v1.10.8 * Add github action * use manual trigger action * Add enum net device interface * Update SDK config * Limit numpy<2.0 to fix issue 47 (#48) * Update: Bump to v1.3.3 * install new octo and debug the virtual env * Update SDK lib to version 1.10.11 * Update properties.cpp doc * add enable frame sync * test fine-tuned octo1.5 * add new env for ur5 to eval our model * optimize camera * caculate the Y matrix, code tag tracker * optimise code and Automated calibration process * slove the Matrix Mask * update sdk to v.1.10.12 * add gripper controller, camera, tag_tacker * Revert "add gripper controller, camera, tag_tacker" This reverts commit 7f9217adf7e31a5541c7745c3760f01419cad199. * Revert "merge pyorbbecsdk" This reverts commit a7908a54197b3a38af0a43e9e2db283c41d7f9d9, reversing changes made to 7f9217adf7e31a5541c7745c3760f01419cad199. * revert --------- Co-authored-by: Joe Dong Co-authored-by: zhonghong Co-authored-by: Lukas Koestler --- pyorbbecsdk/.github/workflows/build.yaml | 48 ++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 pyorbbecsdk/.github/workflows/build.yaml diff --git a/pyorbbecsdk/.github/workflows/build.yaml b/pyorbbecsdk/.github/workflows/build.yaml new file mode 100644 index 00000000..65ae44de --- /dev/null +++ b/pyorbbecsdk/.github/workflows/build.yaml @@ -0,0 +1,48 @@ +name: Build + +on: + workflow_dispatch: + inputs: + tag: + description: 'Tag to build' + required: true + default: 'v*' + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: [3.12] + + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.inputs.tag }} + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pybind11==2.11.0 pybind11-global==2.11.0 wheel + + - name: Configure CMake + run: cmake -S . -B build -DPYBIND11_PYTHON_VERSION=${{ matrix.python-version }} + + - name: Build + run: cmake --build build --config Release + + - name: Build Python Wheel + run: | + python setup.py bdist_wheel + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: python-wheel-${{ matrix.os }}-${{ matrix.python-version }} + path: dist/*.whl \ No newline at end of file