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

Revision history [back]

Hi, I faced the same issue, I have solved the issue and want to share with you.

You have to take care of the following link.

  1. Create a package that contains your msg. like in your case marvelmind_nav. You can refer to this tutorial to create the package.
  2. Then create the custom msg that you want to make. In your case position_control.msg. You can refer to this tutorial to create custom msg.
  3. Make sure you have edited the CMakeLists.txt for custom msg.
  4. then run the following command to create the msg for Arduino compatible.

    rosrun rosserial_client make_libraries <arduino_library folder="" path=""> marvelmind_nav/

Note: if the above command not working remove the build directory of workspace and catkin_make again.

You can refer this answer

Hi, I faced the same issue, I have solved the issue and want to share with you.

You have to take care of the following link.

  1. Create a package that contains your msg. like in your case marvelmind_nav. You can refer to this tutorial to create the package.
  2. Then create the custom msg that you want to make. In your case position_control.msg. You can refer to this tutorial to create custom msg.
  3. Make sure you have edited the CMakeLists.txt for custom msg.
  4. then run the following command to create the msg for Arduino compatible.

    rosrun rosserial_client make_libraries <arduino_library folder="" path=""> marvelmind_nav/

Note: if the above command not working remove the build directory of workspace and catkin_make again.

You can refer this answer

Hi, I faced the same issue, I have solved the issue and want to share with you.

You have to take care of the following link.

  1. Create a package that contains your msg. like in your case marvelmind_nav. You can refer to this tutorial to create the package.
  2. Then create the custom msg that you want to make. In your case position_control.msg. You can refer to this tutorial to create custom msg.
  3. Make sure you have edited the CMakeLists.txt for custom msg.
  4. then run the following command to create the msg for Arduino compatible.

    rosrun rosserial_client make_libraries <arduino_library folder="" path=""> <arduino_library_folder_path> marvelmind_nav/

Note: if the above command not working remove the build directory of workspace and catkin_make again.

You can refer this answer