All work

H.E.A.D

A bolt-on autonomy brain for small ground robots

Dark node-graph view of the H.E.A.D system: sources, perception, agent and sink nodes joined by coloured data-flow lines

The problem

Small ground robots usually ship as a chassis and a motor board. Giving one depth sensing, obstacle mapping, person following and safe stopping means wiring together cameras, LIDAR, neural networks and motor drivers that were never meant to work as one system.

I wanted a single module that could sit on top of any rover, take in its sensors, and hand back safe drive commands, while staying easy to rewire as new sensors and behaviours were added.

What I built

  1. Built the whole system as a graph of small nodes: sources (camera, LIDAR, gamepad, browser), transforms (depth refinement, voxel grid, costmap, detection, fusion), an agent, and sinks (motor control, data capture, logging). One config file wires the graph.
  2. A Node.js runtime starts and connects the nodes; the heavy perception and learning nodes run as Python processes, so each part uses the language that suits it.
  3. The driving policy is a small CNN encoder plus a GRU memory that turns a short stack of depth frames into a heading, urgency and confidence.
  4. The neural network only proposes. A rule-based safety validator checks every command against hard limits (emergency stop near obstacles, speed caps, no turning into occupied space) and can override it.
  5. Wrote my own interactive node-graph viewer so the architecture can be explored, clicked through and explained, down to the layers inside the policy network.

What it does

Built with Node.js, Python, PyTorch, Socket.IO, Three.js, Own NodeFlow graph viewer, 2025.