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

How to create a custom msg for arduino ?

asked 2018-05-16 06:37:58 -0600

simbha gravatar image

updated 2018-05-24 05:45:56 -0600

I am trying to create the custom msg for Arduino. I refer the rosserial_client package to generate the custom msg. I created the package simbha_msg for msgs. Package contains the msg file simbha_imu.msg

    Header header
    float64 roll
    float64 pitch
    float64 yaw

I run the command rosrun rosserial_client make_libraries /home/simmu/Desktop/ simbha_msgs/ but its not working as expected. I tried with cpp node as well but that is also not working. It wont give any error or warnings.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-05-22 01:55:57 -0600

simbha gravatar image

Ohk, I have solved the problem by myself. The problem was to make the changing in CmakeLists.txt.

I cleaned the build directory and rebuild it, that's solved my problem. :)

edit flag offensive delete link more

Comments

Hi, I am facing a similar problem. Could you mention which changes you made in CmakeLists.txt

chapingo gravatar image chapingo  ( 2018-05-22 11:48:58 -0600 )edit

refer this link

simbha gravatar image simbha  ( 2018-05-22 13:59:04 -0600 )edit

Question Tools

3 followers

Stats

Asked: 2018-05-16 06:37:58 -0600

Seen: 1,086 times

Last updated: May 24 '18