Hello, I tried to install hector_quadrotor package from source, but I got the following error:
straight dump of the error message:
-- Could not find the required component 'hardware_interface'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"hardware_interface" with any of the following names:
hardware_interfaceConfig.cmake
hardware_interface-config.cmake
Add the installation prefix of "hardware_interface" to CMAKE_PREFIX_PATH or
set "hardware_interface_DIR" to a directory containing one of the above
files. If "hardware_interface" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
hector_quadrotor/hector_quadrotor_controller/CMakeLists.txt:7 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/uha/hector_quadrotor_tutorial/build/CMakeFiles/CMakeOutput.log".
See also "/home/uha/hector_quadrotor_tutorial/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
Did you follow the correct procedure for building packages from source? See #q252478 for an example workflow (especially installation of dependencies).
sudo apt-get install ros-kinetic-hardware-interface
will solve your problem. But always, follow the procedure that gvdhoorn mentioned, it is the same for every ROS package and you will face no difficulties with it