ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I faced the same problem and solved it by changing the "msg.h" in ~/Arduino/libraries/ros_lib/ros destination generated by rosrun rosserial_arduino make_libraries.py . with "msg.h" file from "rosserial lib" which was downloaded from the Library manager of Arduino IDE (directory of this file in downloaded library: ~/Rosserial_Arduino_Library/src/ros/).

If you don't have any custom messages you want to use in your Arduino IDE you can download the full "rosserial" library from the Library Manager.

I faced the same problem and solved it by changing the "msg.h" in ~/Arduino/libraries/ros_lib/ros destination generated by rosrun rosserial_arduino make_libraries.py . with "msg.h" file from "rosserial lib" (0.7.8 version) which was downloaded from the Library manager of Arduino IDE (directory of this file in downloaded library: ~/Rosserial_Arduino_Library/src/ros/).

If you don't have any custom messages you want to use in your Arduino IDE you can download the full "rosserial" library from the Library Manager.