New upstream version 0.5.14
Jochen Sprickerhof
4 years ago
0 | 0 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
1 | 1 |
Changelog for package genmsg
|
2 | 2 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
3 |
|
|
4 |
0.5.14 (2020-01-17)
|
|
5 |
-------------------
|
|
6 |
* switch to setuptools, add add buildtool depend on setuptools (`#90 <https://github.com/ros/genmsg/issues/90>`_)
|
|
7 |
|
|
8 |
0.5.13 (2020-01-16)
|
|
9 |
-------------------
|
|
10 |
* fix escape sequences (`#89 <https://github.com/ros/genmsg/issues/89>`_)
|
|
11 |
* Python 3 compatibility (`#86 <https://github.com/ros/genmsg/issues/86>`_)
|
|
12 |
* improve MsgNotFound exception information
|
3 | 13 |
|
4 | 14 |
0.5.12 (2019-03-04)
|
5 | 15 |
-------------------
|
14 | 14 |
|
15 | 15 |
catkin_python_setup()
|
16 | 16 |
|
17 | |
install(
|
|
17 |
catkin_install_python(
|
18 | 18 |
PROGRAMS scripts/genmsg_check_deps.py
|
19 | 19 |
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
|
20 | 20 |
|
0 | 0 |
<?xml version="1.0"?>
|
1 | |
<package>
|
|
1 |
<?xml-model
|
|
2 |
href="http://download.ros.org/schema/package_format3.xsd"
|
|
3 |
schematypens="http://www.w3.org/2001/XMLSchema"?>
|
|
4 |
<package format="3">
|
2 | 5 |
<name>genmsg</name>
|
3 | |
<version>0.5.12</version>
|
|
6 |
<version>0.5.14</version>
|
4 | 7 |
<description>
|
5 | 8 |
Standalone Python library for generating ROS message and service data structures for various languages.
|
6 | 9 |
</description>
|
7 | 10 |
<maintainer email="dthomas@osrfoundation.org">Dirk Thomas</maintainer>
|
8 | 11 |
<license>BSD</license>
|
9 | 12 |
|
10 | |
<url type="website">http://www.ros.org/wiki/genmsg</url>
|
|
13 |
<url type="website">http://wiki.ros.org/genmsg</url>
|
11 | 14 |
<url type="bugtracker">https://github.com/ros/genmsg/issues</url>
|
12 | 15 |
<url type="repository">https://github.com/ros/genmsg</url>
|
13 | 16 |
|
14 | 17 |
<author>Troy Straszheim</author>
|
15 | 18 |
<author>Morten Kjaergaard</author>
|
16 | 19 |
<author>Ken Conley</author>
|
|
20 |
<author>Dirk Thomas</author>
|
17 | 21 |
|
18 | 22 |
<buildtool_depend version_gte="0.5.74">catkin</buildtool_depend>
|
19 | |
<run_depend>catkin</run_depend>
|
20 | |
<run_depend>python-empy</run_depend>
|
|
23 |
<buildtool_depend condition="$ROS_PYTHON_VERSION == 2">python-setuptools</buildtool_depend>
|
|
24 |
<buildtool_depend condition="$ROS_PYTHON_VERSION == 3">python3-setuptools</buildtool_depend>
|
|
25 |
<exec_depend>catkin</exec_depend>
|
|
26 |
<exec_depend condition="$ROS_PYTHON_VERSION == 2">python-empy</exec_depend>
|
|
27 |
<exec_depend condition="$ROS_PYTHON_VERSION == 3">python3-empy</exec_depend>
|
21 | 28 |
|
22 | 29 |
<export>
|
23 | 30 |
<rosdoc config="rosdoc.yaml"/>
|
0 | |
#!/usr/bin/env python
|
1 | |
|
2 | |
from distutils.core import setup
|
|
0 |
from setuptools import setup
|
3 | 1 |
from catkin_pkg.python_setup import generate_distutils_setup
|
4 | 2 |
|
5 | 3 |
d = generate_distutils_setup(
|
0 | |
#! /usr/bin/env python
|
1 | 0 |
# Software License Agreement (BSD License)
|
2 | 1 |
#
|
3 | 2 |
# Copyright (c) 2008, Willow Garage, Inc.
|
112 | 112 |
# NAME VALIDATORS
|
113 | 113 |
|
114 | 114 |
#ascii char followed by (alphanumeric, _, /)
|
115 | |
RESOURCE_NAME_LEGAL_CHARS_P = re.compile('^[A-Za-z][\w_\/]*$')
|
|
115 |
RESOURCE_NAME_LEGAL_CHARS_P = re.compile(r'^[A-Za-z][\w_\/]*$')
|
116 | 116 |
def is_legal_resource_name(name):
|
117 | 117 |
"""
|
118 | 118 |
Check if name is a legal ROS name for filesystem resources
|
|
130 | 130 |
# '//' check makes sure there isn't double-slashes
|
131 | 131 |
return m is not None and m.group(0) == name and not '//' in name
|
132 | 132 |
|
133 | |
BASE_RESOURCE_NAME_LEGAL_CHARS_P = re.compile('^[A-Za-z][\w_]*$') #ascii char followed by (alphanumeric, _)
|
|
133 |
BASE_RESOURCE_NAME_LEGAL_CHARS_P = re.compile(r'^[A-Za-z][\w_]*$') #ascii char followed by (alphanumeric, _)
|
134 | 134 |
def is_legal_resource_base_name(name):
|
135 | 135 |
"""
|
136 | 136 |
Validates that name is a legal resource base name. A base name has
|
0 | |
#!/usr/bin/env python
|
1 | 0 |
# Software License Agreement (BSD License)
|
2 | 1 |
#
|
3 | 2 |
# Copyright (c) 2008, Willow Garage, Inc.
|
190 | 190 |
|
191 | 191 |
# types and names mismatch
|
192 | 192 |
try:
|
193 | |
MsgSpec(['int32', 'int32'], ['intval'], [], 'int32 intval\int32 y', 'x/Mismatch')
|
|
193 |
MsgSpec(['int32', 'int32'], ['intval'], [], 'int32 intval\nint32 y', 'x/Mismatch')
|
194 | 194 |
assert False, "types and names must align"
|
195 | 195 |
except: pass
|
196 | 196 |
|