turtlebot_follower node doesn't receive topic "depth/image_rect"

asked 2016-10-24 06:04:09 -0600

graziegrazie gravatar image

I tried turtlebot_follower app with kinectv2. I checked turtlebot_follower source code follow.cpp, and I found the turtlebot_follow node subscribe a topic "depth/image_rect" which type is sensor_msgs::Image. I checked rosparam list, and I found that the topic "depth/image_rect" which type is sensor_msgs::Image is published from kinect2 node.

I don't know why turtlebot_follower node doesn't receive topic "depth/image_rect"... If you have some idea, could you help me? My environment is following.

OS : Ubuntu16.04 ROS : Kinetic Camera : Kinectv2 Robot : Turtlebot2(kobuki)

I typed following commands before launching turtlebot_follower.

  • roslaunch turtlebot_bringup minimal.launch
  • roslaunch kinect2_bridge kinect2_bridge.launch publish_tf:=true
  • rosrun depthimage_to_laserscan depthimage_to_laserscan image:=/kinect2/sd/image_depth_rect _output_frame_id:=/base_kinect2_link
  • roslaunch turtlebot_follower follower.launch

rqt_graph which is drawn after launching turtlebot_follwer is here.

edit retag flag offensive close merge delete