[Beginner]Using a message of a custom package in rosserial
Hello, I know this questions has been asked several times, but I found no answer to my problem on the existing topics. I am trying to use rosserial to communicate with my c++ nodes. Everything was working well, but know I'm trying to use a message of my package on rosserial, and I get the following error on the arduino IDE : Arduino/Servo_Test/Servo_Test.ino:15:45: fatal error: marvelmind_nav/position_control.h: No such file or directory #include <marvelmind_nav position_control.h="">
I tried to include the "package/header of the message" since it is how it worked in my c++ code. I had first run : rosrun rosserial_arduino make_library.py path_to_libraries I also tried to run rosrun rosserial_client make_library.py path_to_libraries your_message_package. I sourced my setup.bash several times. And it seems like none of those commands generated my package folder in the ros_lib. I tried to copy directly the message folder in the ros_lib, but I have header problems then, since the program does not get the right path for the headers of the message header files.
I kind of begin in ros, so if you have any idea of what could go wrong, I'd be grateful
If the error is in the Arduino IDE, I suggest you look for help from an Arduino forum. The header file isn't where the IDE thinks it should be. The Arduino forum will be able to help you get the fie paths set up correctly.