ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

how to define new message/generate new header in rosserial_arduino

asked 2012-03-23 04:22:04 -0600

updated 2012-03-23 06:31:12 -0600

kwc gravatar image

Hi, I kept searching through the wiki but this page was not created yet ( and I can't try it out myself, so I'm going to ask here.

in this link( rebsamen says there's a script generating new msg type for me, where is it?

say, I want to define a new msg type new_msg::New, to publish it from PC to arduino. while I got New.h in package new_msg with the command "make" under the package, this New.h is not suitable for arduino liberary. I need a New.h file that tell arduino what the message looks like. What should I do? Thank you in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-03-29 13:10:38 -0600

fergs gravatar image

Please see:

(Note: at the bottom of the missing page you linked, you'll find some pages with similar names that it suggests.... in this case, the page I linked above was found in that list).

edit flag offensive delete link more


Thanks a lot, man! I'll create the missing wiki page for other people who have met the same problem with me.

AzureViolin gravatar image AzureViolin  ( 2012-03-30 04:28:57 -0600 )edit

Rather than creating more (duplicate) pages, it would be best to fix broken links -- where did you find the link to the "missing" page?

fergs gravatar image fergs  ( 2012-03-30 09:59:50 -0600 )edit

I totally agree. The reason why I created a new page instead is because I can't find the old link anymore... I remembered that it was at the bottom of one of the tutorials, but I can't find it after I solved the problem. And I think this tutor should be in rosserial_arduino package for convenience.

AzureViolin gravatar image AzureViolin  ( 2012-04-01 03:20:39 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-03-23 04:22:04 -0600

Seen: 1,609 times

Last updated: Mar 29 '12