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

Revision history [back]

click to hide/show revision 1
initial version

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 robot_state_publisher: /usr/include/boost/smart_ptr/shared_ptr.hpp:653: typename boost::detail::sp_member_access<t>::type boost::shared_ptr<t>::operator->() const [with T = const urdf::Link; typename boost::detail::sp_member_access<t>::type = const urdf::Link]: Assertion `px != 0' failed. [robot_state_publisher-2] process has died [pid 3279, exit code -6, cmd /opt/ros/indigo/lib/robot_state_publisher/robot_state_publisher /joint_states:=/rbcar/joint_states __name:=robot_state_publisher __log:=/home/daniel/.ros/log/84ff6344-f8c2-11e4-9ecd-e0ca946693b8/robot_state_publisher-2.log]. log file: /home/daniel/.ros/log/84ff6344-f8c2-11e4-9ecd-e0ca946693b8/robot_state_publisher-2.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete done