Ask Your Question

where do i find documentation for methods and classes listed as inherited in API docs

asked 2020-08-02 02:03:11 -0500

Jose Sepulveda gravatar image

I am looking in the rospy API at the class Time ( Specifically, I was interested in the to_sec method that is listed underneath "Inherited from genpy.rostime.TVal". I wanted to know more about what this method does but I can not find any official API documentation on it. I see it mentioned in the tutorial ( but want see the details. I have seen a couple of methods and classes that seem to be inherited from old libraries or distros and was curious how I could find the API on these inherited things in general. Thanks!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2020-08-04 05:39:09 -0500

Weasfas gravatar image

@Jose Sepulveda What you are searching can be found here. You can find every method, class etc. not only in the documentation from roscpp or rospy but also from the source code. In this case, since you want to know the usage, implementation of a certain function just refer to its line of code from the API docs.

Note that is not the documentation of rospy package but genpy.


edit flag offensive delete link more

answered 2020-08-12 00:39:02 -0500

Jose Sepulveda gravatar image

Thanks, Weasfas. I was looking for documentation specifically beside the code. With possibly some examples. I ended up finding the documentation in the diamondback distribution documentation.

I also found that all distribution API documentation can be accessed through this link:

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


Asked: 2020-08-02 02:03:11 -0500

Seen: 45 times

Last updated: Aug 04 '20