Commit graph

315 commits

Author SHA1 Message Date
Dirk Thomas
35add7f8cc remove trailing spaces from comparisons, obsolete quotes and explicit variable expansion 2016-06-16 09:19:20 -07:00
Dirk Thomas
9f5fb0fb5e require CMake 3.5 2016-06-15 11:35:56 -07:00
Dirk Thomas
10c14e02e0 suppress cpplint warning 2016-06-14 12:18:06 -07:00
William Woodall
fd3d4a21e8 de-duplicate documentation 2016-06-13 16:29:45 -07:00
Dirk Thomas
4f252bc31a Merge pull request #62 from ros2/xenial
fix compiler warning
2016-06-10 10:43:54 -07:00
Dirk Thomas
41573e3540 fix compiler warning 2016-06-10 09:48:43 -07:00
Jackie Kay
ef5690278b adjust timing in flaky Windows test (#60)
Adjust "wait_period" to be much greater than "trigger_period" in multi-threaded waitset test
2016-06-06 17:44:41 -07:00
William Woodall
17845ae1f9 Clarify wait concurrency (#59)
* fix bug where "wait set empty" check was wrong

* clarify rcl_wait is thread-safe with unique sets

* style fixup

* explicitly capture const local variables

this is required on Windows, but not gcc/clang
2016-06-02 16:08:56 -07:00
William Woodall
818b15463b add graph functions to support wait_for_service (#57)
* add graph functions to support wait_for_service

* is_ready -> is_available

* add function to create rcl_guard_condition from an existing rmw_guard_condition

* create graph guard condition in node automatically

* tests for graph API

* style fixup

* remove debug stuff from test_graph

* only enable test_graph for OpenSplice

* fixup

* add rcl_node_is_valid function

* add tests for new graph API functions

* fixup

* reorder the destruction of node vs waitset

this also addressed the segfault issues, but the
proper fix was committed to rmw_opensplice_cpp
while this ordering is not strictly necessary it
is slightly more correct

* disable missing-field-intializers warning

it's too strict and will be relaxed in newer gcc's

* use to_string since type changes with OS

* use more specific gtest assert to avoid warning

* added a secondary check in the test_graph.test_rcl_service_server_is_available test

* uncrustify

* doc fixup

* condition pragma on not _WIN32
2016-05-28 15:14:38 -07:00
Jackie Kay
2811eb1312 Keep service around until client exits (#48)
* Keep service around until client exits

* use ignore_signal return handler
2016-05-03 15:55:55 -07:00
William Woodall
2c9320f5b0 check rmw id using RCL_ASSERT_RMW_ID_MATCHES (#51)
* check rmw id using RCL_CHECK_RMW_ID_MATCHES_OR_DIE

* return a more distinct return code on mismatch

* rename env var to RCL_ASSERT_RMW_ID_MATCHES

* [style] fixup
2016-05-03 13:38:49 -07:00
William Woodall
a01943973a fix typo 2016-05-02 19:00:08 -07:00
Dirk Thomas
2c33b23589 Merge pull request #56 from ros2/ctest_build_testing
use CTest BUILD_TESTING
2016-05-02 10:11:27 -07:00
Dirk Thomas
347f520b46 use CTest BUILD_TESTING 2016-04-28 18:44:26 -07:00
dhood
7aeb957c2c Workaround for the change in libnddscore.so in connext 5.2.0 between gcc4.6.3 and gcc4.8.2 (#55)
* Workaround for the change in libnddscore.so in connext 5.2.0 between gcc4.6.3 and gcc4.8.2

* Prefix macro variables with underscore
2016-04-28 15:27:12 -07:00
Jackie Kay
11753a3dd3 Cmake issues (#53)
* Clean up cmake infrastructure for tests
2016-04-26 15:54:51 -07:00
Jackie Kay
148962dbc4 Fix atomics on Windows (#49)
* Fix atomics on Windows
2016-04-24 21:23:39 +00:00
Jackie Kay
b3db5ee364 tests for rcl_wait (#45)
* Add tests for rcl_wait and fix for timers
2016-04-18 18:03:51 -07:00
Jackie Kay
5a2d6cca73 include launch in the package.xml (#46) 2016-04-18 16:54:48 -07:00
Jackie Kay
cdea6aee82 Add test for inter-process services (#44)
* Add remote (inter-process) services test for rcl and change default QoS profile for services.
2016-04-15 16:29:20 -07:00
Jackie Kay
b7ac94be43 handle negative timeout (#43) 2016-04-14 13:18:22 -07:00
Jackie Kay
3f886e075f Make timer callback optional and fix timer logic
Make timer callback optional and fix wait bugs
2016-04-01 18:14:12 -07:00
Jackie Kay
087315b4c6 Guard conditions: remove node from constructor, fix header
* Use specific name for subscription topic

* Remove references to node in the guard condition API, it's not needed

* Provide implementation of guard_condition_trigger with the correct name

* Change to trigger_guard_condition

* remove fixed guard conditions
2016-04-01 14:06:32 -07:00
Jackie Kay
e40323205e Fix rmw array semantics
Fix RMW semantics
2016-04-01 13:51:45 -07:00
Dirk Thomas
2d2dfb7d76 Merge pull request #39 from ros2/fix_cppcheck_warning_take_2
fix syntax on Linux and Windows
2016-03-31 17:25:12 -07:00
Dirk Thomas
80b1759d36 fix syntax on Linux and Windows 2016-03-31 17:18:20 -07:00
Jackie Kay
08e24a50e9 Merge pull request #37 from ros2/revert_test
take out test case
2016-03-31 16:13:29 -07:00
Dirk Thomas
1936e12321 Merge pull request #38 from ros2/fix_cppcheck_warning
fix unknownEvaluationOrder warning
2016-03-31 14:19:28 -07:00
Dirk Thomas
c7362e3163 fix unknownEvaluationOrder warning 2016-03-31 13:33:58 -07:00
Jackie Kay
8865150fdc take out test case 2016-03-31 12:49:12 -07:00
Jackie Kay
6a1ca6ef6d Merge pull request #36 from ros2/resize_to_zero
Add fix and regression test for resize to zero bug
2016-03-31 12:46:39 -07:00
Jackie Kay
2ebc7d71c4 Add fix for resize to zero bug with test 2016-03-31 12:45:22 -07:00
Jackie Kay
2749c08f60 Add test for resize to zero bug 2016-03-31 10:22:21 -07:00
Jackie Kay
3c15afa630 Merge pull request #35 from ros2/invalid_null_check
Remove check argument for null from int64_t
2016-03-30 13:22:06 -07:00
Jackie Kay
a8787601fc Remove check argument for null from int argument 2016-03-30 13:10:55 -07:00
Jackie Kay
494cfc5f2b Merge pull request #30 from ros2/c_services
C clients/services
2016-03-24 16:55:04 -07:00
Jackie Kay
534a49c480 Add services and clients 2016-03-24 15:23:41 -07:00
Jackie Kay
1932e052ec Merge pull request #29 from ros2/topic_name_test
add test for topic name
2016-03-09 15:29:24 -08:00
Jackie Kay
18fbfad116 add test for topic name 2016-03-09 15:27:46 -08:00
Dirk Thomas
fcee889f55 fix uncrustify warnings 2016-03-04 08:19:43 -08:00
William Woodall
526690786f Merge pull request #31 from ros2/unique_names_for_tests
tests generated for each RMW impl must have unique names to be distinguishable
2016-03-04 02:02:07 +00:00
Dirk Thomas
1d94f29fec tests generated for each RMW impl must have unique names to be distinguishable 2016-03-03 16:07:20 -08:00
Jackie Kay
0fe857cf08 Merge pull request #25 from ros2/introspection_cpp
Reenable rmw_connext_dynamic_cpp
2016-02-29 10:58:47 -08:00
Jackie Kay
e17825844b Don't ignore rmw_connext_dynamic_cpp 2016-02-29 09:32:12 -08:00
Dirk Thomas
ceb45be168 Merge pull request #26 from ros2/fix_cpplint_root
fix style of header include guard
2016-02-19 11:42:05 -08:00
Dirk Thomas
9e8ed95dad fix style of header include guard 2016-02-19 09:52:43 -08:00
Tully Foote
9b2199f178 Merge pull request #24 from ros2/opensplice_node_test
Fix node test for opensplice on Windows
2016-02-16 17:09:40 -08:00
Jackie Kay
7e578a8fd6 Make failed rcl_node_init to clean up fully, to allow recreating a node.
Update tests to not mask the improper cleanup.
2016-02-12 15:58:09 -08:00
William Woodall
02cc077145 Merge pull request #23 from ros2/fix_windows_test_running
extend the library path with the location of the memory tools also
2016-02-12 12:21:29 -08:00
William Woodall
775428de89 extend the library path with the location of the memory tools also 2016-02-12 10:46:45 -08:00