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.

Table of Contents
π Installation
Used next development environment


Currently there are three ways to install package
- Install process based on using pip mechanism
- Install process based on build mechanism
- Install process based on setup.py mechanism
- Install process based on docker mechanism
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
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
- S β Single Responsibility Principle (SRP):
- Strict limit of $\le 15$ methods per class enforced by automated CI quality gate (
srp_checker.py), with fine-grained components strictly targeting 2 to 4 methods (max 6 methods).
- Presentation logic is cleanly partitioned between
ScaraEmuGUI (layout assembly), focused action coordinators (TargetActionCoordinator, JogActionCoordinator, QueueActionCoordinator, ScriptLoaderCoordinator), modular bridge adapters (ServerAdapter, StatusAdapter, LogAdapter, BridgeSynchronizer), and modular UI panels (CanvasXY, CanvasZ, JogPanel, TrajectoryDemoPanel, ConsolePanel, MachinePanel, TelemetryPanel).
- O β Open/Closed Principle (OCP):
- Autonomous motion routines and trajectory actions use pluggable coordinators without modifying core emulation or rendering dispatchers.
- L β Liskov Substitution Principle (LSP):
- Strict avoidance of concrete class inheritance hierarchies; all contracts use Python
@runtime_checkable Protocol structural typing (IManipulatorKinematics, IEmulationService, ICanvasXY, ICanvasZ).
- I β Interface Segregation Principle (ISP):
- Role-specific interfaces ensure components only bind to methods they consume. Validated by
isp_checker.py.
- D β Dependency Inversion Principle (DIP):
- Presentation, server handlers, and bridge controllers depend exclusively on structural abstractions (
IManipulatorKinematics, IEmulationService, IEmulationQueue) and immutable domain models (ScaraPose, ScaraJoints, JointSteps).
Automated Quality Gates (run_quality_gates.sh)
All PRs and builds are checked against 4 automated architectural gates:
- Structural Protocols Gate: Confirms 100% adherence to pure
@runtime_checkable Protocol definitions.
- Interface Segregation Gate (ISP): Confirms that interfaces are finely segregated with no bloated dependencies.
- Module Limits Gate: Enforces file length limits and line lengths $\le 100$ characters.
- 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:
- scaralang Integration: Simulates bytecode execution and binary wire frames (
0xAA 0x55) compiled by scaralang.
- scarajectory Loopback: Receives real-time streaming trajectories over loopback TCP (port 8888) or PTY serial channels, returning closed-loop flow control and ACK/NACK responses.
- scara_base Hardware Simulation: Accurately visualizes physical dual-link kinematics, Z-elevation, and end-effector actions corresponding to the real robot driven by Raspberry Pi Pico (RP2040) controlling NEMA steppers in Open-Loop (TMC2209) or Closed-Loop (MKS SERVO42D via CAN bus).
β¨ Features
- 2D Planar Dual-Link Visualizer: Real-time rendering of primary ($L_1$) and secondary ($L_2$) arm links, active joint angles, target crosshair, and animated motion path trail.
- Side Elevation Z-Tower View: Multi-rod lead screw carriage elevation, active tool height, and radial extension profile visualization.
- Interactive Targeting & Jogging: Direct mouse click position targeting on both XY and Z canvases, Cartesian delta jogging ($X, Y, Z, \Phi$), Lefty/Righty elbow toggling, and Emergency Stop.
- Autonomous Trajectory Demos: Pre-programmed autonomous demonstration trajectories (Circle, Square, 5-Point Star, 3D Helical Coil, and Pick & Place 3D JUMP Arch).
- Sliding Window Stream Processing: Multi-threaded TCP socket and queue processing with dynamic ACK tracking, auto-pause on buffer full, and progress monitoring.
- Virtual Server Bridge & Binary Protocol Codec: Bidirectional streaming over TCP socket (port 8888) with
scaralang binary wire frames (0xAA 0x55), real-time status telemetry queries, dynamic queue management, and digital twin synchronization.
- Configurable Kinematics & Dimensions: Dynamic robot link lengths ($L_1, L_2$), stroke limits ($Z_{min}, Z_{max}$), and speed bounds configurable via CLI options and JSON schema.
- Strict Quality & SOLID Standards: 100% protocol conformity, zero ISP/SRP violations, 100% code coverage (8,947/8,947 lines), and 9.99 / 10.00 Pylint score.
π 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
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:
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
- 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.
- 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.
- Autonomous Demo Trajectories:
- Under the Trajectories tab, select Circle, Square, 5-Star, or 3D Helix.
- Watch the real-time simulation interpolator render toolhead paths.
- 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.
- 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)
- In scaraemu, click the π Virtual Server: OFF toggle button on the top status bar.
- The button illuminates green and displays π Virtual Server: 8888, listening for incoming TCP client connections on
127.0.0.1:8888.
- In scarajectory, navigate to the Hardware Streamer tab and select
127.0.0.1:8888 (Digital Twin) from the Port dropdown.
- Click Connect in scarajectory.
- 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
- Navigate to the Trajectories tab in scaraemu.
- Select any program from the SCARA DSL Script dropdown (12 industrial demo programs included).
- Or click π Load to browse and open any custom
.scara or JSON trajectory plan.
π Docs

More documentation and info at
π₯ Contributing
Contributing to scaraemu
π Copyright and licence

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.

