Imported Upstream version 0.5.7
Jochen Sprickerhof
7 years ago
0 | syntax: glob | |
1 | *.orig | |
2 | *.swp | |
3 | *.pyc | |
4 | *.DS_Store | |
5 | *~ | |
6 | *.log | |
7 | MANIFEST | |
8 | .coverage | |
9 | nosetests.xml | |
10 | syntax: regexp | |
11 | (target|build|dist)/.* | |
12 |
0 | 0 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
1 | 1 | Changelog for package genmsg |
2 | 2 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
3 | ||
4 | 0.5.7 (2016-03-04) | |
5 | ------------------ | |
6 | * find_package(catkin) and add run dependency on catkin (`#61 <https://github.com/ros/genmsg/issues/61>`_) | |
7 | * improve readability of error message | |
8 | * fix doc for BASE_DIR in add\_*_files (`#59 <https://github.com/ros/genmsg/issues/59>`_) | |
9 | * fix some more minor typos (`#56 <https://github.com/ros/genmsg/issues/56>`_, `#57 <https://github.com/ros/genmsg/issues/57>`_) | |
3 | 10 | |
4 | 11 | 0.5.6 (2014-10-13) |
5 | 12 | ------------------ |
6 | 6 | |
7 | 7 | # set destination for langs |
8 | 8 | set(GENMSG_LANGS_DESTINATION "etc/ros/genmsg") |
9 | ||
10 | # We need various macros and variables that are provided by catkin | |
11 | find_package(catkin REQUIRED) | |
9 | 12 | |
10 | 13 | @[if DEVELSPACE]@ |
11 | 14 | # bin dir variables in develspace |
266 | 269 | list(APPEND handled_deps ${dep}) |
267 | 270 | |
268 | 271 | if(NOT ${dep}_FOUND AND NOT ${dep}_SOURCE_DIR) |
269 | message(FATAL_ERROR "Messages depends on unknown pkg: ${dep} (Missing find_package(${dep}?))") | |
272 | message(FATAL_ERROR "Messages depends on unknown pkg: ${dep} (Missing 'find_package(${dep})'?)") | |
270 | 273 | endif() |
271 | 274 | |
272 | 275 | unset(_dep_msg_paths_file CACHE) |
130 | 130 | # Add any paths that contain custom static files (such as style sheets) here, |
131 | 131 | # relative to this directory. They are copied after the builtin static files, |
132 | 132 | # so a file named "default.css" will overwrite the builtin "default.css". |
133 | html_static_path = ['_static'] | |
133 | html_static_path = [] | |
134 | 134 | |
135 | 135 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
136 | 136 | # using the given strftime format. |
255 | 255 | # Example configuration for intersphinx: refer to the Python standard library. |
256 | 256 | intersphinx_mapping = { |
257 | 257 | 'genmsg': ('http://ros.org/doc/api/genmsg/html', None), |
258 | 'vcstools': ('http://ros.org/doc/api/vcstools/html', None), | |
259 | 'rosinstall': ('http://ros.org/doc/api/rosinstall/html', None), | |
260 | 'rospkg': ('http://ros.org/doc/api/rosinstall/html', None), | |
261 | 'rosdep2': ('http://ros.org/doc/api/rosdep2/html', None), | |
258 | 'vcstools': ('http://docs.ros.org/independent/api/vcstools/html', None), | |
259 | 'rosinstall': ('http://docs.ros.org/independent/api/rosinstall/html', None), | |
260 | 'rospkg': ('http://docs.ros.org/independent/api/rospkg/html', None), | |
261 | 'rosdep2': ('http://docs.ros.org/independent/api/rosdep/html', None), | |
262 | 262 | } |
0 | 0 | User macro reference |
1 | 1 | ==================== |
2 | 2 | |
3 | .. cmake:macro:: add_message_files(DIRECTORY dir FILES file1 [file2...] [PACKAGE pkgname] [NOINSTALL]) | |
3 | .. cmake:macro:: add_message_files(DIRECTORY dir FILES file1 [file2...] [BASE_DIR base_dir] [NOINSTALL]) | |
4 | 4 | |
5 | 5 | :param DIRECTORY: Directory containing messages. May be absolute or |
6 | relative to ``CMAKE_CURRENT_SOURCE_DIR``. | |
6 | relative to ``CMAKE_CURRENT_SOURCE_DIR``. The name will also be used as the install folder as | |
7 | `share/<pkgname>/<DIRECTORY>`. Default is `msg`. | |
7 | 8 | :param FILES: Files containing messages, relative to `msgdir` |
8 | :param PACKAGE: Optional alternate packagename (if the current project doesn't match the | |
9 | desired namespace for the messages) | |
9 | :param BASE_DIR: Absolute path used and only used as an alternate source message folder. Has | |
10 | precedence over DIRECTORY. Only used by `add_action_files()`. | |
10 | 11 | :param NOINSTALL: Do not automatically install the messages to the package's share/ directory. |
11 | 12 | |
12 | 13 | Register the listed files as requiring message generation and installation. |
0 | 0 | <?xml version="1.0"?> |
1 | 1 | <package> |
2 | 2 | <name>genmsg</name> |
3 | <version>0.5.6</version> | |
3 | <version>0.5.7</version> | |
4 | 4 | <description> |
5 | 5 | Standalone Python library for generating ROS message and service data structures for various languages. |
6 | 6 | </description> |
16 | 16 | <author>Ken Conley</author> |
17 | 17 | |
18 | 18 | <buildtool_depend version_gte="0.5.74">catkin</buildtool_depend> |
19 | <run_depend>catkin</run_depend> | |
19 | 20 | |
20 | 21 | <export> |
21 | 22 | <rosdoc config="rosdoc.yaml"/> |
159 | 159 | Compute the full type name of message/service 'pkg/type'. |
160 | 160 | |
161 | 161 | :param package_name: name of package file is in, ``str`` |
162 | :file_name: name of the msg og srv file, ``str`` | |
162 | :file_name: name of the msg or srv file, ``str`` | |
163 | 163 | :returns: typename in format 'pkg/type' |
164 | 164 | :raises: :exc:`MsgGenerationException` if file_name ends with an unknown file extension |
165 | 165 | """ |
233 | 233 | |
234 | 234 | def __init__(self, types, names, constants, text, full_name, package = '', short_name = ''): |
235 | 235 | """ |
236 | :param types: list of field types, in order of declaration, ``[str]]`` | |
237 | :param names: list of field names, in order of declaration, ``[str]]`` | |
236 | :param types: list of field types, in order of declaration, ``[str]`` | |
237 | :param names: list of field names, in order of declaration, ``[str]`` | |
238 | 238 | :param constants: List of :class:`Constant` declarations, ``[Constant]`` |
239 | :param text: text of declaration, ``str` | |
239 | :param text: text of declaration, ``str`` | |
240 | 240 | :raises: :exc:`InvalidMsgSpec` If spec is invalid (e.g. fields with the same name) |
241 | 241 | """ |
242 | 242 | alt_package, alt_short_name = package_resource_name(full_name) |