Skip to main content

Teaching Manager

en ja

GitHub GitHub Pages Ohara Lab

Version 0.1.4 — A Python package and PySide6 GUI for robot position teaching and P-variable management.

Features

Teaching Manager uses the DeviceProxy supplied by a launcher. Its shared GUI reads the current position, teaches numbered P points, and imports or exports JSON.

  • COBOTTA uses both device-side P variables and a JSON file on the GUI computer. Teaching and clearing write and read back the selected point. Choosing Save on exit synchronizes changed points that are still listed, then writes the displayed list to the default JSON file. You can also export the list manually.
  • The bundled UR example reads the current position through DeviceProxy and stores taught points in JSON_FILE on the GUI computer. The UR control instance has its own ROBOT_VAR_FILE. Teaching in this GUI leaves the control instance’s P points unchanged.
  • For device-managed teaching, the launcher passes operation method names to run_teaching_gui(..., methods=...). Python API

To use saved variables from Python, load the entire JSON file with RobotVarManager.load(), then read the values via list_vars() and key lookup. Gaps remain absent. Python API

Launch

Prepare PySide6, x_logger, the device package (cobotta2 or ur), and the corresponding device server. Run the launcher for your device from the repository root.

python example/teaching_cobotta_gui.py
python example/teaching_ur_gui.py

The Cobotta example reads config_cobotta3_server5.yaml by default. The UR example reads ur_server.yaml and requires a version of ur that registers UrCtrl with DeviceProxy. See Installation and launch for connection settings and JSON_FILE.

Documentation

Sphinx generates the API reference from docstrings for RobotVarManager, TeachingModel, TeachingController, and the GUI. Build with bash docs/build.sh.

Important: Clear writes [0, 0, 0, 0, 0, 0, -1]. Removing a Cobotta row does not delete the robot's internal variable. Automatic teaching to an unused P number is not implemented. Discarding on exit does not undo robot writes already performed.

Changelog

Metadata

Release files for teaching-manager 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for teaching-manager 0.1.4
File Size Uploaded Provenance Actions
teaching_manager-0.1.4.tar.gz 25.9 kB With provenance Details for teaching_manager-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for teaching-manager 0.1.4
File Interpreter ABI Platform Actions
teaching_manager-0.1.4-py3-none-any.whl Python 3 none any Details for teaching_manager-0.1.4-py3-none-any.whl

Total release size: 52.5 kB

Release files / teaching_manager-0.1.4.tar.gz

Download URL teaching_manager-0.1.4.tar.gz
Size 25.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a050979043254ff24483dfcd04ec9e4b1856b3e55731cd5001965d640dd39ca4
BLAKE2b-256 checksum
How to use checksums
adfa9a8bbfc6bfde4f3ab3887716751a455e77ca73ecad81f4f8aee70078cda4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / teaching_manager-0.1.4-py3-none-any.whl

Download URL teaching_manager-0.1.4-py3-none-any.whl
Size 26.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a286a34b6f6ca6049152e3d0ba87423f2647b0e70889830b6656a6b9e89bce26
BLAKE2b-256 checksum
How to use checksums
ba49c35f57d58da8ba83510874ca8e9fdc4274c81aeeb57094a55fe27bda5e9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for teaching-manager 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for teaching_manager-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page