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

can't find ros message API ducouments

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

crazymumu gravatar image

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

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 image ahendrix  ( 2016-05-16 23:51:53 -0500 )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 image crazymumu  ( 2016-05-17 02:28:17 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Question Tools

1 follower

Stats

Asked: 2016-05-16 22:21:50 -0500

Seen: 98 times

Last updated: May 17 '16