Developer Guide

  • 2022.3
  • 10/25/2022
  • Public Content
Contents

FastMapping Algorithm

For more information on FastMapping, see How it Works.

Run the Sample Application

  1. Check if your installation has the amr-fastmapping Docker* image.
    docker images |grep amr-fastmapping #if you have it installed, the result is: amr-fastmapping
    If the image is not installed, continuing with these steps
    triggers a build that takes longer than an hour
    (sometimes, a lot longer depending on the system resources and internet connection).
  2. If the image is not installed, Intel recommends re-installing the EI for AMR Robot Kit with the Get Started Guide for Robots.
  3. Go to the
    AMR_containers
    folder:
    cd <edge_insights_for_amr_path>/Edge_Insights_for_Autonomous_Mobile_Robots_<version>/AMR_containers
  4. Prepare the environment setup:
    source ./01_docker_sdk_env/docker_compose/common/docker_compose.source export CONTAINER_BASE_PATH=`pwd` export ROS_DOMAIN_ID=17 # If the bags were not extracted before do it now unzip 01_docker_sdk_env/docker_compose/06_bags.zip -d 01_docker_sdk_env/docker_compose/ sudo chmod 0777 -R 01_docker_sdk_env/docker_compose/06_bags
  5. Run the FastMapping Algorithm using a bag of a robot spinning:
    CHOOSE_USER=eiforamr docker-compose -f 01_docker_sdk_env/docker_compose/05_tutorials/fastmapping.tutorial.yml up
    Expected output:
  6. To close this, do one of the following:
    • Type
      Ctrl-c
      in the terminal where you did the up command.
    • Run this command in another terminal:
    CHOOSE_USER=eiforamr docker-compose -f 01_docker_sdk_env/docker_compose/05_tutorials/fastmapping.tutorial.yml down

Troubleshooting

For general robot issues, go to: Troubleshooting for Robot Tutorials.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.