Save and Load Vision Records

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

The saved vision records can be used to reproduce the bugs in the simulated project or in real project on site.

When an error occurs in Mech-Viz, the Vision records can run a Mech-Viz project without running the corresponding Mech-Vision project to track and fix the bugs based on the data received.

Save Vision Records

  1. Go to the menu bar in Mech-Viz and then select Tools  Set Vision Records to open the Set Vision Records window.

  2. Vision records can be saved as Pose info only or Pose info and Pcl (point clouds).

    • Save poses only: Select Pose info.

    • Save poses and point clouds: Select Pose info, and then select Pcl.

  3. You can modify Expired according to the actual requirement, the saved vision records will be deleted after the expiration time.

  4. You can modify Save path according to the actual requirement. Click Choose and choose vision records path. Only the vision_records folder can be selected.

  5. Click OK.

  6. Simulate or run the project.

  • The poses and point clouds will be stored in vision_recordsMech-Vision project namerunning date of the project in the installation directory of Mech-Vision.

  • In a scenario where point clouds are required, the point cloud file will be saved every time an image was captured. The size of the point cloud files are large and they will take up memory. Therefore, it is recommended to check Pcl during testing, and uncheck it after the project starts to run stably. Besides the vision_records folder, please save the corresponding Mech-Viz project as well to utilize the vision records and reproduce the bug.

Load Vision Records

  1. Open the Mech-Viz project. The Mech-Viz project encountered an error and the vision records have been saved.

  2. Make sure that Mech-Vision is not running or that the Mech-Vision project is not registered in Mech-Center, or else the Mech-Vision project will be utilized instead of the vision records.

  3. Save the vision records in the vision_records folder in the installation directory of Mech-Viz. You can go to File  Open Executable File in Explorer to locate the installation directory quickly.

  4. Click Tools and check Use Saved Vision Records (Only When Vision Service Not Registered).

  5. Click Simulate. Mech-Viz will check whether there is any saved vision records in the vision_records folder, and a Set Vision Records window will pop up.

    vision records back
  6. Select the vision record you would like to use and click OK, Mech-Viz will reproduce the condition based on the current record.

Besides, if Auto use next record is not checked, the selected vision record will be used repeatedly. If this option is checked, the vision records will be automatically used one after another from the selected vision record, and the project will be stopped when the last vision record is used.

After using vision records to reproduce the condition, please make sure to UNCHECK Use Saved Vision Records (Only When Vision Service Not Registered) to avoid errors.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.