~ / projects /

Viewpoint Simulation for Coverage Planning

Coverage viewpoint planning asks where to put a scanner so that a handful of measurements see all of a part. Evaluating an answer on real hardware is slow (fixture the part, move the scanner, register the clouds, repeat) and gets slower the more strategies you want to compare. This package runs the same loop in simulation, so a planner can be measured against an arbitrary mesh in minutes.

A point cloud of a part's surface built from several overlapping scans, each scan shown in a different color from purple to yellow.
Scans from several planned viewpoints, registered into a single surface; each color is one capture.

What it does

The package spawns a structured light sensor, modeled on the Zivid 2+ with a URDF and the Gazebo plugins needed for depth and color capture, at any pose in a scene, and returns what it sees from there. A planner drives it through ROS services: load a target mesh, set a pose, capture.

Each capture publishes two point clouds: the surface just measured, and the running union of everything measured so far. The second is the useful one, because accumulated coverage is the quantity a viewpoint planner is trying to maximize. TF frames are managed throughout, so the clouds arrive already registered rather than needing alignment afterwards.

Gazebo scene with a white Stanford bunny on a grey ground plane and a small blue sensor model floating above and to its right.
In Gazebo: the Stanford bunny as the target, with the simulated Zivid 2+ above it.
RViz view of the bunny as a rainbow-colored point cloud on a red ground cloud, with the sensor's coordinate frame drawn above it.
In RViz: the accumulated point cloud and the sensor frame.

Why it exists

Coverage planning research tends to be evaluated on whatever part the authors had to hand, which makes results hard to compare. Swapping the target here means dropping a new mesh into the models directory, so the same planner can be run against a simple convex shape and an awkward one with deep concavities, and the difference attributed to the part rather than the setup.

The package underpins my work on learning-based coverage viewpoint planning at CERLAB, and the same questions of where to look next run through our IROS 2026 paper on continuous view planning.

  • Inspection
  • Planning
  • Simulation