0
$\begingroup$

Rosanswers logo

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


Originally posted by crazymumu on ROS Answers with karma: 214 on 2016-05-16

Post score: 0


Original comments

Comment by ahendrix on 2016-05-16:
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.

Comment by crazymumu on 2016-05-17:
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.

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by ahendrix with karma: 47576 on 2016-05-17

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.