I work in simulation.
I have this node in the launch file:
<node pkg="nodelet" type="nodelet" name="turtlebot_follower" args="standalone turtlebot_follower/TurtlebotFollower"> <remap from="depth/points" to="camera/depth/points"/> </node>
The program works. "turtlebot_follower" node subscribes to /camera/depth/points. Then I want to load this node in nodelet_manager. Here is a new launch file:
<node pkg="nodelet" type="nodelet" name="turtlebot_follower" args="load turtlebot_follower/TurtlebotFollower manager"> <remap from="depth/points" to="camera/depth/points"/> </node>
I launched manager:
rosrun nodelet nodelet manager
Then I run launch file. The program doesn't work. There is no subscriber to /camera/depth/points topic.
How can I solve this problem?
UPDATE: using command
rosrun nodelet nodelet managerinstead of
rosrun nodelet nodelet manager __name:=nodelet_manager
Originally posted by nampi on ROS Answers with karma: 77 on 2016-02-09
Post score: 0