Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 314

[Beginner]Using a message of a custom package in rosserial

$
0
0
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 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

Viewing all articles
Browse latest Browse all 314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>