ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Problem with catkin_make [closed]

asked 2015-05-11 11:28:16 -0500

dagargme23 gravatar image

updated 2015-05-12 11:24:42 -0500

daniel@daniel-SATELLITE-L755:~$ cd ~/catkin_ws/
daniel@daniel-SATELLITE-L755:~/catkin_ws$ catkin_make
Base path: /home/daniel/catkin_ws
Source space: /home/daniel/catkin_ws/src
Build space: /home/daniel/catkin_ws/build
Devel space: /home/daniel/catkin_ws/devel
Install space: /home/daniel/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/daniel/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/daniel/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- 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/daniel/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.11
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 8 packages in topological order:
-- ~~  - rbcar_common (metapackage)
-- ~~  - rbcar_sim (metapackage)
-- ~~  - control_msgs
-- ~~  - beginner_tutorials
-- ~~  - foobar
-- ~~  - rbcar_description
-- ~~  - rbcar_control
-- ~~  - rbcar_gazebo
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'rbcar_common'
-- ==> add_subdirectory(rbcar_common-master/rbcar_common)
-- +++ processing catkin metapackage: 'rbcar_sim'
-- ==> add_subdirectory(rbcar_sim-master/rbcar_sim)
-- +++ processing catkin package: 'control_msgs'
-- ==> add_subdirectory(control_msgs/control_msgs)
-- Using these message generators: gencpp;genlisp;genpy
-- Generating .msg files for action control_msgs/FollowJointTrajectory /home/daniel/catkin_ws/src/control_msgs/control_msgs/action/FollowJointTrajectory.action
-- Generating .msg files for action control_msgs/GripperCommand /home/daniel/catkin_ws/src/control_msgs/control_msgs/action/GripperCommand.action
-- Generating .msg files for action control_msgs/JointTrajectory /home/daniel/catkin_ws/src/control_msgs/control_msgs/action/JointTrajectory.action
-- Generating .msg files for action control_msgs/PointHead /home/daniel/catkin_ws/src/control_msgs/control_msgs/action/PointHead.action
-- Generating .msg files for action control_msgs/SingleJointPosition /home/daniel/catkin_ws/src/control_msgs/control_msgs/action/SingleJointPosition.action
-- control_msgs: 39 messages, 2 services
-- +++ processing catkin package: 'beginner_tutorials'
-- ==> add_subdirectory(beginner_tutorials)
-- +++ processing catkin package: 'foobar'
-- ==> add_subdirectory(foobar)
-- +++ processing catkin package: 'rbcar_description'
-- ==> add_subdirectory(rbcar_common-master/rbcar_description)
-- Using these message generators: gencpp;genlisp;genpy
-- +++ processing catkin package: 'rbcar_control'
-- ==> add_subdirectory(rbcar_sim-master/rbcar_control)
-- Using these message generators: gencpp;genlisp;genpy
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
  Could not find a package configuration file provided by "ros_control" with
  any of the following names:

    ros_controlConfig.cmake
    ros_control-config.cmake

  Add the installation prefix of "ros_control" to CMAKE_PREFIX_PATH or set
  "ros_control_DIR" to a directory containing one of the above files.  If
  "ros_control" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  rbcar_sim-master/rbcar_control/CMakeLists.txt:7 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/daniel/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/daniel/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

I tried to install ros_control

daniel@daniel-SATELLITE-L755:~/catkin_ws$ sudo apt-get install ros-indigo-ros-control ros-indigo-ros-controllers
[sudo] password for daniel: 
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
E: No se ha podido localizar el paquete ros-indigo-ros-control


E: No se ha podido localizar el paquete ros-indigo-ros-controllers

more details: I only have two folders for a student job: https://github.com/RobotnikAutomation...

https://github.com/RobotnikAutomation... and when I launch them:

daniel@daniel-SATELLITE-L755:~$ cd ~/catkin_ws/ daniel@daniel-SATELLITE-L755:~/catkin_ws$ source devel/setup.bash daniel@daniel-SATELLITE-L755:~/catkin_ws$ roscd rbcar_control/ daniel@daniel-SATELLITE-L755:~/catkin_ws/src/rbcar_control$ roslaunch rbcar_control rbcar_control.launch ... logging to /home/daniel/.ros/log/84ff6344-f8c2-11e4-9ecd-e0ca946693b8 ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-04-10 20:10:02.098717

1 Answer

Sort by » oldest newest most voted
0

answered 2015-05-12 11:20:43 -0500

dagargme23 gravatar image

#More details. #I only added two folders for a student work #https://github.com/RobotnikAutomation/rbcar_sim #https://github.com/RobotnikAutomation/rbcar_common #I need to launch both. #and for example when I launch one of them:

daniel@daniel-SATELLITE-L755:~$ cd ~/catkin_ws/ daniel@daniel-SATELLITE-L755:~/catkin_ws$ source devel/setup.bash daniel@daniel-SATELLITE-L755:~/catkin_ws$ roscd rbcar_gazebo daniel@daniel-SATELLITE-L755:~/catkin_ws/src/rbcar_gazebo$ roslaunch rbcar_gazebo rbcar.launch ... logging to /home/daniel/.ros/log/d14e06f2-f8c1-11e4-b378-e0ca946693b8/roslaunch-daniel-SATELLITE-L755-2741.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

Traceback (most recent call last): File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/__init__.py", line 298, in main p.start() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 260, in start self._start_infrastructure() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 209, in _start_infrastructure self._load_config() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 124, in _load_config roslaunch_strs=self.roslaunch_strs, verbose=self.verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/config.py", line 451, in load_config_default loader.load(f, config, verbose=verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 730, in load self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 702, in _load_launch self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 666, in _recurse_load val = self._include_tag(tag, context, ros_config, default_machine, is_core, verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call return f(args, *kwds) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 587, in _include_tag inc_filename = self.resolve_args(tag.attributes['file'].value, context) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 183, in resolve_args return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 299, in resolve_args resolved = _resolve_args(resolved, context, resolve_anon, commands) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 312, in _resolve_args resolved = commandscommand File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 137, in _find return _find_executable(resolve_without_path, a, [args[0], path], context) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 173, in _find_executable full_path = _get_executable_path(rp.get_path(args[0]), path) File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 199, in get_path raise ResourceNotFound(name, ros_paths=self._ros_paths) ResourceNotFound: gazebo_ros ROS path [0]=/opt/ros/indigo/share/ros ROS path [1]=/home/daniel/catkin_ws/src ROS path [2]=/opt/ros/indigo/share ROS path [3]=/opt/ros/indigo/stacks daniel@daniel-SATELLITE-L755:~/catkin_ws/src/rbcar_gazebo$

##or another one

daniel@daniel-SATELLITE-L755:~$ cd ~/catkin_ws/ daniel@daniel-SATELLITE-L755:~/catkin_ws$ source devel/setup.bash daniel@daniel-SATELLITE-L755:~/catkin_ws$ roscd rbcar_control/ daniel@daniel-SATELLITE-L755:~/catkin_ws/src/rbcar_control$ roslaunch rbcar_control rbcar_control.launch ... (more)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-05-11 11:28:16 -0500

Seen: 879 times

Last updated: May 12 '15