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.9.0.tar.gz (86.1 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.9.0-py3-none-any.whl (106.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: orca_lab-25.9.0.tar.gz
  • Upload date:
  • Size: 86.1 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.9.0.tar.gz
Algorithm Hash digest
SHA256 9b2d05e6067e779e583953ee35eef41887328e3a31089e30c1f37e47a001cb7d
MD5 fbbda9d57433dc20826649658d1ab055
BLAKE2b-256 8fa44259f34e036c8c8ac72ee8c28e29381885c48f3b2afaefae6588332032d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: orca_lab-25.9.0-py3-none-any.whl
  • Upload date:
  • Size: 106.1 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.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b8c9b92c1f2c9406f0070f873a20744f403420c929266444204f1ddd1d9d907
MD5 d8adc28befa4719d368f2edc2289a924
BLAKE2b-256 3fc3fad31bfa0781ee72609de9faa59194f09ea573692a65a280f6d8615f57f5

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