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

Revision history [back]

click to hide/show revision 1
initial version

I fixed it with the help of my friends. in /home/michael/catkin_ws/src/procrob_functional/src --face_recognition.cpp

  • change image_sub_ = it_.subscribe("/camera/image_raw", 1, &FaceRecognition::imageCB, this); to image_sub_ = it_.subscribe("/usb_cam/image_raw", 1, &FaceRecognition::imageCB, this);
  • that is because I use "usb_cam" node not "camera" node