Bridge Crack-Inspection Arm — reBot B601-DM
Senior-design bridge crack-inspection arm: 7-motor CAN bring-up at 200 Hz, gravity/friction feed-forward identified on the real hardware, guarded first trajectories, and a zero-shot crack-segmentation pipeline.
- Make a real 6+1-DoF arm hold and track poses accurately under load so it can scan crack surfaces, with safety guards strong enough to iterate on physical hardware.
- Physical arm bring-up + controller identification and tuning + guarded motion + inspection perception pipeline
- This is the project where model error met measurement: the URDF under-predicted the elbow gravity load by 2.4×, and closing that gap with identified feed-forward is what made accurate holds possible.
Who did what
- Sole owner of the arm — bring-up, control, kinematics/IK, planning, tuning, and vision integration
- Dr. Yiyan Li, Fort Lewis College
- Two-person senior-design team; my teammate is building a second arm from scratch, so the arm (bring-up, control, kinematics/IK, planning, tuning, vision integration) is mine. Crack-segmentation weights are upstream work, credited.
- reBot B601-DM arm and vendor SDK, OpenCrack nnU-Net weights (used as released), RealSense D405, USB–CAN bridge.

Overview
The reBot B601-DM is a 6+1-DoF arm being developed into a bridge crack-inspection system as a two-person senior-design project; my teammate is building a second arm from scratch and has not worked on this arm, so all work on this arm is mine. I brought up all seven motors over CAN in MIT mode at a 200 Hz control rate (per-motor setpoint, stiffness/damping gains, and feed-forward torque), measured the elbow's real gravity load at 6.6 N·m against the URDF's 2.7 N·m prediction, and identified gravity and friction feed-forward on the hardware: post-tuning holds cut loaded-joint error from 0.04–0.05 rad to ≤ 0.005 rad across a 41-run logged campaign (28 completed; aborted and refused runs are logged too). The first guarded trajectory ran on the physical arm on 2026-10-22, tracking within 0.023 rad with no guard fault; a visible 3.3 Hz shoulder/elbow wobble was traced to low damping and roughly halved by raising derivative gain. On the perception side, a wrist RealSense D405 streams into zero-shot OpenCrack/nnU-Net segmentation (weights used as released), producing crack masks about 17 times a second and offline trace-path demos. No detection accuracy on real imagery is claimed yet.
Methodology
- Identify before tuning: measure the real gravity/friction loads, inject them as feed-forward, then tune gains against logged hold and tracking error rather than by feel.
- Log everything: the 41-run campaign records completed, aborted, refused, and read-only runs with raw logs committed as evidence.
- Guarded escalation: simulation rehearsal first, then operator-attended guarded runs with hard clamps and a startup position check.
A wrist RGB-D camera feeds zero-shot crack segmentation; masks become trace paths, which the DLS IK and minimum-jerk planner turn into joint trajectories. Every command passes the arm_guard safety filter before the 200 Hz CAN loop drives the motors.
- D405 RGB-D stream
- Zero-shot crack mask (nnU-Net)
- Trace-path planning
- DLS IK + minimum-jerk trajectories
- arm_guard safety filter
- 200 Hz CAN motor loop






My contribution
- Brought up all 7 motors over a USB–CAN bridge in MIT mode with a 200 Hz loop streaming setpoint, stiffness/damping gains, and feed-forward torque per motor.
- Measured the elbow gravity load (6.6 N·m vs the URDF's 2.7 N·m) and identified gravity plus friction feed-forward on the real arm, cutting loaded-joint hold error to ≤ 0.005 rad in post-tuning holds.
- Built the analytic 6×6 Jacobian, damped-least-squares IK with multi-start seeding, and a minimum-jerk trajectory planner; root-caused a gripper-axis frame error (+X, not +Z).
- Put every motor command behind arm_guard, a last-line safety filter with a startup position check, before running the first guarded trajectory (2026-10-22, within 0.023 rad, no guard fault).
- Connected the wrist D405 and ran the zero-shot crack-segmentation pipeline live at ~17 Hz, with capture, overlay, and offline trace-path demo tooling.
Provenance & claim boundary
- Two-person senior-design team; my teammate is building a second arm from scratch, so all work on this arm is mine.
- I designed the system (the control architecture, how the ROS 2 nodes connect, and the safety gating). All hardware work is mine: motor bring-up, the torque test that found the URDF's gravity error, the gain and feed-forward decisions, and every physical run, with raw logs committed.
- Crack segmentation uses the OpenCrack nnU-Net weights exactly as released — no training is claimed; the arm, SDK, and camera are vendor systems.
Results & evidence
Evidence
Tuning campaign
attachedCONTROLLER_TUNING.md write-up with raw logs: 41 logged runs (28 completed), gravity measurement, and per-joint post-tuning holds.
First guarded run
attached2026-10-22 evidence directory: tracking within 0.023 rad, wobble diagnosis plots, and the kd comparison.
Vision pipeline
attachedLive D405 capture, ~17 Hz crack masks, and offline trace-path demos with overlays.
Test suite
attachedOffline unit/integration/contract tests (725 passed, 26 skipped on a CPU-only machine, 2026-11-09).
Metrics
≤ 0.005 rad
6.6 vs 2.7 N·m
200 Hz
41
Failure analysis
- A 3.3 Hz shoulder/elbow wobble in the first guarded run was traced to low damping; raising derivative gain cut it roughly in half.
- The URDF's elbow gravity prediction was 2.4× low; uncorrected, holds drifted 0.04–0.05 rad under load.
- A gripper-axis frame error (+X instead of +Z) was root-caused in the kinematic chain before it could corrupt tool-pose targets.
Limitations
- Operator-attended development runs, not commissioning: camera extrinsics, tool tip, workcell, and joint limits are still vendor-nominal values.
- No quantitative crack-detection metric on real imagery is claimed; the segmentation weights are zero-shot upstream work.
- The ≤ 0.005 rad figure describes post-tuning holds, not every run in the 41-run campaign.
Lessons & tradeoffs
- Feed-forward identified from measurements beats gain-cranking: most of the hold error was unmodeled gravity and friction, not controller weakness.
- Safety filters are what make hardware iteration fast — the guard let tuning proceed without risking the arm.
- A frame-convention error can look like a control bug; checking the kinematic chain first saved the tool-pose work.
Next questions
- Hand-eye calibration and measured joint limits ahead of gated commissioning (the current camera extrinsic and limits are vendor-nominal).
- A quantitative held-out evaluation of crack segmentation on real D405 imagery, per the repository's test plan.
- Planned extensions: MPC and corrections learned from data on top of the identified feed-forward.