hans-robot / elfin_robot

ROS meta-package for Elfin robot
http://wiki.ros.org/Robots/Elfin
BSD 3-Clause "New" or "Revised" License
104 stars 59 forks source link

Lost package DIR #38

Open jimmyfu0729 opened 1 year ago

jimmyfu0729 commented 1 year ago

When I use catkin_make the error appeared and notice me that joint_trajectory_controller cannot be found, how can I solve this problem? -- ~~~~~~~~~~~~~ -- ~~ traversing 25 packages in topological order: -- ~~ - elfin10_l_moveit_config -- ~~ - elfin15_moveit_config -- ~~ - elfin5_l_moveit_config -- ~~ - elfin_robot (metapackage) -- ~~ - elfin_robot_bringup -- ~~ - elfin_robot_msgs -- ~~ - elfin_kinematic_solver -- ~~ - elfin_robot_servo -- ~~ - essential -- ~~ - elfin_hardware_interface -- ~~ - elfin_postrq_joint_trajectory_controller -- ~~ - elfin_posvel_joint_trajectory_controller -- ~~ - elfin_description -- ~~ - elfin10_moveit_config -- ~~ - elfin3_moveit_config -- ~~ - elfin5_moveit_config -- ~~ - elfin_ethercat_driver -- ~~ - elfin_ros_control -- ~~ - elfin_gazebo -- ~~ - elfin10_ikfast_plugin -- ~~ - elfin15_ikfast_plugin -- ~~ - elfin3_ikfast_plugin -- ~~ - elfin5_ikfast_plugin -- ~~ - elfin5_l_ikfast_plugin -- ~~ - elfin_basic_api -- ~~~~~~~~~~~~~ -- +++ processing catkin package: 'elfin10_l_moveit_config' -- ==> add_subdirectory(elfin_robot-melodic/elfin10_l_moveit_config) -- +++ processing catkin package: 'elfin15_moveit_config' -- ==> add_subdirectory(elfin_robot-melodic/elfin15_moveit_config) -- +++ processing catkin package: 'elfin5_l_moveit_config' -- ==> add_subdirectory(elfin_robot-melodic/elfin5_l_moveit_config/elfin5_l_moveit_config) -- +++ processing catkin metapackage: 'elfin_robot' -- ==> add_subdirectory(elfin_robot-melodic/elfin_robot) -- +++ processing catkin package: 'elfin_robot_bringup' -- ==> add_subdirectory(elfin_robot-melodic/elfin_robot_bringup) -- +++ processing catkin package: 'elfin_robot_msgs' -- ==> add_subdirectory(elfin_robot-melodic/elfin_robot_msgs) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- elfin_robot_msgs: 0 messages, 5 services -- +++ processing catkin package: 'elfin_kinematic_solver' -- ==> add_subdirectory(elfin_robot-melodic/elfin_kinematic_solver) -- +++ processing catkin package: 'elfin_robot_servo' -- ==> add_subdirectory(elfin_robot-melodic/elfin_robot_servo) -- +++ processing catkin package: 'essential' -- ==> add_subdirectory(essential) -- +++ processing catkin package: 'elfin_hardware_interface' -- ==> add_subdirectory(elfin_robot-melodic/elfin_hardware_interface) -- +++ processing catkin package: 'elfin_postrq_joint_trajectory_controller' -- ==> add_subdirectory(elfin_robot-melodic/elfin_postrq_joint_trajectory_controller) -- Could NOT find joint_trajectory_controller (missing: joint_trajectory_controller_DIR) -- Could not find the required component 'joint_trajectory_controller'. 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/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "joint_trajectory_controller" with any of the following names:

joint_trajectory_controllerConfig.cmake
joint_trajectory_controller-config.cmake

Add the installation prefix of "joint_trajectory_controller" to CMAKE_PREFIX_PATH or set "joint_trajectory_controller_DIR" to a directory containing one of the above files. If "joint_trajectory_controller" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): elfin_robot-melodic/elfin_postrq_joint_trajectory_controller/CMakeLists.txt:10 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/cjf/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/cjf/catkin_ws/build/CMakeFiles/CMakeError.log".

Neverforgetlove commented 1 year ago

You can try this command: sudo apt-get install ros-noetic-joint-trajectory-controller, and catkin_make again