Skip to main content

A toolkit for Google-Cartographer tuning.

Project description

Cartographer Tuner

Helper package for Cartographer tuning.

Installation

pip install cartographer-tuner

PGM Map metrics

The tool implements metrics presented in 2D SLAM Quality Evaluation Methods.

Example

  • pgm-corner-count /path/tp/map.pgm
  • pgm-occupied-proportion /path/to/map.pgm
  • pgm-enclosed-areas /path/to/map.pgm

Map building

The tool may build 2D map out of rosbag file via cartographer.

Note: rosbag file must contain topics named according to cartographer requirements: /imu, /scan, etc

Example:

lua-to-pgm \
    --bag_filename=/data/bags/2011-01-28-06-37-23 \
    --configuration_directory=/opt/ros/humble/share/cartographer_ros/configuration_files \
    --configuration_basenames=mit_stata.lua \
    --map_filestem=/data/maps/2011-01-28-06-37-23_test 

Configuration evaluation

One can combine map building and evaluation in one step.

Example:

lua-pgm-metrics \
    --bag_filename=/data/bags/2011-01-28-06-37-23 \
    --config_dir=/opt/ros/humble/share/cartographer_ros/configuration_files \
    --config_basename=mit_stata.lua

System Requirements

This package requires the following external tools to be installed (for some functionality):

  • cartographer - Google Cartographer SLAM library
  • cartographer_ros - ROS 2 integration for Cartographer
  • rviz - ROS2 integration for RViz

Dependecy installation:

sudo apt-get install \
    ros-${ROS_DISTRO}-cartographer-ros \
    ros-${ROS_DISTRO}-cartographer \
    ros-${ROS_DISTRO}-cartographer-rviz

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cartographer_tuner-0.1.1.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cartographer_tuner-0.1.1-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

Details for the file cartographer_tuner-0.1.1.tar.gz.

File metadata

  • Download URL: cartographer_tuner-0.1.1.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.7 Linux/6.1.119-1-MANJARO

File hashes

Hashes for cartographer_tuner-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5c19fe0961ea231cb07551d46d7c1d79348342d4c71a544d490886d089191eda
MD5 3b89dfb1ae70f997dd01437082945eae
BLAKE2b-256 732d89918f235c4494d631fa21b4dd655fdad3c54a7dad8324438f17f56a143b

See more details on using hashes here.

File details

Details for the file cartographer_tuner-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cartographer_tuner-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 27.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.7 Linux/6.1.119-1-MANJARO

File hashes

Hashes for cartographer_tuner-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8bcff3c536a9e67e4d0c5137a0ceaeb3bbbd228c1b6f601effd7b4f324489b53
MD5 d9c96b174988b47f8e488e9ab3d53929
BLAKE2b-256 788f3816cc1d72d9cd29e2023273e38dbb75314b58679373ac8287c551e1b4df

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page