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

ROS Message API Documentation

asked 2012-11-30 11:22:25 -0500

I am having trouble getting ROS message links to work correctly. I have a page: Industrial Robot Spec, that has auto-generated links to ROS messages. For example:<<MsgLink(sensor_msgs/JointState)>> generates this link: http://www.ros.org/doc/api/sensor_msgs/html/msg/JointState.html. The generated link is valid

A similar example:<<MsgLink(industrial_msgs/RobotStatus)>> generates this link: http://www.ros.org/doc/api/industrial_msgs/html/msg/RobotStatus.html. The generated link is invalid.

The message documentation for the RobotStatus message does exist here: http://ros.org/doc/groovy/api/industrial_msgs/html/msg/RobotStatus.html

How do I get the MsgLink macro to point to ros.org/doc/groovy/api or how do I get the message api docs to populate: www.ros.org/doc/api/

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-01-09 13:48:02 -0500

130s gravatar image

updated 2013-01-09 14:23:01 -0500

I have not yet any idea for your 2nd question. For the 1st question,

How do I get the MsgLink macro to point to ros.org/doc/groovy/api

Looking at the code of macro MsgLink, there might not be a way to do that. I opened up a ticket (I have a feeling this ticket might not be prioritized. That said patch is very welcomed).

ps. Your workaround (to use fullpath URL) might be enough (not ideal for sure) for many situations though

edit flag offensive delete link more

Comments

As far as I can tell, this is still an issue and I use hard-coded URLs.

I had a look at the code for MsgLink and it seems that one solution could be to add a second case beside MsgLink(msg/type); something like MsgLink(distro/msg/type). But I do not know how appropriate this would be, though.

AndreasGustavsson gravatar image AndreasGustavsson  ( 2018-12-15 15:04:34 -0500 )edit

Question Tools

Stats

Asked: 2012-11-30 11:22:25 -0500

Seen: 433 times

Last updated: Jan 09 '13