tf_remap command not found

In this troubleshooting guide we learn how to fix tf_remap command not found error message

Introduction

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

tf_remap: command not found

or when using sudo you get the following error message

sudo: tf_remap: command not found

Solutions to tf_remap: command not found

How To Fix tf_remap: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tf_remap is provided by tf-tools package.

tf-tools is:

This package is part of Robot OS (ROS), and contains transform library tools. Although tf is mainly a code library meant to be used within ROS nodes, it comes with a large set of command-line tools that assist in the debugging and creation of tf coordinate frames. These tools include: static_transform_publisher, tf_change_notifier, tf_echo, tf_empty_listener tf_monitor, tf_remap and view_frames_tf

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

sudo apt-get -y install tf-tools

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

You can also use apt command to install tf-tools.

sudo apt -y install tf-tools

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

sudo aptitude install tf-tools

Summary

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