Try the Example Project

You end with metal rings found in a recorded point cloud and the robot’s best grip shown in the 3D scene - without a camera, robot or PLC. It takes about 15 minutes.

You use the example project metal-rings (see Example Projects). Its camera is a simulated camera that replays a recording, so you need no simulation option.

Before you start
  • LumiScan VGR 2.0.0 or later is installed (see Installation).

  • A HALCON licence is installed: the rings are found by 3D object matching, which uses HALCON.

1. Unpack the project

  1. Download lumiscan-vgr-example-metal-rings-v2.0.0.zip.

  2. Unpack it into a folder you can write to, for example C:\LumiScan\examples.

Done when C:\LumiScan\examples\lumiscan-vgr-example-metal-rings\settings.json exists.

2. Start LumiScan VGR with the project

  1. Start LumiScan VGR from the Windows Start menu.

  2. In the Start Menu window, click Load and select settings.json of the project.

  3. Leave the options for camera simulation and PLC simulation off: the project’s camera is simulated already, and the project talks OPC UA, not PROFINET.

  4. Click Start.

Done when the main window opens with the Image tab.

3. Switch to admin mode and manual mode

  1. Press Ctrl + Shift + A. The Admin Controls and the Scene tab appear.

  2. Click Manual Mode (M1).

Done when the buttons under Admin Controls can be clicked (see User Interface Elements and Shortcuts).

4. Select the recipe and set up

  1. Under Active Recipe (A16), select pick-ring. This selects the camera camera, the pipeline match-ring and the robot robot.

  2. Click Setup (A6). LumiScan VGR opens the camera, loads the ring’s model and prepares the robots.

Done when the status shows no error code (see Return Codes).

5. Capture an image

Click Capture Image (A7).

Done when the Image tab shows a bin with metal rings, seen from above.

6. Find the rings

  1. Click Analyze Image (A8). The 2D step passes the ROI of the pipeline on; this project uses no neural network.

  2. Click Compute Orientation (A10). LumiScan VGR matches the ring’s CAD model against the point cloud.

  3. Open the Scene tab. Under Reference Frame (Sc2), select Robot; under Object (Sc4), switch on Mesh and Bounding Box.

Done when ring models sit on rings of the point cloud in the Scene tab.

7. Show the best grip

  1. Click Show Best Grip (A11).

  2. Under Robot (Sc5), switch on Visualization Meshes and Static Geometries.

Done when the robot is shown at the ring it would pick first, next to the bin.

8. Simulate the grip

  1. Click Simulate Grip (A12).

  2. Under Robot (Sc5), switch on Animate.

Done when the robot moves along its path to the ring and back, and the picked ring’s box is gone from the Image tab.

What you did

You ran one production cycle by hand: setup, capture, 2D, 3D, best grip. A PLC or an OPC UA client runs the same cycle in automatic mode with one call: the recipe pick-ring.

Next steps