ptg-configurator command not found

In this troubleshooting guide we learn how to fix ptg-configurator command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ptg-configurator: command not found

or when using sudo you get the following error message

sudo: ptg-configurator: command not found

Solutions to ptg-configurator: command not found

How To Fix ptg-configurator: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ptg-configurator is provided by mrpt-apps package.

mrpt-apps is:

The Mobile Robot Programming Toolkit (MRPT) is an extensive, cross-platform, and open source C++ library aimed to help robotics researchers to design and implement algorithms in the fields of Simultaneous Localization and Mapping (SLAM), computer vision, and motion planning (obstacle avoidance).

This package provides a set of console and GUI applications:

  • rawlog-grabber: Record datasets from robotic sensors.
  • RawLogViewer: Robotic dataset viewer and manipulator.
  • ReactiveNavigationDemo: Obstacle avoidance GUI demo.
  • SceneViewer3D: GUI viewer of MRPT 3D scenes.
  • camera-calib: Interactive camera calibration tool.
  • icp-slam
  • kf-slam
  • graph-slam
  • 2d-slam-demo: GUI didactic robotic SLAM demo.
  • map-partition
  • observations2map: Converts simplemaps into metric maps.
  • pf-localization: Particle filter localization (Monte Carlo localization).
  • ro-localization
  • rbpf-slam: Rao-Blackwellized Particle Filter for SLAM.
  • simul-landmarks
  • simul-beacons
  • simul-gridmap
  • GridmapNavSimul
  • grid-matching
  • rawlog-edit
  • navlog-viewer: GUI viewer of navigation logs.
  • features-matching: Computer vision demo.
  • kinect-icp-slam: Example 3D mapping with Xbox Kinect
  • kinect-view: Example 3D mapping with Xbox Kinect
  • robotic-arm-kinematics: GUI for design of robot arms with Denavit-Hartenberg parameters.
  • velodyne-view: Live display/grabbing of Velodyne scanners.
  • rosbag2rawlog: Convert a ROS bag dataset into an MRPT Rawlog file.
  • 3d-rotation-converter: A GUI tool to convert between different SO(3) rotation parameterizations (quaternions, Euler angles, etc.)

To fix this problem, we can install more using the command below.

sudo apt-get -y install mrpt-apps

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mrpt-apps.

sudo apt -y install mrpt-apps

Or if you have aptitude installed you can use the following command.

sudo aptitude install mrpt-apps

Summary

In this tutorial we learn how to fix ptg-configurator command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.