ut-ims-robotics / youbot

11 stars 9 forks source link

catkin_make: can't find keyboard_reader #2

Open iharsuvorau opened 5 years ago

iharsuvorau commented 5 years ago

At the end of the step 1 during catkin_make I receive an error about the missing package keyboard_reader.

$ catkin_make
Base path: /home/ihar/catkin_ws
Source space: /home/ihar/catkin_ws/src
Build space: /home/ihar/catkin_ws/build
Devel space: /home/ihar/catkin_ws/devel
Install space: /home/ihar/catkin_ws/install
####
#### Running command: "cmake /home/ihar/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/ihar/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/ihar/catkin_ws/install -G Unix Makefiles" in "/home/ihar/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/ihar/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/ihar/catkin_ws/devel;/opt/ros/kinetic
-- This workspace overlays: /home/ihar/catkin_ws/devel;/opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/ihar/catkin_ws/build/test_results
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.18
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 14 packages in topological order:
-- ~~  - youbot_arm_kinematics
-- ~~  - youbot_arm_kinematics_moveit
-- ~~  - youbot_description
-- ~~  - youbot_driver_ros_interface
-- ~~  - youbot_gazebo_control
-- ~~  - youbot_gazebo_robot
-- ~~  - youbot_gazebo_worlds
-- ~~  - youbot_manipulation (metapackage)
-- ~~  - youbot_manual_operation
-- ~~  - youbot_moveit
-- ~~  - youbot_navigation_common
-- ~~  - youbot_navigation_global
-- ~~  - youbot_navigation_local
-- ~~  - youbot_simulation (metapackage)
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'youbot_arm_kinematics'
-- ==> add_subdirectory(youbot/youbot_manipulation/youbot_arm_kinematics)
-- +++ processing catkin package: 'youbot_arm_kinematics_moveit'
-- ==> add_subdirectory(youbot/youbot_manipulation/youbot_arm_kinematics_moveit)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'youbot_description'
-- ==> add_subdirectory(youbot/youbot_description)
-- +++ processing catkin package: 'youbot_driver_ros_interface'
-- ==> add_subdirectory(youbot/youbot_driver_ros_interface)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   filesystem
--   system
--   chrono
--   atomic
-- +++ processing catkin package: 'youbot_gazebo_control'
-- ==> add_subdirectory(youbot/youbot_simulation/youbot_gazebo_control)
-- +++ processing catkin package: 'youbot_gazebo_robot'
-- ==> add_subdirectory(youbot/youbot_simulation/youbot_gazebo_robot)
-- +++ processing catkin package: 'youbot_gazebo_worlds'
-- ==> add_subdirectory(youbot/youbot_simulation/youbot_gazebo_worlds)
-- +++ processing catkin metapackage: 'youbot_manipulation'
-- ==> add_subdirectory(youbot/youbot_manipulation/youbot_manipulation)
-- +++ processing catkin package: 'youbot_manual_operation'
-- ==> add_subdirectory(youbot/youbot_manual_operation)
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by "keyboard_reader"
  with any of the following names:

    keyboard_readerConfig.cmake
    keyboard_reader-config.cmake

  Add the installation prefix of "keyboard_reader" to CMAKE_PREFIX_PATH or
  set "keyboard_reader_DIR" to a directory containing one of the above files.
  If "keyboard_reader" provides a separate development package or SDK, be
  sure it has been installed.
Call Stack (most recent call first):
  youbot/youbot_manual_operation/CMakeLists.txt:8 (find_package)

-- Could not find the required component 'keyboard_reader'. 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 "keyboard_reader"
  with any of the following names:

    keyboard_readerConfig.cmake
    keyboard_reader-config.cmake

  Add the installation prefix of "keyboard_reader" to CMAKE_PREFIX_PATH or
  set "keyboard_reader_DIR" to a directory containing one of the above files.
  If "keyboard_reader" provides a separate development package or SDK, be
  sure it has been installed.
Call Stack (most recent call first):
  youbot/youbot_manual_operation/CMakeLists.txt:8 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/ihar/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ihar/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
RValner commented 5 years ago

2 things: the instructions forgot to mention that you need joy (added to readme) and the second thing was unnecessary dependency on keyboard_teleop package. I did not remove the youbot_manual_operation package completely since it still has some useful features in it. Though in the long run all "utility" packages like youbot_manual_operation should be maintained in a separate repository, e.g., youbot_utils.