/ad-r1m:ad-r1m-slam-integrationfrom ad-r1m
Evaluates ROS 2 SLAM packages (ORB-SLAM3, MOLA, KISS-ICP, slam_toolbox, a GitHub repo, ...) against the AD-R1M's hardware from live robot and repository evidence, then installs the chosen one in the robot's SLAM container and integrates it with a generated launch file. Use when the user asks which SLAM package fits the AD-R1M, wants a new or custom SLAM package on it, or setup_workspace reports unresolved dependencies. For running or tuning the tested RTAB-Map setup use ad-r1m-robot.
Ships in ad-r1m. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The robot must be connected and ready (ad-r1m-bringup). Ask the user before installing or
deploying anything on the robot.
You do the scoring; nothing is precomputed.
package_evidence: omit packages for the whole catalog (catalog.json), or pass names
(aliases work: "ORB-SLAM3", "MOLA") and {name, repo} for any git repository.repo.cuda, CUDA in notableDeps, README mentions.repo.rosPackages.buildTypes (ament_* = ROS 2, catkin = ROS 1).onRobot.aptBinaries ("" = no binary for this robot) and distroBranches.messageTypesInCode, launch files and README against robot.capabilities.
robot.synthetic marks derived, weaker inputs (the AD-R1M's /scan comes from the ToF
depth image).lastCommit, archived, tags.compatible=false on a hard blocker: CUDA needed but robot.cuda false, no ROS 2, a
required sensor missing.fieldNotes and robotTemplates come from running on this robot and outweigh general
claims; notes are general background.About the evidence:
robot comes from one SSH probe. live: false, or an unreachable robot, falls back to
ROBOT_SPEC.md (robot.note says so).repo is read from a local sparse clone in ~/.cache/ad-r1m-slam/repos, cloned once;
refresh: true pulls the latest commit. Stars, archived and license need the GitHub API
(60 requests/h without GITHUB_TOKEN); warnings says what could not be fetched.research lists matching lines from the robot's research docs, with file:line.SLAM packages run in the slam_workspace container, not in the robot's own containers, and the
robot's own slam compose profile (slam_toolbox via ad_r1m_navigation) is a separate thing
this does not touch.
setup_workspace package=<ROS package> [repo=<git URL>]:
<robot image>:robot-slam when it exists, else the stock robot image
(docker.cloudsmith.io/adi/adrd-common/ad-r1m:robot-humble). A slam_workspace from another
image is recreated (containerState).slam_integration package (package.xml depends on the SLAM package) and runs
rosdep on it only - the robot's own packages pull gazebo deps that don't exist on arm64.
rosdep and colcon are installed first if the image has none (the runner image has neither).ros-humble-<name with dashes>.repo given: shallow clone with submodules into /ros2_ws/src, rosdep
its dependencies, colcon build --packages-up-to the packages the repo contains (their names
can differ from the repo name: ORB_SLAM3_ROS2 ships orbslam3).ready: true only when the package itself is installed. The container is then committed
back to robot-slam (committedImage), so packages accumulate and later setups only install
what is new (about a minute).Reading the result:
| Result | Why | Fix |
|---|---|---|
ready: false, no repo given | Not in rosdep and no Debian binary | Pass repo (from package_evidence or the catalog) |
notBuilt / buildLog | Source build failed | Read buildLog; often a missing system library or x86-only flags |
unresolvedKeys | rosdep keys with no rule and no ros-humble-* binary | Usually system libraries; install them in the container or patch the package.xml |
rosdep: unavailable | No apt access in the container | Check the robot's network |
| "robot image ... is not on the robot" | No robot-slam and no stock image | ad-r1m-bringup: provision_robot docker_image=true or build_robot_image |
package '<x>' not found at launch | The launch file uses a package setup never installed | setup_workspace with the package name the launch file uses |
Delete robot-slam on the robot (docker rmi) to start again from the stock image.
ros2_query kind=topics) and the tested templates in
${CLAUDE_SKILL_DIR}/../ad-r1m-robot/templates/ for this robot's topic remappings, the AB
image preprocessing and the Nav2 values. Robot facts: ad-r1m-robot skill (ROBOT_SPEC.md,
COMMON_FIXES.md). Never flip or rotate the ToF data.slam action=deploy launch_file=... helpers={...} params_yaml=...
(deployed as launch.py by default), then slam action=start template=deployed.diagnostics target=slam; on failure read logTail and the ad-r1m-robot skill's
COMMON_FIXES.md.User: "Which SLAM packages would work on my AD-R1M?"
package_evidencead-r1m-robot)User: "Could https://github.com// run on the robot?"
package_evidence packages=[{name, repo}]setup_workspace package=<ros_package> repo=<url>, then
write and deploy the launch filesetup_workspace package=orb_slam3_ros2 → ready: false (no rosdep rule, no binary)setup_workspace package=orb_slam3_ros2 repo=https://github.com/zang09/ORB_SLAM3_ROS2
builds it from source (package orbslam3)What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/ad-r1m-bringupBrings up an AD-R1M robot - flashes the ADI Kuiper SD card, provisions the robot with or without Cloudsmith credentials (building the robot image and system package from source when needed), connects to it, checks its health, and opens RViz on the user's PC with pixi or native ROS 2. Use when the user sets up a new or reflashed AD-R1M, connects to a robot, installs or rebuilds the robot image or system package, has no Cloudsmith credentials, or wants to see the robot in RViz./ad-r1m-robotRuns, tunes and troubleshoots the tested SLAM and Nav2 setup on an AD-R1M robot - RTAB-Map with the ADTF3175D ToF camera, Nav2 on /scan or the point cloud, wheel drive (CANopen) faults - and holds the robot's specs and research-backed RTAB-Map parameters. Use when the user wants to map, navigate, tune RTAB-Map or fix SLAM, TF, sensor or wheel problems on an AD-R1M. For choosing or integrating a different SLAM package use ad-r1m-slam-integration; for setup and connection use ad-r1m-bringup.Other plugins' skills for the same job
npx claudepluginhub analogdevicesinc/datax-collaterals --plugin ad-r1m