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 finally make it works, what I did was:

  1. Instantiate the publisher and init_node inside the function that was called by the main
  2. Now my function main just call the function that recognize the face
  3. Delete rospy.spin()
  4. Create a new .py to work with the publishing, the one that was crashing is being used to just sent to the new one the value where the drone must go.

Thanks for the answers and the help!