Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namspace issue with nh_.resolveName #39

Open
ruffsl opened this issue Feb 13, 2016 · 0 comments
Open

Namspace issue with nh_.resolveName #39

ruffsl opened this issue Feb 13, 2016 · 0 comments
Labels

Comments

@ruffsl
Copy link

ruffsl commented Feb 13, 2016

I think I'm having an issue with the use of nh_.resolveName messing up the face_detector's ability to subscribe to specified topics while within a namespace. See the info below:
image

Notice that camera_info is the only properly connected topic in the mismatched bunch. I believe this is due to the fact that it's one of the few topics not filtered by nh_.resolveName: face_detection.cpp#L249

Here is the launch file that works for the simple simulated turtlebot in gazebo, yet not in the robot_0 namespace I'm importing it into without overriding default any args:

<launch>

  <arg name="fixed_frame" default="camera_rgb_frame" />

  <!--include file="$(find openni_launch)/launch/openni.launch"/-->
  <node name="$(anon dynparam)" pkg="dynamic_reconfigure" type="dynparam" args="set_from_parameters $(arg camera)/driver">
    <param name="depth_registration" type="bool" value="true" />
  </node>

 <node pkg="face_detector" type="face_detector" name="face_detector" output="screen">
    <param name="fixed_frame" type="string" value="$(arg fixed_frame)" />
    <param name="classifier_name" type="string" value="frontalface" />
    <rosparam command="load" file="$(find face_detector)/param/classifier.yaml"/>
    <param name="classifier_reliability" type="double" value="0.9"/>
    <param name="do_continuous" type="bool" value="true" />
    <param name="do_publish_faces_of_unknown_size" type="bool" value="false" />
    <param name="do_display" type="bool" value="false" />
    <param name="use_rgbd" type="bool" value="true" />
    <param name="approximate_sync" type="bool" value="true" />
  </node>

</launch>

Update: removed remaps in snippet, they're omission has no effect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants