scaraemu

SCARA Robot Python Emulator & 2D/3D Kinematic Visualizer

scaraemu is a standalone kinematic emulator, real-time 2D/3D visualizer, and hardware communication bridge for 4-DOF SCARA robotic manipulators.

Developed in python code.

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

scaraemu python checker scaraemu python package scaraemu interface checker scaraemu isp checker scaraemu srp checker License: GPL v3 License Python 3.10+ GitHub issues open GitHub contributors

Table of Contents

πŸš€ Installation

Used next development environment

debian linux os

scaraemu python3 build

Currently there are three ways to install package

Install using pip

scaraemu is located at pypi.org.

You can install by using pip

# python3
pip3 install scaraemu
Install using build

Navigate to release page download and extract release archive.

To install scaraemu type the following

tar xvzf scaraemu-x.y.z.tar.gz
cd scaraemu-x.y.z/
# python3
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py 
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
pip3 install -r requirements.txt
python3 -m build --no-isolation --wheel
pip3 install ./dist/scaraemu-*-py3-none-any.whl
rm -f get-pip.py
chmod 755 /usr/local/lib/python3.10/dist-packages/usr/local/bin/scaraemu_run.py
ln -s /usr/local/lib/python3.10/dist-packages/usr/local/bin/scaraemu_run.py /usr/local/bin/scaraemu_run.py
Install using py setup

Navigate to release page download and extract release archive.

To install scaraemu locate and run setup.py with arguments

tar xvzf scaraemu-x.y.z.tar.gz
cd scaraemu-x.y.z
# python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_egg_info
Install using docker

You can use Dockerfile to create image/container.

πŸ“¦ Dependencies

scaraemu requires next modules and libraries

πŸ“ Tool structure

scaraemu is based on OOP and Hexagonal Architecture.

Tool structure

Click to expand framework structure ```bash scaraemu/ β”œβ”€β”€ core/ β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”œβ”€β”€ model/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ kinematics/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ joints.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ pose.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── step_coords.py β”‚Β Β  β”‚Β Β  └── simulation/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ state.py β”‚Β Β  β”‚Β Β  └── telemetry.py β”‚Β Β  └── service/ β”‚Β Β  β”œβ”€β”€ emulation/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ controller/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ controller.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ flags.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ icontroller.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iservice.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ motion/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── stepper.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ notification/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ilistener.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ inotifier.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── notifier.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ provides.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ queue/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iqueue.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ queue.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── snapshot.py β”‚Β Β  β”‚Β Β  └── service.py β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  └── kinematics/ β”‚Β Β  β”œβ”€β”€ imanipulator.py β”‚Β Β  └── __init__.py β”œβ”€β”€ engine.py β”œβ”€β”€ infrastructure/ β”‚Β Β  β”œβ”€β”€ cli/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ engine.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ icli.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  └── setup/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bundle.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dep_validator.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ keys.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ opt_validator.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ options.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ registry.py β”‚Β Β  β”‚Β Β  └── validator.py β”‚Β Β  β”œβ”€β”€ command/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bundle.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ definition.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ executor.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ idefinition.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iexecutor.py β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”œβ”€β”€ config/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ scara_geometry.json β”‚Β Β  β”‚Β Β  β”œβ”€β”€ scara_geometry_scheme.json β”‚Β Β  β”‚Β Β  β”œβ”€β”€ scaraemu.cfg β”‚Β Β  β”‚Β Β  └── scaraemu.logo β”‚Β Β  β”œβ”€β”€ connection/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ command/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dispatcher.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ idispatcher.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ coordinator/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ coordinator.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ icoordinator.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ handler/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ handler.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ihandler.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ listener/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── listener.py β”‚Β Β  β”‚Β Β  └── provides.py β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”œβ”€β”€ gui/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bridge/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ log/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ provides.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ server/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ log_adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── state_adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ status/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── sync/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ isynchronizer.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── synchronizer.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ canvas/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ canvas_xy.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ canvas_z.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ config.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ icanvas_xy.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ icanvas_z.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ renderer/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ j1_boundary_renderer.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ manipulator_arm_renderer.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ manipulator_render_context.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ trail_renderer.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ trajectory_path_renderer.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ workspace_boundary_renderer.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ z_render_context.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── z_renderer.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ target/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ elbow_auto_switch_coordinator.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ elbow_dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ielbow_auto_switch_coordinator.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ itarget_click_listener.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ itarget_motion_dispatcher.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ target_action_coordinator.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ target_dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── target_motion_dispatcher.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── viewport/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ coordinate_transformer.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ icoordinate_transformer.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iviewport.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ viewport.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── z_coordinate_mapper.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ console/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ buffer_actions.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ilog_listener.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── panel.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ delegates/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ assembly.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bundle.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ engine.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ igui.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ jog/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ action/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ coordinator.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ idelegate.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dpad/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ panel.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── step/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iprovider.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ layout/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ builder/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ builder.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ibuilder.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ lifecycle/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ irunner.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── runner.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ machine/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ configuration/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ coordinator.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ idelegate.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ panel.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── safety/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ coordinator.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ idelegate.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ provides.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ services.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ splash/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ifactory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iscreen.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── screen.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ telemetry/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ cartesian/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iview.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ joint/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ panel.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── step/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ theme/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ style.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── theme.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ticker/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ifactory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iticker.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ observer/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iobserver.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── observer.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ scheduler/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ilistener.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ischeduler.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── scheduler.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── ticker.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ toolbar/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ action/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ coordinator.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ idelegate.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ connection/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ istatus_view.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ panel.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ port/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iprovider.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── server/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ trajectory/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ panel.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ preset/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ coordinator.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ idelegate.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ queue/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ coordinator.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ idelegate.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iview.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── script/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ coordinator.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ idelegate.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── section.py β”‚Β Β  β”‚Β Β  └── window/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ configurator.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iconfigurator.py β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”œβ”€β”€ preferences/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ exceptions/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── preference_not_found_error.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ provides.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ serial/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── repository.py β”‚Β Β  β”‚Β Β  └── server/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ irepository.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ preference.py β”‚Β Β  β”‚Β Β  └── repository.py β”‚Β Β  β”œβ”€β”€ provides.py β”‚Β Β  β”œβ”€β”€ scaralang/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bypass/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iadapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ demo/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iadapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ kinematics/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ linkage/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iadapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── solver/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iadapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ protocol/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ builder/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iadapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ codec/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iadapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ payload/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iadapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ provides.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── response/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iadapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ provides.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ reach/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iadapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ safety/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iadapter.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  └── script/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ adapter.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ discovery.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iadapter.py β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”œβ”€β”€ server/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ accept/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iworker.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── worker.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dispatcher/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dispatcher.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ idispatcher.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ handler/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ihandler.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ jog/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ handler.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ motion/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ handler.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ system/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ handler.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── tool/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ handler.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iserver.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ logger/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ holder.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iholder.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ilistener.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ manager/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ilistener.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ imanager.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── manager.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ motion_completion_listener.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ pose/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ holder.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iholder.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ processor/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iprocessor.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── processor.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ provides.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ server.py β”‚Β Β  β”‚Β Β  └── session/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ioutbound_queue.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iworker.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ outbound_queue.py β”‚Β Β  β”‚Β Β  └── worker.py β”‚Β Β  β”œβ”€β”€ settings/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ geometry/ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iloader.py β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”‚Β Β  └── loader.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ provides.py β”‚Β Β  β”‚Β Β  └── transmission/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ iloader.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  └── loader.py β”‚Β Β  └── streaming/ β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”œβ”€β”€ motion/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ coordinator.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ icoordinator.py β”‚Β Β  β”‚Β Β  └── __init__.py β”‚Β Β  β”œβ”€β”€ provides.py β”‚Β Β  β”œβ”€β”€ pumper/ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ipumper.py β”‚Β Β  β”‚Β Β  └── pumper.py β”‚Β Β  └── streamer/ β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  β”œβ”€β”€ istreamer.py β”‚Β Β  └── streamer.py β”œβ”€β”€ __init__.py β”œβ”€β”€ py.typed └── setup/ β”œβ”€β”€ bundle.py β”œβ”€β”€ dep_validator.py β”œβ”€β”€ dependencies.py β”œβ”€β”€ factory.py β”œβ”€β”€ __init__.py β”œβ”€β”€ keys.py β”œβ”€β”€ kinematics/ β”‚Β Β  β”œβ”€β”€ dependencies.py β”‚Β Β  β”œβ”€β”€ factory.py β”‚Β Β  β”œβ”€β”€ __init__.py β”‚Β Β  └── provides.py β”œβ”€β”€ opt_validator.py β”œβ”€β”€ options.py β”œβ”€β”€ registry.py └── validator.py 103 directories, 408 files ```

πŸ— Architecture & SOLID Principles

scaraemu follows a clean, decoupled Layered Digital Twin Architecture separating real-time kinematic simulation, physical canvas rendering, autonomous trajectory generation, and hardware serial bridging:

                  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                  β”‚                       ScaraEmuGUI                       β”‚ (Presenter / Main Window)
                  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                               β”‚ Orchestrates UI Components via DTOs
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β–Ό                         β–Ό                         β–Ό                          β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚     CanvasXY     β”‚      β”‚     CanvasZ     β”‚      β”‚TrajectoryDemoPanelβ”‚      β”‚   ConsolePanel   β”‚
β”‚  (Top-Down 2D)   β”‚      β”‚  (Z Elevation)  β”‚      β”‚(Autonomous Motion)β”‚      β”‚ (Logs/Telemetry) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                         β”‚                         β”‚                          β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                          β”‚
                      β”‚ Dispatches Events to Coordinators                               β”‚
                      β–Ό                                                                 β–Ό
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚   Action Coordinators    β”‚                                      β”‚     Bridge Adapters     β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                      β”‚ Controls Simulation                                             β”‚ Decodes Binary
                      β–Ό                                                                 β–Ό Frames
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚     EmulationService     β”‚ (Kinematic Simulation Engine)        β”‚       BinaryCodec       β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                      β”‚                                                                 β”‚
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                           β”‚ Uses
         β–Ό                         β–Ό                        β–Ό                           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ManipulatorKinemat.β”‚      β”‚TrajectoryPreset  β”‚     β”‚  VirtualServer   β”‚    β”‚       BinaryFrame       β”‚
β”‚(Forward / Inverse)β”‚      β”‚(Autonomous Path) β”‚     β”‚ (TCP 127.0.0.1)  β”‚    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
SOLID Principles Compliance
Automated Quality Gates (run_quality_gates.sh)

All PRs and builds are checked against 4 automated architectural gates:

  1. Structural Protocols Gate: Confirms 100% adherence to pure @runtime_checkable Protocol definitions.
  2. Interface Segregation Gate (ISP): Confirms that interfaces are finely segregated with no bloated dependencies.
  3. Module Limits Gate: Enforces file length limits and line lengths $\le 100$ characters.
  4. Single Responsibility Gate (SRP): Enforces strict adherence to $\le 15$ methods per class.
🌐 SCARA Ecosystem Role & Physical Hardware Simulation

scaraemu serves as the visual Digital Twin within the unified 4-tier SCARA robotics architecture:

✨ Features

πŸ“ SCARA Kinematic & Geometric Configuration

The robot dimensions and physical boundaries can be customized in scara_geometry.json or injected programmatically:

Parameter Default Value Description Β  Β 
l1 150.0 mm Primary arm link length (shoulder to elbow). Β  Β 
l2 120.0 mm Secondary arm link length (elbow to wrist). Β  Β 
r_min 30.0 mm Inner singular deadzone radius ($ L_1 - L_2 $).
r_max 270.0 mm Maximum horizontal reach boundary ($L_1 + L_2$). Β  Β 
z_min 0.0 mm Minimum vertical height limit (bed level). Β  Β 
z_max 100.0 mm Maximum vertical stroke limit. Β  Β 
min_speed 1.0 mm/s Minimum allowable feedrate speed. Β  Β 
max_speed 100.0 mm/s Maximum allowable safe feedrate speed. Β  Β 

πŸ“Š Code coverage

Click to expand code coverage | Name | Stmts | Miss | Cover | |------|-------|------|-------| | `scaraemu/__init__.py` | 9 | 0 | 100%| | `scaraemu/core/__init__.py` | 9 | 0 | 100%| | `scaraemu/core/model/__init__.py` | 9 | 0 | 100%| | `scaraemu/core/model/kinematics/__init__.py` | 9 | 0 | 100%| | `scaraemu/core/model/kinematics/joints.py` | 17 | 0 | 100%| | `scaraemu/core/model/kinematics/pose.py` | 16 | 0 | 100%| | `scaraemu/core/model/kinematics/step_coords.py` | 16 | 0 | 100%| | `scaraemu/core/model/simulation/__init__.py` | 9 | 0 | 100%| | `scaraemu/core/model/simulation/state.py` | 19 | 0 | 100%| | `scaraemu/core/model/simulation/telemetry.py` | 23 | 0 | 100%| | `scaraemu/core/service/__init__.py` | 9 | 0 | 100%| | `scaraemu/core/service/emulation/__init__.py` | 9 | 0 | 100%| | `scaraemu/core/service/emulation/controller/__init__.py` | 9 | 0 | 100%| | `scaraemu/core/service/emulation/controller/controller.py` | 32 | 0 | 100%| | `scaraemu/core/service/emulation/controller/flags.py` | 16 | 0 | 100%| | `scaraemu/core/service/emulation/controller/icontroller.py` | 18 | 0 | 100%| | `scaraemu/core/service/emulation/dependencies.py` | 17 | 0 | 100%| | `scaraemu/core/service/emulation/factory.py` | 30 | 0 | 100%| | `scaraemu/core/service/emulation/iservice.py` | 17 | 0 | 100%| | `scaraemu/core/service/emulation/motion/__init__.py` | 9 | 0 | 100%| | `scaraemu/core/service/emulation/motion/stepper.py` | 30 | 0 | 100%| | `scaraemu/core/service/emulation/notification/__init__.py` | 9 | 0 | 100%| | `scaraemu/core/service/emulation/notification/ilistener.py` | 14 | 0 | 100%| | `scaraemu/core/service/emulation/notification/inotifier.py` | 15 | 0 | 100%| | `scaraemu/core/service/emulation/notification/notifier.py` | 21 | 0 | 100%| | `scaraemu/core/service/emulation/provides.py` | 20 | 0 | 100%| | `scaraemu/core/service/emulation/queue/__init__.py` | 9 | 0 | 100%| | `scaraemu/core/service/emulation/queue/iqueue.py` | 17 | 0 | 100%| | `scaraemu/core/service/emulation/queue/queue.py` | 47 | 0 | 100%| | `scaraemu/core/service/emulation/queue/snapshot.py` | 17 | 0 | 100%| | `scaraemu/core/service/emulation/service.py` | 57 | 0 | 100%| | `scaraemu/core/service/kinematics/__init__.py` | 9 | 0 | 100%| | `scaraemu/core/service/kinematics/imanipulator.py` | 19 | 0 | 100%| | `scaraemu/engine.py` | 59 | 0 | 100%| | `scaraemu/infrastructure/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/cli/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/cli/engine.py` | 36 | 0 | 100%| | `scaraemu/infrastructure/cli/icli.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/cli/setup/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/cli/setup/bundle.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/cli/setup/dep_validator.py` | 36 | 0 | 100%| | `scaraemu/infrastructure/cli/setup/dependencies.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/cli/setup/factory.py` | 35 | 0 | 100%| | `scaraemu/infrastructure/cli/setup/keys.py` | 25 | 0 | 100%| | `scaraemu/infrastructure/cli/setup/opt_validator.py` | 36 | 0 | 100%| | `scaraemu/infrastructure/cli/setup/options.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/cli/setup/registry.py` | 29 | 0 | 100%| | `scaraemu/infrastructure/cli/setup/validator.py` | 38 | 0 | 100%| | `scaraemu/infrastructure/command/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/command/bundle.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/command/definition.py` | 24 | 0 | 100%| | `scaraemu/infrastructure/command/executor.py` | 34 | 0 | 100%| | `scaraemu/infrastructure/command/idefinition.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/command/iexecutor.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/connection/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/connection/command/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/connection/command/dependencies.py` | 20 | 0 | 100%| | `scaraemu/infrastructure/connection/command/dispatcher.py` | 39 | 0 | 100%| | `scaraemu/infrastructure/connection/command/factory.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/connection/command/idispatcher.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/connection/coordinator/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/connection/coordinator/coordinator.py` | 38 | 0 | 100%| | `scaraemu/infrastructure/connection/coordinator/dependencies.py` | 20 | 0 | 100%| | `scaraemu/infrastructure/connection/coordinator/factory.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/connection/coordinator/icoordinator.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/connection/dependencies.py` | 26 | 0 | 100%| | `scaraemu/infrastructure/connection/factory.py` | 38 | 0 | 100%| | `scaraemu/infrastructure/connection/handler/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/connection/handler/dependencies.py` | 24 | 0 | 100%| | `scaraemu/infrastructure/connection/handler/factory.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/connection/handler/handler.py` | 63 | 0 | 100%| | `scaraemu/infrastructure/connection/handler/ihandler.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/connection/listener/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/connection/listener/dependencies.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/connection/listener/factory.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/connection/listener/listener.py` | 28 | 0 | 100%| | `scaraemu/infrastructure/connection/provides.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/dependencies.py` | 31 | 0 | 100%| | `scaraemu/infrastructure/factory.py` | 55 | 0 | 100%| | `scaraemu/infrastructure/gui/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/factory.py` | 30 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/log/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/log/adapter.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/provides.py` | 22 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/server/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/server/log_adapter.py` | 20 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/server/state_adapter.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/status/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/status/adapter.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/sync/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/sync/isynchronizer.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/gui/bridge/sync/synchronizer.py` | 29 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/canvas_xy.py` | 73 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/canvas_z.py` | 51 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/config.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/icanvas_xy.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/icanvas_z.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/renderer/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/renderer/j1_boundary_renderer.py` | 43 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/renderer/manipulator_arm_renderer.py` | 38 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/renderer/manipulator_render_context.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/renderer/trail_renderer.py` | 30 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/renderer/trajectory_path_renderer.py` | 29 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/renderer/workspace_boundary_renderer.py` | 37 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/renderer/z_render_context.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/renderer/z_renderer.py` | 48 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/target/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/target/elbow_auto_switch_coordinator.py` | 36 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/target/elbow_dependencies.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/target/ielbow_auto_switch_coordinator.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/target/itarget_click_listener.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/target/itarget_motion_dispatcher.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/target/target_action_coordinator.py` | 63 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/target/target_dependencies.py` | 22 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/target/target_motion_dispatcher.py` | 24 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/viewport/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/viewport/coordinate_transformer.py` | 32 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/viewport/icoordinate_transformer.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/viewport/iviewport.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/viewport/viewport.py` | 34 | 0 | 100%| | `scaraemu/infrastructure/gui/canvas/viewport/z_coordinate_mapper.py` | 30 | 0 | 100%| | `scaraemu/infrastructure/gui/console/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/console/buffer_actions.py` | 36 | 0 | 100%| | `scaraemu/infrastructure/gui/console/ilog_listener.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/gui/console/panel.py` | 49 | 0 | 100%| | `scaraemu/infrastructure/gui/delegates/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/delegates/assembly.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/gui/delegates/bundle.py` | 26 | 0 | 100%| | `scaraemu/infrastructure/gui/delegates/dependencies.py` | 22 | 0 | 100%| | `scaraemu/infrastructure/gui/delegates/factory.py` | 53 | 0 | 100%| | `scaraemu/infrastructure/gui/dependencies.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/gui/engine.py` | 42 | 0 | 100%| | `scaraemu/infrastructure/gui/factory.py` | 50 | 0 | 100%| | `scaraemu/infrastructure/gui/igui.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/gui/jog/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/jog/action/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/jog/action/coordinator.py` | 59 | 0 | 100%| | `scaraemu/infrastructure/gui/jog/action/dependencies.py` | 24 | 0 | 100%| | `scaraemu/infrastructure/gui/jog/action/idelegate.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/gui/jog/dpad/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/jog/dpad/section.py` | 29 | 0 | 100%| | `scaraemu/infrastructure/gui/jog/panel.py` | 28 | 0 | 100%| | `scaraemu/infrastructure/gui/jog/step/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/jog/step/iprovider.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/gui/jog/step/section.py` | 26 | 0 | 100%| | `scaraemu/infrastructure/gui/layout/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/layout/builder/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/layout/builder/builder.py` | 93 | 0 | 100%| | `scaraemu/infrastructure/gui/layout/builder/dependencies.py` | 22 | 0 | 100%| | `scaraemu/infrastructure/gui/layout/builder/factory.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/gui/layout/builder/ibuilder.py` | 29 | 0 | 100%| | `scaraemu/infrastructure/gui/lifecycle/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/lifecycle/factory.py` | 21 | 0 | 100%| | `scaraemu/infrastructure/gui/lifecycle/irunner.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/gui/lifecycle/runner.py` | 53 | 0 | 100%| | `scaraemu/infrastructure/gui/machine/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/machine/configuration/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/machine/configuration/coordinator.py` | 39 | 0 | 100%| | `scaraemu/infrastructure/gui/machine/configuration/idelegate.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/gui/machine/configuration/section.py` | 28 | 0 | 100%| | `scaraemu/infrastructure/gui/machine/panel.py` | 29 | 0 | 100%| | `scaraemu/infrastructure/gui/machine/safety/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/machine/safety/coordinator.py` | 37 | 0 | 100%| | `scaraemu/infrastructure/gui/machine/safety/idelegate.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/gui/machine/safety/section.py` | 28 | 0 | 100%| | `scaraemu/infrastructure/gui/provides.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/gui/services.py` | 30 | 0 | 100%| | `scaraemu/infrastructure/gui/splash/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/splash/factory.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/gui/splash/ifactory.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/gui/splash/iscreen.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/gui/splash/screen.py` | 60 | 0 | 100%| | `scaraemu/infrastructure/gui/telemetry/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/telemetry/cartesian/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/telemetry/cartesian/section.py` | 48 | 0 | 100%| | `scaraemu/infrastructure/gui/telemetry/iview.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/gui/telemetry/joint/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/telemetry/joint/section.py` | 42 | 0 | 100%| | `scaraemu/infrastructure/gui/telemetry/panel.py` | 44 | 0 | 100%| | `scaraemu/infrastructure/gui/telemetry/step/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/telemetry/step/section.py` | 47 | 0 | 100%| | `scaraemu/infrastructure/gui/theme/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/theme/style.py` | 23 | 0 | 100%| | `scaraemu/infrastructure/gui/theme/theme.py` | 28 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/dependencies.py` | 27 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/factory.py` | 22 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/ifactory.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/iticker.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/observer/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/observer/iobserver.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/observer/observer.py` | 33 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/scheduler/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/scheduler/ilistener.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/scheduler/ischeduler.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/scheduler/scheduler.py` | 37 | 0 | 100%| | `scaraemu/infrastructure/gui/ticker/ticker.py` | 36 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/action/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/action/coordinator.py` | 40 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/action/idelegate.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/connection/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/connection/istatus_view.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/connection/section.py` | 37 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/panel.py` | 39 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/port/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/port/iprovider.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/port/section.py` | 71 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/server/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/toolbar/server/section.py` | 29 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/panel.py` | 37 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/preset/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/preset/coordinator.py` | 34 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/preset/idelegate.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/preset/section.py` | 28 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/queue/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/queue/coordinator.py` | 23 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/queue/idelegate.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/queue/iview.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/queue/section.py` | 32 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/script/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/script/coordinator.py` | 35 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/script/idelegate.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/gui/trajectory/script/section.py` | 48 | 0 | 100%| | `scaraemu/infrastructure/gui/window/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/gui/window/configurator.py` | 30 | 0 | 100%| | `scaraemu/infrastructure/gui/window/factory.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/gui/window/iconfigurator.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/preferences/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/preferences/dependencies.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/preferences/exceptions/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/preferences/exceptions/preference_not_found_error.py` | 10 | 0 | 100%| | `scaraemu/infrastructure/preferences/factory.py` | 24 | 0 | 100%| | `scaraemu/infrastructure/preferences/provides.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/preferences/serial/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/preferences/serial/factory.py` | 21 | 0 | 100%| | `scaraemu/infrastructure/preferences/serial/repository.py` | 65 | 0 | 100%| | `scaraemu/infrastructure/preferences/server/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/preferences/server/factory.py` | 21 | 0 | 100%| | `scaraemu/infrastructure/preferences/server/irepository.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/preferences/server/preference.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/preferences/server/repository.py` | 65 | 0 | 100%| | `scaraemu/infrastructure/provides.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/scaralang/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/bypass/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/bypass/adapter.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/scaralang/bypass/factory.py` | 13 | 0 | 100%| | `scaraemu/infrastructure/scaralang/bypass/iadapter.py` | 11 | 0 | 100%| | `scaraemu/infrastructure/scaralang/demo/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/demo/adapter.py` | 35 | 0 | 100%| | `scaraemu/infrastructure/scaralang/demo/factory.py` | 21 | 0 | 100%| | `scaraemu/infrastructure/scaralang/demo/iadapter.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/scaralang/dependencies.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/scaralang/factory.py` | 24 | 0 | 100%| | `scaraemu/infrastructure/scaralang/kinematics/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/kinematics/linkage/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/kinematics/linkage/adapter.py` | 22 | 0 | 100%| | `scaraemu/infrastructure/scaralang/kinematics/linkage/factory.py` | 24 | 0 | 100%| | `scaraemu/infrastructure/scaralang/kinematics/linkage/iadapter.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/scaralang/kinematics/solver/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/kinematics/solver/adapter.py` | 41 | 0 | 100%| | `scaraemu/infrastructure/scaralang/kinematics/solver/factory.py` | 28 | 0 | 100%| | `scaraemu/infrastructure/scaralang/kinematics/solver/iadapter.py` | 20 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/builder/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/builder/adapter.py` | 34 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/builder/factory.py` | 21 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/builder/iadapter.py` | 20 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/codec/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/codec/adapter.py` | 30 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/codec/factory.py` | 24 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/codec/iadapter.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/factory.py` | 21 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/payload/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/payload/adapter.py` | 31 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/payload/factory.py` | 21 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/payload/iadapter.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/provides.py` | 20 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/response/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/response/adapter.py` | 30 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/response/factory.py` | 21 | 0 | 100%| | `scaraemu/infrastructure/scaralang/protocol/response/iadapter.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/scaralang/provides.py` | 42 | 0 | 100%| | `scaraemu/infrastructure/scaralang/reach/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/reach/adapter.py` | 29 | 0 | 100%| | `scaraemu/infrastructure/scaralang/reach/factory.py` | 27 | 0 | 100%| | `scaraemu/infrastructure/scaralang/reach/iadapter.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/scaralang/safety/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/safety/adapter.py` | 36 | 0 | 100%| | `scaraemu/infrastructure/scaralang/safety/factory.py` | 29 | 0 | 100%| | `scaraemu/infrastructure/scaralang/safety/iadapter.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/scaralang/script/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/scaralang/script/adapter.py` | 34 | 0 | 100%| | `scaraemu/infrastructure/scaralang/script/discovery.py` | 31 | 0 | 100%| | `scaraemu/infrastructure/scaralang/script/factory.py` | 28 | 0 | 100%| | `scaraemu/infrastructure/scaralang/script/iadapter.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/server/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/accept/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/accept/factory.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/server/accept/iworker.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/server/accept/worker.py` | 32 | 0 | 100%| | `scaraemu/infrastructure/server/dependencies.py` | 32 | 0 | 100%| | `scaraemu/infrastructure/server/dispatcher/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/dispatcher/dispatcher.py` | 32 | 0 | 100%| | `scaraemu/infrastructure/server/dispatcher/factory.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/server/dispatcher/idispatcher.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/server/factory.py` | 44 | 0 | 100%| | `scaraemu/infrastructure/server/handler/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/handler/ihandler.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/server/handler/jog/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/handler/jog/dependencies.py` | 24 | 0 | 100%| | `scaraemu/infrastructure/server/handler/jog/factory.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/server/handler/jog/handler.py` | 72 | 0 | 100%| | `scaraemu/infrastructure/server/handler/motion/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/handler/motion/dependencies.py` | 28 | 0 | 100%| | `scaraemu/infrastructure/server/handler/motion/factory.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/server/handler/motion/handler.py` | 75 | 0 | 100%| | `scaraemu/infrastructure/server/handler/system/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/handler/system/dependencies.py` | 20 | 0 | 100%| | `scaraemu/infrastructure/server/handler/system/factory.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/server/handler/system/handler.py` | 57 | 0 | 100%| | `scaraemu/infrastructure/server/handler/tool/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/handler/tool/dependencies.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/server/handler/tool/factory.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/server/handler/tool/handler.py` | 32 | 0 | 100%| | `scaraemu/infrastructure/server/iserver.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/server/logger/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/logger/factory.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/server/logger/holder.py` | 23 | 0 | 100%| | `scaraemu/infrastructure/server/logger/iholder.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/server/logger/ilistener.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/server/manager/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/manager/dependencies.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/server/manager/factory.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/server/manager/ilistener.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/server/manager/imanager.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/server/manager/manager.py` | 41 | 0 | 100%| | `scaraemu/infrastructure/server/motion_completion_listener.py` | 32 | 0 | 100%| | `scaraemu/infrastructure/server/pose/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/pose/factory.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/server/pose/holder.py` | 27 | 0 | 100%| | `scaraemu/infrastructure/server/pose/iholder.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/server/processor/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/processor/dependencies.py` | 30 | 0 | 100%| | `scaraemu/infrastructure/server/processor/factory.py` | 37 | 0 | 100%| | `scaraemu/infrastructure/server/processor/iprocessor.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/server/processor/processor.py` | 28 | 0 | 100%| | `scaraemu/infrastructure/server/provides.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/server/server.py` | 74 | 0 | 100%| | `scaraemu/infrastructure/server/session/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/server/session/dependencies.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/server/session/factory.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/server/session/ioutbound_queue.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/server/session/iworker.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/server/session/outbound_queue.py` | 32 | 0 | 100%| | `scaraemu/infrastructure/server/session/worker.py` | 50 | 1 | 98%| | `scaraemu/infrastructure/settings/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/settings/dependencies.py` | 14 | 0 | 100%| | `scaraemu/infrastructure/settings/factory.py` | 24 | 0 | 100%| | `scaraemu/infrastructure/settings/geometry/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/settings/geometry/factory.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/settings/geometry/iloader.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/settings/geometry/loader.py` | 36 | 0 | 100%| | `scaraemu/infrastructure/settings/provides.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/settings/transmission/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/settings/transmission/factory.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/settings/transmission/iloader.py` | 15 | 0 | 100%| | `scaraemu/infrastructure/settings/transmission/loader.py` | 36 | 0 | 100%| | `scaraemu/infrastructure/streaming/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/streaming/dependencies.py` | 20 | 0 | 100%| | `scaraemu/infrastructure/streaming/factory.py` | 31 | 0 | 100%| | `scaraemu/infrastructure/streaming/motion/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/streaming/motion/coordinator.py` | 23 | 0 | 100%| | `scaraemu/infrastructure/streaming/motion/factory.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/streaming/motion/icoordinator.py` | 17 | 0 | 100%| | `scaraemu/infrastructure/streaming/provides.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/streaming/pumper/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/streaming/pumper/dependencies.py` | 22 | 0 | 100%| | `scaraemu/infrastructure/streaming/pumper/factory.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/streaming/pumper/ipumper.py` | 16 | 0 | 100%| | `scaraemu/infrastructure/streaming/pumper/pumper.py` | 55 | 0 | 100%| | `scaraemu/infrastructure/streaming/streamer/__init__.py` | 9 | 0 | 100%| | `scaraemu/infrastructure/streaming/streamer/dependencies.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/streaming/streamer/factory.py` | 19 | 0 | 100%| | `scaraemu/infrastructure/streaming/streamer/istreamer.py` | 18 | 0 | 100%| | `scaraemu/infrastructure/streaming/streamer/streamer.py` | 40 | 0 | 100%| | `scaraemu/setup/__init__.py` | 9 | 0 | 100%| | `scaraemu/setup/bundle.py` | 24 | 0 | 100%| | `scaraemu/setup/dep_validator.py` | 36 | 0 | 100%| | `scaraemu/setup/dependencies.py` | 23 | 0 | 100%| | `scaraemu/setup/factory.py` | 54 | 0 | 100%| | `scaraemu/setup/keys.py` | 41 | 0 | 100%| | `scaraemu/setup/kinematics/__init__.py` | 9 | 0 | 100%| | `scaraemu/setup/kinematics/dependencies.py` | 18 | 0 | 100%| | `scaraemu/setup/kinematics/factory.py` | 47 | 0 | 100%| | `scaraemu/setup/kinematics/provides.py` | 18 | 0 | 100%| | `scaraemu/setup/opt_validator.py` | 36 | 0 | 100%| | `scaraemu/setup/options.py` | 22 | 0 | 100%| | `scaraemu/setup/registry.py` | 24 | 0 | 100%| | `scaraemu/setup/validator.py` | 32 | 0 | 100%| | **Total** | 8938 | 1 | 99% |

πŸ›  Usage

Install package

pip3 install scaraemu

Prepare main entry point by downloading main.py or create your own.

wget -O main.py https://raw.githubusercontent.com/vroncevic/scaraemu/main/main.py
CLI Command Options

Launch the graphical emulator with default configuration:

python3 main.py emulator

Launch with custom geometry overrides:

python3 main.py emulator --l1 160.0 --l2 110.0 --verbose
Option Type Choices Description
--l1 float Length in mm Override primary arm length L1 in millimeters.
--l2 float Length in mm Override secondary arm length L2 in millimeters.
--z-min float Limit in mm Minimum vertical Z boundary in millimeters.
--z-max float Limit in mm Maximum vertical Z boundary in millimeters.
--robot-config str File path Path to custom robot geometry JSON file.
--verbose bool Flag Enable verbose ATS operational logging.
Interactive Emulation & Control Workflow
  1. 2D/3D Kinematic Visualizer:
    • Inspect top-down planar canvas (XY) and side elevation carriage (Z).
    • Directly click anywhere inside reachable annular workspace to command moves.
  2. Manual Jogging & Axis Control:
    • Step along $X, Y, Z, \Phi$ with configurable step sizes under Monitor & Jog.
    • Toggle between Lefty and Righty elbow configurations or toggle motor power.
  3. Autonomous Demo Trajectories:
    • Under the Trajectories tab, select Circle, Square, 5-Star, or 3D Helix.
    • Watch the real-time simulation interpolator render toolhead paths.
  4. Virtual Server & Telemetry Streaming:
    • Run embedded Virtual Robot Server listening on TCP socket 127.0.0.1:8888.
    • Telemetry updates synchronize simulated robot position with the visualizer.
  5. Console & Telemetry Logging:
    • Inspect live binary protocol logs, server communication events, and real-time telemetry updates.
πŸ€– Digital Twin Integration with SCARAjectory

scaraemu acts as a virtual hardware target, SITL digital twin, and kinematic simulator for scarajectory.

Method 1: Virtual Robot Server (TCP 127.0.0.1:8888)
  1. In scaraemu, click the 🌐 Virtual Server: OFF toggle button on the top status bar.
  2. The button illuminates green and displays 🌐 Virtual Server: 8888, listening for incoming TCP client connections on 127.0.0.1:8888.
  3. In scarajectory, navigate to the Hardware Streamer tab and select 127.0.0.1:8888 (Digital Twin) from the Port dropdown.
  4. Click Connect in scarajectory.
  5. Stream any trajectory plan or jog joints interactively:
    • scaraemu decodes incoming scaralang binary motion frames (CMD_MOVE_JOINT_STEPS).
    • Forward kinematics computes joint angles ($\theta_1, \theta_2, Z, \phi$) and renders real-time motion on the 2D and 3D canvases.
    • Bidirectional handshake frames (RESP_ACK, RESP_MOVE_DONE) flow back to scarajectory for closed-loop motion synchronization.
Method 2: Launch via CLI with Initial File

Launch scaraemu with an initial .scara script or plan.json:

python3 main.py emulator --file /path/to/trajectory.scara

The emulator automatically loads the file, executes forward and inverse kinematics, and displays the toolhead path.

Method 3: Load .scara DSL Programs from UI
  1. Navigate to the Trajectories tab in scaraemu.
  2. Select any program from the SCARA DSL Script dropdown (12 industrial demo programs included).
  3. Or click πŸ“‚ Load to browse and open any custom .scara or JSON trajectory plan.

πŸ“š Docs

Documentation Status

More documentation and info at

πŸ‘₯ Contributing

Contributing to scaraemu

License: GPL v3 License

Copyright (C) 2026 by vroncevic.github.io/scaraemu

scaraemu is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 3.x or, at your option, any later version of Python 3 you may have available.

Special thanks to Google and the Google developer ecosystem for their tremendous support and innovative tools from the Google bundle that empowered the development and realization of this project. Google, you make this world a better place! 🌍✨

Lets help and support PSF.

Python Software Foundation

Donate