Problem with catkin_make
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/rbcar_sim
https://github.com/RobotnikAutomation/rbcar_common and when I launch them:
daniel@daniel-SATELLITE-L755:~$ cd ~/catkinws/ daniel@daniel-SATELLITE-L755:~/catkinws$ source devel/setup.bash daniel@daniel-SATELLITE-L755:~/catkinws$ roscd rbcarcontrol/ daniel@daniel-SATELLITE-L755:~/catkinws/src/rbcarcontrol$ roslaunch rbcarcontrol rbcarcontrol.launch ... logging to /home/daniel/.ros/log/84ff6344-f8c2-11e4-9ecd-e0ca946693b8/roslaunch-daniel-SATELLITE-L755-3261.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.
started roslaunch server http://daniel-SATELLITE-L755:48255/
SUMMARY
PARAMETERS * /rbcar/jointreadstatecontroller/publishrate: 100.0 * /rbcar/jointreadstatecontroller/type: jointstatecontr... * /rbcar/leftfrontaxlecontroller/joint: leftfrontaxle * /rbcar/leftfrontaxlecontroller/pid/d: 10.0 * /rbcar/leftfrontaxlecontroller/pid/i: 0.01 * /rbcar/leftfrontaxlecontroller/pid/p: 100.0 * /rbcar/leftfrontaxlecontroller/type: effortcontroller... * /rbcar/leftfrontshockcontroller/joint: leftfrontshock * /rbcar/leftfrontshockcontroller/pid/d: 100.0 * /rbcar/leftfrontshockcontroller/pid/i: 10.0 * /rbcar/leftfrontshockcontroller/pid/p: 500.0 * /rbcar/leftfrontshockcontroller/type: effortcontroller... * /rbcar/leftrearaxlecontroller/joint: leftrearaxle * /rbcar/leftrearaxlecontroller/pid/d: 10.0 * /rbcar/leftrearaxlecontroller/pid/i: 0.01 * /rbcar/leftrearaxlecontroller/pid/p: 100.0 * /rbcar/leftrearaxlecontroller/type: effortcontroller... * /rbcar/leftrearshockcontroller/joint: leftrearshock * /rbcar/leftrearshockcontroller/pid/d: 100.0 * /rbcar/leftrearshockcontroller/pid/i: 10.0 * /rbcar/leftrearshockcontroller/pid/p: 500.0 * /rbcar/leftrearshockcontroller/type: effortcontroller... * /rbcar/leftsteeringjointcontroller/joint: leftsteeringjoint * /rbcar/leftsteeringjointcontroller/pid/d: 10.0 * /rbcar/leftsteeringjointcontroller/pid/i: 0.01 * /rbcar/leftsteeringjointcontroller/pid/p: 100.0 * /rbcar/leftsteeringjointcontroller/type: effortcontroller... * /rbcar/rightfrontaxlecontroller/joint: rightfrontaxle * /rbcar/rightfrontaxlecontroller/pid/d: 10.0 * /rbcar/rightfrontaxlecontroller/pid/i: 0.01 * /rbcar/rightfrontaxlecontroller/pid/p: 100.0 * /rbcar/rightfrontaxlecontroller/type: effortcontroller... * /rbcar/rightfrontshockcontroller/joint: rightfrontshock * /rbcar/rightfrontshockcontroller/pid/d: 100.0 * /rbcar/rightfrontshockcontroller/pid/i: 10.0 * /rbcar/rightfrontshockcontroller/pid/p: 500.0 * /rbcar/rightfrontshockcontroller/type: effortcontroller... * /rbcar/rightrearaxlecontroller/joint: rightrearaxle * /rbcar/rightrearaxlecontroller/pid/d: 10.0 * /rbcar/rightrearaxlecontroller/pid/i: 0.01 * /rbcar/rightrearaxlecontroller/pid/p: 100.0 * /rbcar/rightrearaxlecontroller/type: effortcontroller... * /rbcar/rightrearshockcontroller/joint: rightrearshock * /rbcar/rightrearshockcontroller/pid/d: 100.0 * /rbcar/rightrearshockcontroller/pid/i: 10.0 * /rbcar/rightrearshockcontroller/pid/p: 500.0 * /rbcar/rightrearshockcontroller/type: effortcontroller... * /rbcar/rightsteeringjointcontroller/joint: rightsteeringjoint * /rbcar/rightsteeringjointcontroller/pid/d: 10.0 * /rbcar/rightsteeringjointcontroller/pid/i: 0.01 * /rbcar/rightsteeringjointcontroller/pid/p: 100.0 * /rbcar/rightsteeringjointcontroller/type: effort_controller... * /rosdistro: indigo * /rosversion: 1.11.10
NODES /rbcar/ controllerspawner (controllermanager/spawner) / robotstatepublisher (robotstatepublisher/robotstatepublisher)
ROSMASTERURI=http://localhost:11311
core service [/rosout] found
ERROR: cannot launch node of type [controllermanager/spawner]: controllermanager
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/daniel/catkinws/src
ROS path [2]=/opt/ros/indigo/share
ROS path [3]=/opt/ros/indigo/stacks
process[robotstatepublisher-2]: started with pid [3279]
/opt/ros/indigo/lib/robotstatepublisher/robotstatepublisher
[ERROR] [1431447537.224167978]: Could not find parameter robotdescription on parameter server
robotstatepublisher: /usr/include/boost/smartptr/sharedptr.hpp:653: typename boost::detail::spmemberaccess
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.startinfrastructure() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 209, in startinfrastructure self.loadconfig() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 124, in loadconfig roslaunchstrs=self.roslaunchstrs, verbose=self.verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/config.py", line 451, in loadconfigdefault loader.load(f, config, verbose=verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 730, in load self.loadlaunch(launch, rosconfig, iscore=core, filename=filename, argv=argv, verbose=verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 702, in loadlaunch self.recurseload(rosconfig, launch.childNodes, self.rootcontext, None, iscore, verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 666, in _recurseload val = self.includetag(tag, context, rosconfig, defaultmachine, iscore, 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 _includetag incfilename = self.resolveargs(tag.attributes['file'].value, context) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 183, in resolveargs return substitutionargs.resolveargs(args, context=context.resolvedict, resolveanon=self.resolveanon) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitutionargs.py", line 299, in resolveargs resolved = resolveargs(resolved, context, resolveanon, commands) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitutionargs.py", line 312, in resolveargs resolved = commandscommand File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitutionargs.py", line 137, in _find return _findexecutable(resolvewithoutpath, a, [args[0], path], context) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitutionargs.py", line 173, in _findexecutable fullpath = _getexecutablepath(rp.getpath(args[0]), path) File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 199, in getpath raise ResourceNotFound(name, rospaths=self.rospaths) ResourceNotFound: gazeboros ROS path [0]=/opt/ros/indigo/share/ros ROS path [1]=/home/daniel/catkinws/src ROS path [2]=/opt/ros/indigo/share ROS path [3]=/opt/ros/indigo/stacks
Asked by dagargme23 on 2015-05-11 11:28:16 UTC
Answers
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 ... logging to /home/daniel/.ros/log/84ff6344-f8c2-11e4-9ecd-e0ca946693b8/roslaunch-daniel-SATELLITE-L755-3261.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.
started roslaunch server http://daniel-SATELLITE-L755:48255/
SUMMARY
PARAMETERS * /rbcar/joint_read_state_controller/publish_rate: 100.0 * /rbcar/joint_read_state_controller/type: joint_state_contr... * /rbcar/left_front_axle_controller/joint: left_front_axle * /rbcar/left_front_axle_controller/pid/d: 10.0 * /rbcar/left_front_axle_controller/pid/i: 0.01 * /rbcar/left_front_axle_controller/pid/p: 100.0 * /rbcar/left_front_axle_controller/type: effort_controller... * /rbcar/left_front_shock_controller/joint: left_front_shock * /rbcar/left_front_shock_controller/pid/d: 100.0 * /rbcar/left_front_shock_controller/pid/i: 10.0 * /rbcar/left_front_shock_controller/pid/p: 500.0 * /rbcar/left_front_shock_controller/type: effort_controller... * /rbcar/left_rear_axle_controller/joint: left_rear_axle * /rbcar/left_rear_axle_controller/pid/d: 10.0 * /rbcar/left_rear_axle_controller/pid/i: 0.01 * /rbcar/left_rear_axle_controller/pid/p: 100.0 * /rbcar/left_rear_axle_controller/type: effort_controller... * /rbcar/left_rear_shock_controller/joint: left_rear_shock * /rbcar/left_rear_shock_controller/pid/d: 100.0 * /rbcar/left_rear_shock_controller/pid/i: 10.0 * /rbcar/left_rear_shock_controller/pid/p: 500.0 * /rbcar/left_rear_shock_controller/type: effort_controller... * /rbcar/left_steering_joint_controller/joint: left_steering_joint * /rbcar/left_steering_joint_controller/pid/d: 10.0 * /rbcar/left_steering_joint_controller/pid/i: 0.01 * /rbcar/left_steering_joint_controller/pid/p: 100.0 * /rbcar/left_steering_joint_controller/type: effort_controller... * /rbcar/right_front_axle_controller/joint: right_front_axle * /rbcar/right_front_axle_controller/pid/d: 10.0 * /rbcar/right_front_axle_controller/pid/i: 0.01 * /rbcar/right_front_axle_controller/pid/p: 100.0 * /rbcar/right_front_axle_controller/type: effort_controller... * /rbcar/right_front_shock_controller/joint: right_front_shock * /rbcar/right_front_shock_controller/pid/d: 100.0 * /rbcar/right_front_shock_controller/pid/i: 10.0 * /rbcar/right_front_shock_controller/pid/p: 500.0 * /rbcar/right_front_shock_controller/type: effort_controller... * /rbcar/right_rear_axle_controller/joint: right_rear_axle * /rbcar/right_rear_axle_controller/pid/d: 10.0 * /rbcar/right_rear_axle_controller/pid/i: 0.01 * /rbcar/right_rear_axle_controller/pid/p: 100.0 * /rbcar/right_rear_axle_controller/type: effort_controller... * /rbcar/right_rear_shock_controller/joint: right_rear_shock * /rbcar/right_rear_shock_controller/pid/d: 100.0 * /rbcar/right_rear_shock_controller/pid/i: 10.0 * /rbcar/right_rear_shock_controller/pid/p: 500.0 * /rbcar/right_rear_shock_controller/type: effort_controller... * /rbcar/right_steering_joint_controller/joint: right_steering_joint * /rbcar/right_steering_joint_controller/pid/d: 10.0 * /rbcar/right_steering_joint_controller/pid/i: 0.01 * /rbcar/right_steering_joint_controller/pid/p: 100.0 * /rbcar/right_steering_joint_controller/type: effort_controller... * /rosdistro: indigo * /rosversion: 1.11.10
NODES /rbcar/ controller_spawner (controller_manager/spawner) / robot_state_publisher (robot_state_publisher/robot_state_publisher)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
ERROR: cannot launch node of type [controller_manager/spawner]: controller_manager
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
process[robot_state_publisher-2]: started with pid [3279]
/opt/ros/indigo/lib/robot_state_publisher/robot_state_publisher
[ERROR] [1431447537.224167978]: Could not find parameter robot_description on parameter server
robot_state_publisher: /usr/include/boost/smart_ptr/shared_ptr.hpp:653: typename boost::detail::sp_member_access
Asked by dagargme23 on 2015-05-12 11:20:43 UTC
Comments