I´m working on rosbot 2.0 for my final work degree in industrial engineering, everything was ok following the tutorials on the web but recently I´ve found a problem that I can´t solve.
When I create executables (.cpp) and I add them in the package previously created in the folder of src, like on the node example, and I execute the order catkin make everything seems ok, it compiles and it seems that the new node is recognized, the problem is that when I try to execute the new node the system told me that he can´t find anything executable with this name.
I ´ve followed all the steps explained on the tutorial of creating nodes, I´ve modified the Cmakelist.txt also but I don´t know how it works, maybe the problem is here but I don´t even know. Does anyone knows something about it?
My question is, when in the tutorial they ask about creating a new node for something like the SLAM navigation system, do I have to create a new package also? or I can work with the previous package and add nodes in the src folder? and then, what do I have to modify exactly on the Cmakelist to make a .cpp executable for the system? (libraries, uncomment lines, commands…)
I hope you can help me!
thank you so much!
JUAN MANUEL LEÓN MUÑOZ