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

ERROR: invalid message type: face_recognition/FRClientGoal

asked 2014-08-04 02:39:07 -0500

RosFaceNoob gravatar image

updated 2014-08-04 06:37:14 -0500

Hi everyone, I am trying to move the face recognition package to catkin. Itried with but it doesn't work. So I create a new catkin workspace and I tried to add every folder one by one as if it was a new project. When I try to do a catkin_make I have this message :

ERROR: invalid message type: face_recognition/FRClientGoal.
If this is a valid message type, perhaps you need to type 'rosmake face_recognition'

I tried to do a rosmake but I still have this error. My Cmakelist.txt is like this:

cmake_minimum_required(VERSION 2.8.3)
find_package(catkin REQUIRED COMPONENTS

 find_package( OpenCV REQUIRED )


   ## Generate added messages and services with any dependencies listed here
     include_directories(  ${catkin_INCLUDE_DIRS}  ${OpenCV_INCLUDE_DIRS} )
     add_executable(Fserver src/face_recognition.cpp)
     add_executable(Fclient src/face_rec_client.cpp)
     add_dependencies(Fserver ${face_recognition_EXPORTED_TARGETS})
     add_dependencies(Fclient ${face_recognition_EXPORTED_TARGETS})

and my package.xml is like this :

      <?xml version="1.0"?>
       <description>The face_recognition package</description>
      <maintainer email="www@todo.todo">www</maintainer>
        <!-- <build_depend>opencv2</build_depend> -->
        <!-- <run_depend>opencv2</run_depend> -->

I already had some poblems that I tried to manage, see but I seams that it still doesn't work. Can somebody help me please? thank you

edit retag flag offensive close merge delete


That is weird, I use FRClientGoal.msg and FaceRecognition.action in my project and they just compile fine using catkin and ROS Indigo. Maybe you forgot to copy something when you did the copy folder by folder? Try cloning the face_recognition project directly into your catkin_workspace and just modify the CMakeLists.txt and the manifest.xml with your newer version (manifest.xml will become package.xml)

Mehdi. gravatar image Mehdi.  ( 2014-08-04 02:58:38 -0500 )edit

When you use the FaceRecognition.action did it automatically generate the FRClientgoal? because in my case it did'nt and I copy and plaste the old one. Maybe that's why it's not working.

RosFaceNoob gravatar image RosFaceNoob  ( 2014-08-04 03:19:37 -0500 )edit

FRClientGoal is not supposed to be generated, it is already defined in the /msg folder in the Git repository. The only messages that will be generated are messages starting with FaceRecognition... Just try git clone and put the folder face_recognition in your workspace replacing only the CMakeFiles.txt and Manifest.xml which are inside of it.

Mehdi. gravatar image Mehdi.  ( 2014-08-04 03:26:11 -0500 )edit

I have the same error

RosFaceNoob gravatar image RosFaceNoob  ( 2014-08-04 03:51:54 -0500 )edit

What happens if you delete the devel and build folders and catkin_make twice again?

Mehdi. gravatar image Mehdi.  ( 2014-08-04 04:34:46 -0500 )edit

Is your code open source? If so, please post the URL of your repository. With the complete code we can help you better.

BennyRe gravatar image BennyRe  ( 2014-08-04 05:16:22 -0500 )edit

If I delete the folder, they are built again and I hav the same error. I use this

RosFaceNoob gravatar image RosFaceNoob  ( 2014-08-04 06:18:28 -0500 )edit

I meant your code. Does catkin really prompt you to use a rosmake command?

BennyRe gravatar image BennyRe  ( 2014-08-04 06:38:53 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-11 17:59:18 -0500

Pouyan gravatar image

The face recognition package has been recently catkinized. please see

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-08-04 02:39:07 -0500

Seen: 1,663 times

Last updated: Oct 11 '14