Catkin_make error while reading a URDF file using parser.cpp
Hello all,
I'm following this tutorial on creating a simple URDF for use in Gazebo:
http://wiki.ros.org/urdf/Tutorials/Pa...
when i try to build the package using catkin_make in the catkin_ws directory, I get the following error:
/home/adi/catkin_ws/src/testbot_description/src/parser.cpp: In function ‘int main(int, char**)’:
/home/adi/catkin_ws/src/testbot_description/src/parser.cpp:14:23: error: ‘testbot’ was not declared in this scope
if (!model.initFile(testbot.urdf)){
^
make[2]: *** [testbot_description/CMakeFiles/parser.dir/src/parser.cpp.o] Error 1
make[1]: *** [testbot_description/CMakeFiles/parser.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
Appreciate your help!