Field-tested notes on robotics safety, ROS 2, embedded AI, AI agents, SaaS architecture and the practical systems that connect software to real-world outcomes.

The engineering workbench

Robotics & AI Engineering Resources

Find runnable Python examples, ROS 2 fixtures, engineering calculators and decision worksheets. Each resource states its expected output, environment and validation limits.

12 resources4 topics3 browser tools

TRY IT IN YOUR BROWSER

Start with a calculation.

No installation. No account.

THE FULL COLLECTION

Find your next building block.

Code, calculators & practical checks.

12 resources

Hardware interfaces · Worksheet + calculator

Robot communication bus selection

Compare CAN, UART, I2C and SPI by wiring, traffic and failure behavior. Calculate UART 8N1 utilization and serialization time.

Result
A comparison matrix and an interface decision record.

Explore resource

Setup, limits & downloads
Environment
Browser; CSV and Markdown downloads.
Validation
Analytical traffic budget. Cable behavior, queueing and fault recovery need hardware measurements.

Hardware interfaces · Read-only diagnostic

Jetson UART device diagnostics

Inspect a serial-device candidate's metadata before attempting communication. Replay missing permissions, console ownership, incomplete metadata and an absent device.

Result
A diagnostic report and four reproducible demonstration cases.

Explore resource

Setup, limits & downloads
Environment
Python 3.9+ standard library. Optional Linux inspection reads metadata without opening the serial port.
Validation
Synthetic cases only. The report cannot establish pinout, voltage, pinmux, wiring, exclusive access or successful RX/TX.

ROS 2 & perception · Calculator

Sensor-to-actuator latency budget

Allocate sampling, transport, inference and actuation time. Compare observations with stage allocations and export your budget.

Result
A sequential timing budget, remaining headroom and browser-generated CSV.

Explore resource

Setup, limits & downloads
Environment
Browser; no ROS installation required.
Validation
Arithmetic consistency only. Separate stage maxima do not prove an end-to-end deadline.

Control & estimation · Calculator

Two-link arm inverse kinematics

Choose two link lengths and a planar target. Inspect the elbow configurations and check the endpoint using forward kinematics.

Result
Joint angles, a reachability check and an arm drawing.

Explore resource

Setup, limits & downloads
Environment
Browser; worked equations accompany the interactive tool.
Validation
Ideal planar geometry. Joint limits, collisions, tool orientation and dynamics are outside the model.

Control & estimation · Python example

Capture point and response delay

Calculate how a delayed response moves the capture point in a one-dimensional, constant-height inverted-pendulum model.

Result
Capture-point values, JSON output and a delay plot.

Explore resource

Setup, limits & downloads
Environment
Python standard library; no robot or simulator required.
Validation
Local analytical checks and an independent RK4 integration. This is a simplified model, not a balance controller.

Control & estimation · Python experiment

Sensor fusion with a timing fault

Replay synthetic gyro and encoder measurements. Compare yaw estimates when a delayed sample is aligned correctly or fused at the wrong time.

Result
Replayable CSV data, error metrics and a yaw-error plot.

Explore resource

Setup, limits & downloads
Environment
Python standard library; deterministic synthetic inputs.
Validation
Local replay checks on a yaw-only model. No ROS, visual-inertial odometry or physical sensor validation.

ROS 2 & perception · Read-only diagnostic

Isaac ROS compatibility inventory

Record OS, architecture, board model, L4T and ROS distribution while keeping host evidence separate from container evidence.

Result
An inventory report and a worked host/container mismatch.

Explore resource

Setup, limits & downloads
Environment
Python 3.9+ standard library. Demo fixtures need no Jetson, ROS or Docker installation.
Validation
A narrow release-3.2 prerequisite profile with synthetic checks. Runtime readiness remains untested; an unrecognized version does not mean unsupported.

ROS 2 & perception · Geometry fixture

Camera projection and optical frames

Check known image projections and optical-to-base transforms before connecting a camera pipeline to the rest of the robot.

Result
Known-answer geometry checks and a deliberate principal-point error.

Explore resource

Setup, limits & downloads
Environment
Python 3.9+ standard library; no camera or ROS runtime required.
Validation
Synthetic undistorted correspondences. The fixture checks geometry; it does not fit a real camera calibration.

ROS 2 & perception · Example package

ROS 2 command guard architecture

Inspect a source → guard → observer pipeline with explicit command admission rules and a documented interface contract.

Result
An example ROS 2 package, policy scenarios and expected policy results.

Explore resource

Setup, limits & downloads
Environment
Local Python policy checks; documented ROS 2 Jazzy / Ubuntu 24.04 runtime procedure.
Validation
Policy and package-structure checks run locally. ROS runtime and hardware behavior have not been verified.

Control & estimation · Python simulation

PID and MPC on the same plant

Compare two controllers on one scalar double-integrator plant with shared actuator limits, a reference trajectory and an unmeasured disturbance.

Result
A replayable scenario, response curves and tracking metrics.

Explore resource

Setup, limits & downloads
Environment
Python 3.9+ standard library; deterministic simulation.
Validation
Local checks include replay and solver convergence. Results do not establish real-time performance or the best possible tuning.

Hardware interfaces · Python fault tests

Bounded UART packet recovery

Exercise a receiver against corrupt bytes, missing delimiters, fragmented packets and expired assembly deadlines. Check when valid packets can be emitted again.

Result
A bounded parser, repeatable fault cases and a test receipt.

Explore resource

Setup, limits & downloads
Environment
Python 3 standard library; save both files together.
Validation
Synthetic byte streams and explicit clock inputs. No physical UART measurements or motion-command safety claim.

Enterprise AI · Offline Python lab

Enterprise AI tool contracts

Test permissions, tenant boundaries, approval binding and duplicate requests against a fake CRM operation before designing a production tool gateway.

Result
An executable contract example, denial cases and idempotent replay checks.

Explore resource

Setup, limits & downloads
Environment
Python standard library; in-memory records, no credentials or network access.
Validation
Local checks include concurrent duplicates. Process-local state is not a distributed production transaction design.

How to use this collection

Start with the engineering question you need to resolve: a timing allocation, a parser recovery rule, a coordinate transform or an agent's permission to act. These resources accompany the blog's worked examples. Each entry tells you what you can obtain locally and what still needs validation in your own system.

Browser tools need no account. Python examples include source and instructions; their local checks do not establish behavior on a physical robot or production service.

Run, inspect, then adapt

Read each example’s assumptions and instructions before running it. Keep the input, expected result and test command with your experiment; then record the configuration and observations from your own system. A passing model or policy check supports that specific claim, not the full deployment.

The balance, sensor-fusion, camera-geometry, ROS 2 architecture and PID/MPC examples also have versioned source in the Robotics Engineering Examples repository. Consult its README for the validation scope and license.

For a guided reading order, continue with Robotics Architecture & Safety, Jetson & ROS 2 Engineering or Enterprise AI Architecture & Governance.