Skip to main content

Modules

A navigable index of every submodule shipped in the roboticks Python package. Each section links to the dedicated reference page.

roboticks.decorators

Source: decorators/__init__.py. Re-exported at the package root: from roboticks import confirms, tags, deadline, requires_sim. No rclpy dependency; importable on any host.

roboticks.assertions

Source: assertions/__init__.py. rclpy-aware wait-and-assert helpers. Importing this module on a host without rclpy raises a clear RuntimeError.

roboticks.fault_injection

Source: fault_injection/__init__.py. Context managers that manipulate the rclpy DDS layer for the duration of a with block. Requires rclpy at call time; importable without it.

roboticks.mcap_capture

Source: mcap_capture/__init__.py. Per-test MCAP recording. Requires the mcap extra (pip install 'roboticks[mcap]'). Re-exported at the package root: from roboticks import mcap_capture.

roboticks.launch_testing

Source: launch_testing/__init__.py. Thin wrappers around the standard ROS2 launch_testing module. See Launch testing for tutorial.

roboticks.pytest_plugin

Source: pytest_plugin/__init__.py. Pytest11 entry-point plugin. Loaded automatically by pytest. Not normally imported directly. See Pytest plugin.

roboticks.reporters

Source: reporters/__init__.py. Standalone JUnit writers and stitchers, useful when not running under pytest. Used by the C++ workflow and the colcon test --event-handlers roboticks+ integration.

roboticks.wire

Source: wire/__init__.py. Schema version and on-disk schema-file accessors. See Wire contract.

Importing patterns

The top-level package re-exports the things you’ll use most:
Submodule imports are for the rest:

Module dependency map

wire is the leaf — every other module reads SCHEMA_VERSION from it. Decorators are leaf-free (no rclpy, no MCAP). Everything else has a runtime dependency on rclpy or the mcap extra.

Next

Installation

pip install roboticks and [mcap] extra.

Decorators

The most-touched module.

C++ reference

The C++ counterpart.

Examples

End-to-end gallery.