Ask Your Question
0

Name Dependent Node?????

asked 2014-02-21 02:18:01 -0500

AlphaOne gravatar image

I am trying to use visp_auto_tracker this three cameras, the simplest way I see to this is to use three nodes. This does not work because for some reason visp_auto_tracker doesn't work if the node name is not "visp_auto_tracker". Here is my launch file:

<launch> 
    <!-- you can only use the debug display if name is "visp_auto_tracker" appearently nothing works if not visp_auto_tracker-->
    <node pkg="visp_auto_tracker" type="visp_auto_tracker" name="visp_auto_tracker" output="screen">
    <param name="model_path" type="string" value="$(find visp_auto_tracker)/models" />
    <param name="model_name" type="string" value="pattern" />
    <param name="debug_display" type="bool" value="True" />

    <remap from="/visp_auto_tracker/camera_info" to="/primesense2/rgb/camera_info"/>
    <remap from="/visp_auto_tracker/image_raw" to="/primesense2/rgb/image_raw"/>      
    <!--<remap from="/visp_auto_tracker/camera_info_2" to="/primesense1/rgb/camera_info"/>
    <remap from="/visp_auto_tracker/image_raw_2" to="/primesense1/rgb/image_raw"/>
    <remap from="/visp_auto_tracker/camera_info_3" to="/primesense3/rgb/camera_info"/>
    <remap from="/visp_auto_tracker/image_raw_3" to="/primesense3/rgb/image_raw"/>-->
  </node>
    <node pkg="visp_auto_tracker" type="visp_auto_tracker" name="visp_auto_tracker_ps1" output="screen">
    <param name="model_path" type="string" value="$(find visp_auto_tracker)/models" />
    <param name="model_name" type="string" value="pattern" />
    <param name="debug_display" type="bool" value="True" />

    <remap from="/visp_auto_tracker/camera_info" to="/primesense1/rgb/camera_info"/>
    <remap from="/visp_auto_tracker/image_raw" to="/primesense1/rgb/image_raw"/>
  </node>
    <node pkg="visp_auto_tracker" type="visp_auto_tracker" name="visp_auto_tracker_ps3" output="screen">
    <param name="model_path" type="string" value="$(find visp_auto_tracker)/models" />
    <param name="model_name" type="string" value="pattern" /> 
    <param name="debug_display" type="bool" value="True" />

    <remap from="/visp_auto_tracker/camera_info" to="/primesense3/rgb/camera_info"/>
    <remap from="/visp_auto_tracker/image_raw" to="/primesense3/rgb/image_raw"/>
  </node>
</launch>

Does anyone know how I can fix this? I modified a different version of the tracker to work with three cameras, but it has stability issues.

edit retag flag offensive close merge delete

Comments

I don't know the package, but it sounds like either a serious bug to be fixed or just wrong configuration/setup? Maybe test just one node with a different name or grep the sources for the name - it shouldn't be hardcoded anywhere besides init.

dornhege gravatar imagedornhege ( 2014-02-21 03:23:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-02-21 03:56:32 -0500

AlphaOne gravatar image

So I was a bit fail here, the ramps point to the default name not the used. :P

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-02-21 02:18:01 -0500

Seen: 88 times

Last updated: Feb 21 '14