Skip to main content

Curated Examples

Reference, not tutorial

This page is a catalog, not the main teaching path. If you are learning the SDK for the first time, start with the tutorial summary and come back here when you need a known-good script to copy.

The primary example catalog lives in python/examples/. These are the scripts new users should copy from when integrating a robot into HORUS.

The paired fake runtimes may still live under python/examples/legacy/, but they are supporting tools, not the main SDK surface.

Core registration workflows

ScriptUse whenPair with
ops_registration.pyyou want the standard wheeled fleet workflowpython/examples/legacy/fake_tf_ops_suite.py
flat_robot_registration.pyyour robot graph is flat, not namespacedpython/examples/legacy/fake_tf_single_flat.py
drone_registration.pyyou need drone Take Off / Land behaviorpython/examples/legacy/fake_tf_drone_ops_suite.py
legged_registration.pyyou need legged Stand Up / Sit Down behaviorpython/examples/legacy/fake_tf_legged_ops_suite.py
stereo_registration.pyyou want minimap mono plus teleop stereo transportpython/examples/legacy/fake_stereo_camera_multi.py
semantic_perception_registration.pyyou want default-visible semantic boxes in the workspacepython/examples/legacy/fake_tf_ops_suite.py

Robot description and map workflows

ScriptUse whenPair with
robot_description_registration.pyyou want URDF-backed robot bodiespython/examples/legacy/fake_tf_robot_description_suite.py --robot-profile real_models
occupancy_map_registration.pyyou want a 2D occupancy layersame robot-description runtime with --publish-occupancy-grid
pointcloud_map_registration.pyyou want a global PointCloud2 layersame robot-description runtime with --map-3d-mode pointcloud
mesh_map_registration.pyyou want a dense mesh layersame robot-description runtime with --map-3d-mode mesh
octomap_registration.pyyou want the octomap-style mesh pathsame robot-description runtime with --map-3d-mode octomap
global_maps_registration.pyyou want one registration that carries all map families togetherdedicated validation only

Live robot workflows

ScriptUse whenNotes
carter_registration.pyyou are integrating a live Carter fleetincludes occupancy map, lidar, compressed cameras, plans, and teleop
unitree_go1_registration.pyyou are integrating a live Unitree Go1includes URDF mesh, compressed front camera, LaserScan, collision alert, and stand/sit relay

Start here in order:

  1. ops_registration.py
  2. flat_robot_registration.py
  3. robot_description_registration.py
  4. the map showcase registrations
  5. live Carter or Unitree only after the first three are stable

Where legacy still matters

The legacy example folder is still valuable for:

  • fake runtimes that simulate topics and command subscribers
  • advanced validation variants
  • historical workflows that are not the primary onboarding path anymore

Use the root examples first. Drop into python/examples/legacy/ only when you need a paired simulator or a deeper diagnostic flow.