Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested implement #14

Merged
merged 132 commits into from
Feb 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
a1b2dc5
start of refactor to allow multiple implementations for optional fiel…
asmodehn Feb 23, 2017
ff7442f
better type checking by introducing typeschemas
asmodehn Mar 6, 2017
00243c8
all opt_as_array tests passing
asmodehn Mar 6, 2017
2cc9040
opt_as_nested seems to work fine now. more tests required...
asmodehn Mar 7, 2017
00c93e6
experimenting with hypothesis for proper testing
asmodehn Mar 8, 2017
44b997a
improved typechecker, not relying on ROS types for it anymore.
asmodehn Mar 10, 2017
8813c3e
more typechecker hypothesis tests
asmodehn Mar 11, 2017
128b490
improved type checker tests
asmodehn Mar 12, 2017
613d2b7
now able to generate type checker from rosmsg type
asmodehn Mar 13, 2017
27cca9a
fixing opt_as_array tests
asmodehn Mar 13, 2017
3c42e8e
now seems to work fine with catkin_pip
asmodehn Mar 14, 2017
ee978b2
fixing array tests
asmodehn Mar 14, 2017
a25d453
small improvements. all array tests running...
asmodehn Mar 16, 2017
b1ccf9e
adding catkin_pip as dependency
asmodehn Mar 16, 2017
b7ae355
Merge pull request #5 from asmodehn/hypothesis
asmodehn Mar 16, 2017
03486a1
reorganized tests.
asmodehn Mar 20, 2017
0f48651
refining tests
asmodehn Mar 20, 2017
c3560ef
fixing imports for test runs. other small fixes.
asmodehn Mar 22, 2017
a19e03e
fixing basic common tests to work with xenial version of hypothesis.
asmodehn Mar 23, 2017
170f8f9
finalizing optional fields as nested implementation
asmodehn Mar 27, 2017
3352952
adding dependency on hypothesis. now patching messages inside opt_as_…
asmodehn Mar 29, 2017
caa5d47
adding tests and dependency on hypothesis
asmodehn Mar 29, 2017
263f84b
renamed subpackage common to typecheck. fixed tests.
asmodehn Mar 31, 2017
d5b08c0
fixing setup.py with proper name
asmodehn Mar 31, 2017
7e08679
more common -> typecheck renaming
asmodehn Mar 31, 2017
2e218c7
fixing travis checks
asmodehn Mar 31, 2017
0c5e67e
adding python-pytest dependency
asmodehn Mar 31, 2017
1ee94c2
modifying travis script to run pytest directly on install directory.
asmodehn Mar 31, 2017
e598f25
fixing test assert that could break on set repr with different order
asmodehn Apr 3, 2017
8a8d2d1
adding setup.py custom command to generate message modules.
asmodehn Apr 5, 2017
6d36050
found a method usable by tox to generate ros messages. needs refining...
asmodehn Apr 5, 2017
a16eff7
adding pyros-setup as dependency, plus a few comments
asmodehn Apr 5, 2017
9e3713e
making test work for jade. But we still depend on pure ROS package py…
asmodehn Apr 5, 2017
8b597d7
some fixes still WIP
asmodehn Apr 6, 2017
c419d78
adapted set_opt_bool to dynamically generate and import message class…
asmodehn Apr 7, 2017
efbb04e
fix to handle rosmsg_py dependency path search during generation.
asmodehn Apr 10, 2017
189902e
fixing all tests for opt_as_array with runtime message generation
asmodehn Apr 10, 2017
b5e2fa3
fixed all tests
asmodehn Apr 10, 2017
a31750e
moving ros_genmsg_py and improving API
asmodehn Apr 11, 2017
c4c5f6b
improved message generation and tests
asmodehn Apr 12, 2017
aed257f
improving code to make it more ROS independent.
asmodehn Apr 12, 2017
a363793
tox fixes...
asmodehn Apr 12, 2017
1504c66
fixing path for package message
asmodehn Apr 13, 2017
ada8f3d
adding importer tests into tox
asmodehn Apr 13, 2017
a1a44a9
Merge pull request #1 from asmodehn/nested_implement
yotabits Apr 13, 2017
74d506d
fixing hardcoded path of generator for test.
asmodehn Apr 13, 2017
7e64592
WIP. attempting to generate all messages at once
asmodehn Apr 13, 2017
13cc816
fixing pyros_msgs.msg path in nested test
asmodehn Apr 14, 2017
13d192b
Added test for int16 and int 32
yotabits Apr 14, 2017
cb5b269
Added test for uint8 in opt_as_array
yotabits Apr 14, 2017
2d3bd63
Added test for uint16 in opt_as_array
yotabits Apr 14, 2017
aed4a63
fixing a bunch of tests for catkin. WIP before rosmsg_generator refac…
asmodehn Apr 14, 2017
aa7bb8b
Added test for uint32 in opt_as_array
yotabits Apr 14, 2017
d6b7cb6
Added test for uint64 in opt_as_array
yotabits Apr 14, 2017
b75f375
Merge pull request #8 from yotabits/nested_implement
asmodehn Apr 14, 2017
f192ff2
refactored how we do generation to privilege the common usecase.
asmodehn Apr 14, 2017
c7e242c
Added test for int8 in opt_as_nested
yotabits Apr 14, 2017
31ebda5
fixing generator tests
asmodehn Apr 14, 2017
3f636aa
fixing setup.py usage of generator
asmodehn Apr 14, 2017
e6b8376
Small fix on test_opt_int8 in opt_as_nested
yotabits Apr 14, 2017
3273fbb
fixing import_msgsrv to handle namespace packages properly.
asmodehn Apr 14, 2017
0c02cb3
Merge branch 'nested_implement' of https://github.com/asmodehn/pyros-…
asmodehn Apr 14, 2017
6279fcd
Added test for int16 in opt_as_nested
yotabits Apr 14, 2017
3268fbd
Added test for int32 in opt_as_nested
yotabits Apr 14, 2017
85aa7f5
fixing array test to use new msg_generate
asmodehn Apr 14, 2017
337b9c6
Merge pull request #9 from asmodehn/fixing_catkin_tests
asmodehn Apr 14, 2017
b930ec0
Added test for int64 in opt_as_nested
yotabits Apr 14, 2017
3b64018
Merge pull request #2 from asmodehn/nested_implement
yotabits Apr 14, 2017
ad35fd6
cleaning up doc and comments
asmodehn Apr 14, 2017
7f3e4bd
adding yaml as dependency since our genpy source code relies on it.
asmodehn Apr 14, 2017
17a3a80
adding quantified code badge
asmodehn Apr 14, 2017
b915ecf
fixing yaml dependency name
asmodehn Apr 14, 2017
626bfc5
Adapted all int type size tests
yotabits Apr 17, 2017
1f58304
Added test for uint8 in opt_as_nested
yotabits Apr 17, 2017
ea8d7ae
Added test for uint16 in opt_as_nested
yotabits Apr 17, 2017
a6cc90e
Added test for uint32 in opt_as_nested
yotabits Apr 17, 2017
9be8a5e
Added test for uint64 in opt_as_nested
yotabits Apr 17, 2017
3dce1d8
testing...
yotabits Apr 17, 2017
43c2780
testing...
yotabits Apr 17, 2017
88a9dd4
testing...
yotabits Apr 17, 2017
00e1b57
Merge pull request #3 from asmodehn/nested_implement
yotabits Apr 18, 2017
d98aeb5
Fixed test_opt_duration in opt_as_array
yotabits Apr 18, 2017
3d04064
stand alone working
yotabits Apr 19, 2017
90467c2
Added test for string in opt_as_nested
yotabits Apr 20, 2017
b07c03d
Added test for std_empty in opt_as_nested
yotabits Apr 20, 2017
84e4a64
Added test for duration in opt_as_nested
yotabits Apr 21, 2017
b74d12a
Merge pull request #10 from yotabits/nested_implement
asmodehn Apr 24, 2017
be89378
Added test for time in opt_as_nested
yotabits Apr 26, 2017
6382a81
now nesting using type checker method instead of duplicating it.
asmodehn Apr 26, 2017
fdd2e87
Merge pull request #16 from yotabits/nested_implement
asmodehn Apr 26, 2017
fd83ec1
preparing for ros release
asmodehn May 16, 2017
8717f1a
0.1.1
asmodehn May 16, 2017
96c96c4
requiring pytest 2.5.1 to match trusty package
asmodehn May 31, 2017
6125dd3
WIP beginning of custom importer implementation
asmodehn Jun 16, 2017
18729f7
WIP improving ROS import finder for latest python 2.7
asmodehn Jun 16, 2017
06390f8
WIP importer improvements
asmodehn Jun 16, 2017
7a6629c
WIP improving ROS import finder for python 3.5
asmodehn Jun 16, 2017
72d2a0b
WIP improved test structure, now using more basic unittest.
asmodehn Jun 19, 2017
41a2873
WIP extracted tests out of package to be able to test importing from …
asmodehn Jun 20, 2017
52b108f
WIP python code generation starting to work...
asmodehn Jun 20, 2017
6c21efa
WIP import tests starting to pass !
asmodehn Jun 21, 2017
57f6565
WIP import test passing, added pytest-boxed.
asmodehn Jun 22, 2017
71c21ae
importlib tests passing
asmodehn Jun 23, 2017
2eaa2e0
importing services definitions now works on py3.4
asmodehn Jun 23, 2017
141d533
unified ROSloaders
asmodehn Jun 23, 2017
48acde6
WIP starting to backport for python2.7
asmodehn Jun 23, 2017
392bfc5
import with implicit namespace package working on 2.7
asmodehn Jun 26, 2017
8575e20
python2 generated modules import working!
asmodehn Jun 27, 2017
c6b2654
some cleanup
asmodehn Jun 27, 2017
457e576
extracting filefinder to separate pip package
asmodehn Jun 28, 2017
79a01f0
moving importer out to rosimport, and fixing tests.
asmodehn Jul 14, 2017
b4147e8
tox tests now passing on python 2.7 with dev version of rosimport.
asmodehn Jul 14, 2017
9184e7b
moving tests out of package to avoid changing python import logic wit…
asmodehn Jul 18, 2017
3977350
fixing hypothesis deprecation warnings.
asmodehn Jul 18, 2017
1d8652a
removing rosimport submodule since it has been released.
asmodehn Jul 18, 2017
e4a8f3e
attempting to fix setup.py to include .msg
asmodehn Jul 18, 2017
a441052
restructuring to extract tests, fix package dist, replace ros submodu…
asmodehn Jul 27, 2017
df3129c
activating python3 support
asmodehn Aug 7, 2017
501d1bc
configuring travis matrix with tox envs.
asmodehn Aug 8, 2017
3936813
attempting to fix link between travis and tox.
asmodehn Aug 8, 2017
12e69ad
Merge pull request #23 from asmodehn/travis_matrix
asmodehn Aug 8, 2017
e2b894e
restructuring requirements for different tests with different version…
asmodehn Aug 8, 2017
56af94c
Merge pull request #21 from asmodehn/importer
asmodehn Aug 8, 2017
a26bbe5
nested implementations now passing tests
asmodehn Aug 30, 2017
8c572f0
encode/decode already taken care of by genpy
asmodehn Aug 30, 2017
ccd2ea7
tox indigo test now uses debs for test tools.
asmodehn Aug 30, 2017
19c0030
not testing latest python3 on ubuntu not supporting it.
asmodehn Aug 30, 2017
c44e1fd
somewhat cleaner test run. Now relying on pypi released test depends.
asmodehn Aug 31, 2017
ce3c7c2
moving version to base package.
asmodehn Sep 5, 2017
70aaf0c
added README comments about CI, tests and PR merges.
asmodehn Feb 7, 2018
53dc120
fixing travis links in README
asmodehn Feb 7, 2018
625f0c6
fixing tests in CMakeLists
asmodehn Feb 7, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
*.pyc
build
dist
.tox
.hypothesis
*.egg-info
.cache
.idea
__pycache__

6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "tests/rosdeps/std_msgs"]
path = tests/rosdeps/std_msgs
url = https://github.com/ros/std_msgs.git
[submodule "tests/rosdeps/ros_comm_msgs"]
path = tests/rosdeps/ros_comm_msgs
url = https://github.com/ros/ros_comm_msgs.git
86 changes: 37 additions & 49 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,63 +1,51 @@
sudo: required
language: generic
services:
- docker
language: python

branches:
except:
- gh-pages
- gh-pages

env:
global:
- CONTAINER_NAME=pyros_msgs_docker
# This will check any ROS distro supported on this OS
# checking devel and install separately so that they don't influence each other (dependencies, path, env, etc.)
matrix:
- ROS_DISTRO=indigo ROS_FLOW=devel
- ROS_DISTRO=indigo ROS_FLOW=install
# These will be used to determine the proper version of our dependencies
# We will NOT rely on a full ROS installation.
- ROS_DISTRO=indigo
- ROS_DISTRO=kinetic
# Latest not LTS
- ROS_DISTRO=lunar
# to get latest dependencies (not released in a ROS distro yet)
- ROS_DISTRO=latest

python:
# always test python2 (default supported python version for ROS1)
- 2.7
# always test latest python3 (to guarantee recent python support)
- 3.6
#- pypy
#- pypy3

# Add specific python3 versions
matrix:
include:
# explicitely matching python version to the version on the ubuntu distro supported by the ROS LTS distro
- python: 3.4
env: ROS_DISTRO=indigo
- python: 3.5
env: ROS_DISTRO=kinetic
exclude:
# explicitely exclude python3 version not supported by matching linux distro
- python: 3.6
env: ROS_DISTRO=indigo
- python: 3.6
env: ROS_DISTRO=kinetic

- ROS_DISTRO=jade ROS_FLOW=devel
- ROS_DISTRO=jade ROS_FLOW=install

- ROS_DISTRO=kinetic ROS_FLOW=devel
- ROS_DISTRO=kinetic ROS_FLOW=install

before_install:
# Getting docker ros image
- docker pull ros:${ROS_DISTRO}-ros-core
# Running as daemon
- docker run --name ${CONTAINER_NAME} -d -t ros:${ROS_DISTRO}-ros-core /bin/bash | tee container.id
# Switching to use ros shadow fixed packages
- docker exec -ti ${CONTAINER_NAME} /bin/bash -c "sed -i.bak -e s,packages.ros.org/ros/ubuntu,packages.ros.org/ros-shadow-fixed/ubuntu, /etc/apt/sources.list.d/ros-latest.list"
# Checking current container
- docker ps -a
- docker exec -ti ${CONTAINER_NAME} hostname
- docker exec -ti ${CONTAINER_NAME} uname -a
- docker exec -ti ${CONTAINER_NAME} cat /etc/lsb-release

install:
# refreshing packages
- docker exec -ti ${CONTAINER_NAME} apt-get update
# TMP Patch because rosdep doesnt declare a dependency to sudo yet (2016-08-25) and it doesnt come with xenial
- docker exec -ti ${CONTAINER_NAME} apt-get install sudo -y
# TMP Patch because catkin doesnt declare a dependency to gcc yet (2016-09-02) and it doesnt come in ros image
- docker exec -ti ${CONTAINER_NAME} apt-get install build-essential -y

# refreshing rosdep
- docker exec -ti ${CONTAINER_NAME} rosdep update
# copying local clone to the running container (volume is currently broken)
- docker cp . ${CONTAINER_NAME}:/git_clone
# Installing package dependencies
- docker exec -ti ${CONTAINER_NAME} rosdep install --default-yes --from-paths /git_clone --rosdistro $ROS_DISTRO

# full ROS setup, build and test
- pip install tox tox-travis

script:
- CONTAINER_ID=$(cat container.id)
- docker ps -a
- docker exec -ti ${CONTAINER_NAME} /bin/bash -c "source /opt/ros/$ROS_DISTRO/setup.bash && rospack profile"
# Passing env vars here since passing in docker run currently breaks (2016-08-25)
- docker exec -ti ${CONTAINER_NAME} /bin/bash -c "export ROS_DISTRO=$ROS_DISTRO && export ROS_FLOW=$ROS_FLOW && /git_clone/travis_checks.bash"
- docker stop "${CONTAINER_ID}"
- tox

notifications:
email: false

151 changes: 151 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package pyros_msgs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.1.1 (2017-05-16)
------------------
* Merge pull request `#16 <https://github.com/asmodehn/pyros-msgs/issues/16>`_ from yotabits/nested_implement
Added test for time in opt_as_nested
* now nesting using type checker method instead of duplicating it.
* Added test for time in opt_as_nested
The actual test seems to be failing because the type checker seems to be waiting
for int32 datatype instead of uint32
* Merge pull request `#10 <https://github.com/asmodehn/pyros-msgs/issues/10>`_ from yotabits/nested_implement
Adding tests in opt_as_nested
* Added test for duration in opt_as_nested
* Added test for std_empty in opt_as_nested
* Added test for string in opt_as_nested
This include also a small bug fix in the typechecker, now object of type any
can "contain" objects of type any aswell
* stand alone working
* Fixed test_opt_duration in opt_as_array
Actually Ros does not allow to have negative nano-seconds:
1s, -100 000 000ns
will be transformed into
900 000 ns
in the case we test with limit values this could create issues
so the testing limit values have been changed
* Merge pull request `#3 <https://github.com/asmodehn/pyros-msgs/issues/3>`_ from asmodehn/nested_implement
Nested implement
* testing...
* testing...
* testing...
* Added test for uint64 in opt_as_nested
* Added test for uint32 in opt_as_nested
* Added test for uint16 in opt_as_nested
* Added test for uint8 in opt_as_nested
* Adapted all int type size tests
* fixing yaml dependency name
* adding quantified code badge
* adding yaml as dependency since our genpy source code relies on it.
* cleaning up doc and comments
* Merge pull request `#2 <https://github.com/asmodehn/pyros-msgs/issues/2>`_ from asmodehn/nested_implement
Nested implement
* Added test for int64 in opt_as_nested
* Merge pull request `#9 <https://github.com/asmodehn/pyros-msgs/issues/9>`_ from asmodehn/fixing_catkin_tests
Fixing catkin tests
* fixing array test to use new msg_generate
* Added test for int32 in opt_as_nested
* Added test for int16 in opt_as_nested
* Merge branch 'nested_implement' of https://github.com/asmodehn/pyros-msgs into fixing_catkin_tests
* fixing import_msgsrv to handle namespace packages properly.
recovered accidently lost comment for namespace package in __init_\_.
* Small fix on test_opt_int8 in opt_as_nested
* fixing setup.py usage of generator
* fixing generator tests
* Added test for int8 in opt_as_nested
* refactored how we do generation to privilege the common usecase.
now generating message into a temporary directory.
fixed all tests for basic pytest.
* Merge pull request `#8 <https://github.com/asmodehn/pyros-msgs/issues/8>`_ from yotabits/nested_implement
Nested implement
* Added test for uint64 in opt_as_array
* Added test for uint32 in opt_as_array
* fixing a bunch of tests for catkin. WIP before rosmsg_generator refactor.
* Added test for uint16 in opt_as_array
* Added test for uint8 in opt_as_array
* Added test for int16 and int 32
Added test for int16 and int32 for opt_as_array
* fixing pyros_msgs.msg path in nested test
* WIP. attempting to generate all messages at once
so that starting tests in same or different interpreter doesnt matter anymore
* fixing hardcoded path of generator for test.
* Merge pull request `#1 <https://github.com/asmodehn/pyros-msgs/issues/1>`_ from asmodehn/nested_implement
Nested implement
* adding importer tests into tox
* fixing path for package message
adding test for using rosmsg_generator module directly
fixing tests
* tox fixes...
* improving code to make it more ROS independent.
* improved message generation and tests
* moving ros_genmsg_py and improving API
* fixed all tests
but still a problem remain : reloading package of newly generated module...
* fixing all tests for opt_as_array with runtime message generation
* fix to handle rosmsg_py dependency path search during generation.
* adapted set_opt_bool to dynamically generate and import message class for tests.
* some fixes still WIP
* making test work for jade. But we still depend on pure ROS package pyros_utils.
* adding pyros-setup as dependency, plus a few comments
* found a method usable by tox to generate ros messages. needs refining...
* adding setup.py custom command to generate message modules.
* fixing test assert that could break on set repr with different order
* modifying travis script to run pytest directly on install directory.
* adding python-pytest dependency
* fixing travis checks
* more common -> typecheck renaming
* fixing setup.py with proper name
* renamed subpackage common to typecheck. fixed tests.
* adding tests and dependency on hypothesis
* adding dependency on hypothesis. now patching messages inside opt_as_array package
* finalizing optional fields as nested implementation
* fixing basic common tests to work with xenial version of hypothesis.
* fixing imports for test runs. other small fixes.
* refining tests
* reorganized tests.
* Merge pull request `#5 <https://github.com/asmodehn/pyros-msgs/issues/5>`_ from asmodehn/hypothesis
Hypothesis
* adding catkin_pip as dependency
* small improvements. all array tests running...
* fixing array tests
* now seems to work fine with catkin_pip
* fixing opt_as_array tests
* now able to generate type checker from rosmsg type
* improved type checker tests
* more typechecker hypothesis tests
* improved typechecker, not relying on ROS types for it anymore.
* experimenting with hypothesis for proper testing
* opt_as_nested seems to work fine now. more tests required...
* all opt_as_array tests passing
* better type checking by introducing typeschemas
* start of refactor to allow multiple implementations for optional fields... added lots of doctests.
* adding travis badge
* updating Readme to reflect opt_as_nested as WIP
* now travis uses shadow-fixed repository
* adding pyros_utils as dependency
* adding python-six as system dependency
* Merge pull request `#1 <https://github.com/asmodehn/pyros-msgs/issues/1>`_ from asmodehn/http
optional fields implemented as array
* Merge branch 'http' of https://github.com/asmodehn/pyros-msgs into http
* cleaning up wrong init file
* Merge branch 'master' into http
* adding README
* adding _opt_slots field to the punched message type.
other changes to get all httpbin tests to pass.
* slightly different way to initializa when doing opt_as_array
* attempting travis fix. comments.
* resurrecting optional message fields, since it is necessary to make explicit the intent of having an optional field in a message.
* added readme for dropping repo.
* WIP. commit before changing internal dict representation of optional messages
* extending path if needed to get ros generated messages. useful when running from here (nose has his own import behavior).
* adding http status code message
* base optional message types and test template
* cleanup bad __init_\_ file. added ignore for *.pyc and build/
* small refactoring. fixed all tests.
* adding dependency on marshmallow
* adding roslint as build depend
* standard message types implemented with doc test. added travis files.
* Started implementing standard ROS message -> dict serialization
* Initial commit
* Contributors: AlexV, Thomas, alexv, yotabits
58 changes: 7 additions & 51 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,68 +10,22 @@ project(pyros_msgs)
##############################################################################

find_package(catkin REQUIRED COMPONENTS
roslint
catkin_pip
std_msgs
message_generation
message_runtime
)


catkin_python_setup()


# Lint Python modules
file(GLOB_RECURSE ${PROJECT_NAME}_PY_SRCS
RELATIVE ${PROJECT_SOURCE_DIR} src/pyros_msgs/*.py)
roslint_python(${${PROJECT_NAME}_PY_SRCS})


#####
# MESSAGES
#####

add_message_files(
DIRECTORY
msg/opt_as_nested
FILES
opt_empty.msg
opt_bool.msg
opt_int8.msg
opt_int16.msg
opt_int32.msg
opt_int64.msg
opt_uint8.msg
opt_uint16.msg
opt_uint32.msg
opt_uint64.msg
opt_float32.msg
opt_float64.msg
opt_string.msg
opt_time.msg
opt_duration.msg
opt_header.msg
)

add_message_files(
DIRECTORY
msg/opt_as_array
msg
FILES
test_opt_empty_as_array.msg
test_opt_bool_as_array.msg
test_opt_int8_as_array.msg
test_opt_int16_as_array.msg
test_opt_int32_as_array.msg
test_opt_int64_as_array.msg
test_opt_uint8_as_array.msg
test_opt_uint16_as_array.msg
test_opt_uint32_as_array.msg
test_opt_uint64_as_array.msg
test_opt_float32_as_array.msg
test_opt_float64_as_array.msg
test_opt_string_as_array.msg
test_opt_time_as_array.msg
test_opt_duration_as_array.msg
test_opt_header_as_array.msg
OptionalFields.msg
)

generate_messages(DEPENDENCIES std_msgs)
Expand All @@ -82,14 +36,16 @@ generate_messages(DEPENDENCIES std_msgs)
# Catkin
##############################################################################

catkin_package()
catkin_pip_package(pyros_msgs)

#########
# Tests
#######

if (CATKIN_ENABLE_TESTING)
catkin_add_nosetests(tests)
catkin_add_pytests(tests/test_pyros_msgs/typecheck)
catkin_add_pytests(tests/test_pyros_msgs/opt_as_array)
catkin_add_pytests(tests/test_pyros_msgs/opt_as_nested)
endif()


7 changes: 7 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# default
include README.rst
include setup.py

# including tests in sdist
recursive-include tests *
recursive-exclude tests .hypothesis
12 changes: 0 additions & 12 deletions README.md

This file was deleted.

Loading