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.3.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.3-py3-none-any.whl (125.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: orca_lab-25.10.3.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.3.tar.gz
Algorithm Hash digest
SHA256 e4a83eef3ac2c2b3404d7ee8afde98868f38e7fba982fe2333f85437efd610ef
MD5 0654acef78bd4299082200810a78a7c5
BLAKE2b-256 22a3d78e5053c40f977fd2bcc2c78ac334d969605e32df27cb1223d2239a0267

See more details on using hashes here.

File details

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

File metadata

  • Download URL: orca_lab-25.10.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 977b60d40a5396e057fffaf951724c5fa9eed58716823cf3bc5795fc383f4f1e
MD5 f1428211a5f1794fd9870cb0bdc4af03
BLAKE2b-256 1e552edcc11cb78ebeb31cf5d78ae89238d3e1516bf7846841b286d474e93836

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