Skip to main content

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

Project description

OrcaLab

OrcaLab 是 OrcaGym 的前端界面,提供场景组装和仿真的用户界面。

功能特性

  • TODO

系统要求

  • Python 3.12 或更高版本
  • OrcaGym(必需依赖)
  • 其他依赖项请参见 pyproject.toml

安装

  1. 安装 OrcaGym(必需):
    # 请按照 OrcaGym 的安装说明进行安装
    
  2. 克隆此仓库并以可编辑模式安装 OrcaLab:
    # pyside 需要
    sudo apt install libxcb-cursor0
    
    git clone https://github.com/openverse-orca/OrcaLab.git
    cd OrcaLab
    pip install -e .
    

安装后设置

安装 OrcaLab 后,需要安装 orcalab-pyside 包,该包提供额外的 UI 组件。此包不在 PyPI 上提供,必须单独安装。

对于最终用户(自动安装)

orcalab-pyside 包将在首次运行 OrcaLab 时自动下载并安装。系统将:

  • 从配置的 OSS URL 下载包
  • 解压到用户目录
  • 在同一 conda 环境中以可编辑模式安装

对于开发者(手动安装)

如果你正在开发 OrcaLab 并想使用本地版本的 orcalab-pyside

  1. orca.config.user.toml 中配置本地路径:

    [orcalab]
    python_project_path = "/path/to/your/local/orcalab-pyside"
    
  2. 手动运行后安装器:

    orcalab-post-install
    

开发者注意事项:每当你在配置中更改 python_project_path 时,必须手动运行 orcalab-post-install 来更新安装。自动检测仅适用于用户模式下的版本变化,不适用于开发者模式下的本地路径变化。

使用方法

启动 OrcaLab:

python run.py

发布流程

详细的发布流程和脚本说明请参见 scripts/release/README.md

注意事项

  • 阻塞函数(如 QDialog.exec())不应在异步函数中直接调用。这会以奇怪的方式停止异步循环。有两种解决方法:
    • qasync.asyncWrap 包装
    • 通过 qt 信号调用
# 用 `qasync.asyncWrap` 包装

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

	await asyncWrap(bloc_task)	

# 通过 qt 信号调用

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 文件中规定的许可证条款。

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.5.tar.gz (118.6 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.5-py3-none-any.whl (145.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for orca_lab-25.10.5.tar.gz
Algorithm Hash digest
SHA256 d1102019a783af8ee30342a63dc15621040bce76eee0c9968effd23f4d4c9190
MD5 b07ad48926e85a0dae34ade9051fa69a
BLAKE2b-256 bfee24bf41faaa23eb5ccf288408a37c90e980aae8bdb46896cefbff4a3e52c8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for orca_lab-25.10.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e8e80ad46ecb297c40997a113e3c13582aa982f039c618e8237aa9738b5f048c
MD5 444cdf1367b4d9f1449464fbb5e3448c
BLAKE2b-256 cd40f6256283b26268be80722b19e84a6f7621d0e4bc06d6ab49657ce6003f39

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