Ask Your Question

Revision history [back]

You are probably missing the #ifndef guards in your header file. In C++ you need to add:

#ifndef FOO_H
#define FOO_H

... header file contents ...

#endif

I really suggest that you dive into C++ a little more before continuing with ROS. A solid knowledge of that language will save you a lot of time.