Skip to main content

embodiment

Version: v1.3.0 | Status: Active | Last Updated: July 2026

Overview​

The embodiment module provides local simulated hardware interfaces used by tests and demos: telemetry parsing, a WebSocket bridge, simulated sensors and actuators, an in-process ROS-style pub/sub bridge, and 3D vector transforms.

Key Components​

ComponentFilePurpose
SensorPayload / TelemetryStreamtelemetry.pyParse and retain latest sensor readings by node
EmbodimentBridgebridge.pyWebSocket telemetry ingress and actuator command egress
SimulatedSensorsensors/base.pyDeterministic sensor readings
SimulatedActuatoractuators/base.pyDeterministic actuator command lifecycle
ROS2Bridgeros/ros_bridge.pyIn-process topic history, latching, subscribe, publish, and simulation
Vec3 / Transform3Dtransformation/transformation.pyVector math and Euler transform composition

Validation​

uv run pytest tests/unit/embodiment/ -q
uv run ruff check src/codomyrmex/embodiment
uv run ty check --output-format concise src/codomyrmex/embodiment