Skip to main content

OrcaLab - Cloud-native robotics simulation platform with advanced UI and asset management

Project description

OrcaLab

OrcaLab is a front-end of OrcaGym. It provides a user-interface for scene assembling and simulation.

Features

  • TODO

Requirements

  • Python 3.12 or higher
  • OrcaGym (required dependency)
  • Other dependencies listed in pyproject.toml

Development Requirements

For building and releasing packages, the following pip packages are required:

Core Build Tools

pip install build twine wheel setuptools

Development Tools (Optional)

pip install pytest pytest-cov flake8 black mypy

Make Commands and Required Packages

The project includes a Makefile with various commands. Here are the required packages for each command:

Make Command Required pip packages Description
make build build, setuptools, wheel Build distribution packages
make check twine Check package quality
make test-install build, setuptools, wheel Test local installation
make test-install-testpypi build, setuptools, wheel Test TestPyPI installation
make test-install-pypi build, setuptools, wheel Test PyPI installation
make release-test build, twine, setuptools, wheel Release to TestPyPI
make release-prod build, twine, setuptools, wheel Release to PyPI
make bump-version None (uses sed) Bump version number
make setup-pypirc None Setup PyPI configuration file
make check-pypirc None Check PyPI configuration
make clean None Clean build artifacts
make test pytest, pytest-cov Run tests
make format black Format code
make lint flake8, mypy Lint code

Quick Setup for Development

# Install development dependencies
pip install build twine wheel setuptools pytest pytest-cov flake8 black mypy

# Or install from the project's optional dependencies
pip install -e ".[dev]"

Release Process

Quick Release

# Setup PyPI configuration (first time only)
make setup-pypirc

# Release to TestPyPI
./scripts/release/release.sh test

# Release to PyPI
./scripts/release/release.sh prod

Step-by-step Release

# Clean, build, check, and upload
./scripts/release/clean.sh
./scripts/release/build.sh
./scripts/release/check.sh
./scripts/release/upload_test.sh  # or upload_prod.sh

Installation

  1. Install OrcaGym (required):
    # Please follow the OrcaGym installation instructions
    
  2. Clone this repository and install OrcaLab in editable mode:
    # required by pyside
    sudo apt install libxcb-cursor0
    
    git clone https://github.com/openverse-orca/OrcaLab.git
    cd OrcaLab
    pip install -e .
    

Usage

To start OrcaLab, run:

python run.py

Notice

  • Blocking function (like QDialog.exec()) should not be called in async function directly. It will stop the async loop in a strange way. There are two ways to work around:
    • wrap in qasync.asyncWrap
    • invoke by a qt signal.
# wrap in `qasync.asyncWrap`

async def foo():
	def bloc_task():
		return dialog.exec()

	await asyncWrap(bloc_task)	

# invoke by a qt signal

def bloc_task():
	return dialog.exec()

some_signal.connect(bloc_task)

常见问题

Linux上出现 version `GLIBCXX_3.4.30' not found

conda update -c conda-forge libstdcxx-ng

License

This project is licensed under the terms of the LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orca_lab-25.10.2.tar.gz (101.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orca_lab-25.10.2-py3-none-any.whl (125.8 kB view details)

Uploaded Python 3

File details

Details for the file orca_lab-25.10.2.tar.gz.

File metadata

  • Download URL: orca_lab-25.10.2.tar.gz
  • Upload date:
  • Size: 101.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for orca_lab-25.10.2.tar.gz
Algorithm Hash digest
SHA256 e8336d775f6a2c11cfd8278588d5dc93725f7c45b07888b33c259975f90cd531
MD5 da6341ab784bab2f8406d866821722ad
BLAKE2b-256 5e95fd421e669bd19919b56ef803245c4818b60cc6d46258a9a52d2aa17fa116

See more details on using hashes here.

File details

Details for the file orca_lab-25.10.2-py3-none-any.whl.

File metadata

  • Download URL: orca_lab-25.10.2-py3-none-any.whl
  • Upload date:
  • Size: 125.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for orca_lab-25.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 60e8386110065aec6713f2193bbaec10490155e7608ce4e139e08bc8ef93ab96
MD5 5ea5d5861b0821ae6674febc4f108813
BLAKE2b-256 8861ca6cf7e2c8f59942d87866e5377abb0fc9769aad096a26cd88bf81e12c64

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page