Ask Your Question
0

can't find ros message API ducouments

asked 2016-05-16 22:21:50 -0600

crazymumu gravatar image

updated 2016-05-16 22:22:40 -0600

hi, I currently can't find any API documents about ros messages like std_msgs, mavros_msgs...ect, including all member functions, class definitions or structures. It suppose be there, but I can't google it anymore.
Is that because server problem or it will not be access any more.
Thx

edit retag flag offensive close merge delete

Comments

I'm not having any trouble with the documentation at http://wiki.ros.org/std_msgs .Presumably you have a link to documentation that doesn't exist any more; perhaps if you provide a link to that documentation we can help figure out where it went.

ahendrix gravatar imageahendrix ( 2016-05-16 23:51:53 -0600 )edit

Hi @ahendrix, what I mean is not the link you provided. The documentation here:https://mirror.umd.edu/roswiki/doc/diamondback/api/std_msgs/html/namespacestd__msgs.html, I can jut find in mirror.

crazymumu gravatar imagecrazymumu ( 2016-05-17 02:28:17 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-17 18:34:12 -0600

ahendrix gravatar image

In short, you should not be referring to that documentation. It's generated based on the generated headers, and discards the message semantics.

The other reason why you can't find any documentation about member functions on the message types is because there are no public member functions; generated C++ types are only classes with public data members, also known as POD types (plain old data).

Instead, you should be referring to the msg API link on the std_msgs wiki page, or the documentation on the page itself. You can infer the generated C++ type name and field types directly from the message generation.

edit flag offensive delete link more

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: 2016-05-16 22:21:50 -0600

Seen: 33 times

Last updated: May 17 '16