Ask Your Question
1

how to define new message/generate new header in rosserial_arduino

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

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

kwc gravatar image

Hi, I kept searching through the wiki but this page was not created yet (http://www.ros.org/wiki/rosserial/Tutorials/Adding%20Other%20Messages) and I can't try it out myself, so I'm going to ask here.

in this link(http://answers.ros.org/question/11023/rosserial-and-custom-message-cannot-load-package)brice 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
3

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

fergs gravatar image

Please see: http://www.ros.org/wiki/rosserial_client/Tutorials/Generating%20Message%20Header%20Files

(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

Comments

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 -0500 )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 -0500 )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 -0500 )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

Stats

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

Seen: 1,569 times

Last updated: Mar 29 '12