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

how to use stereo_image_proc.launch

asked 2013-12-08 18:57:27 -0600

luo gravatar image

hello everyone,when i roslaunch stereo_image_proc stereo_image_proc.

launch.... logging to /home/administrator/.ros/log/382adbce-609e-11e3-acbd-e89a8ff90e16/roslaunch-ubuntu-11072.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.

arg 'manager' is not defined.

Arg xml is <arg name="manager" value="$(arg manager)"/>

Where is the problem。

edit retag flag offensive close merge delete

Comments

Hi, I have the same problem. Do you resolve this problem? Thanks

Edmodi gravatar image Edmodi  ( 2016-05-31 03:04:13 -0600 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2018-03-04 13:25:35 -0600

clyde gravatar image

The stereo_image_proc.launch file must be included in another launch file where manager is defined and a nodelet manager is started. You'll need provide a globally qualified manager name so that all nodelets get added to the same manager, which basically means adding a leading / to the name. Be careful with the namespaces.

For example, you could create a launch file named my_rig.launch:

<launch>

  <!-- Start a nodelet manager; the name must be unqualified here -->
  <node pkg="nodelet" type="nodelet" name="pipeline" args="manager" />

  <!-- Include the stereo_image_proc.launch file and pass in a qualified manager name -->
  <include file="$(find stereo_image_proc)/launch/stereo_image_proc.launch" ns="stereo">
    <arg name="manager" value="/pipeline" />
  </include>

</launch>

This only works if your left and right image topics are named /stereo/left/image_raw and /stereo/right/image_raw, and the images are synchronized and have timestamps that match exactly. If your timestamps don't match exactly you'll need to use approximate sync, which means modifying stereo_image_proc.launch (see the TODO in the file), or creating your own stereo launch file with the correct parameters.

edit flag offensive delete link more
0

answered 2018-09-20 11:26:56 -0600

praw26 gravatar image

If you use rosrun and utilise the stereo namespace, this works perfectly

Example :

$ ROS_NAMESPACE=stereo rosrun stereo_image_proc stereo_image_proc

Here you need to change 'stereo' to the stereo topic name.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2013-12-08 18:57:27 -0600

Seen: 1,950 times

Last updated: Mar 04 '18