Commit graph

224 commits

Author SHA1 Message Date
Loïc Dauphin
415612f8af time OS-specific implementation chosen by CMakeLists.txt (#124) 2017-04-17 23:54:54 -07:00
Karsten Knese
08d9763ce7 use string_array_t from c_utilities package (#118)
* use c_utilities package

* add doc for get_node_names

* fix typo

* fixup docs

* fix tests to handle return value of destroy function
2017-04-14 16:18:23 -07:00
Loïc Dauphin
a78c18b58b Debug stdatomic_helper.h (#117) 2017-04-11 10:54:15 -07:00
Karsten Knese
2678316863 fix cmake for test - remove unused params (#116)
* fix cmake for test - remove unused params

* set env variable for rmw_implementation
2017-04-11 08:54:58 -07:00
Dirk Thomas
9f1459733a Merge pull request #115 from esteve/honor-build-shared-libs-2
Control shared/static linking via BUILD_SHARED_LIBS and ament_cmake_ros
2017-04-10 08:16:57 -07:00
William Woodall
64f1b16d2f add concept of node namespace to rcl API (#112)
* add concept of node namespace to rcl API

also validate node name and node namespace

* name_space -> namespace_

* doc clarification

* make use of rmw_validate_namespace()

* clear expected error messages in test_node.cpp

* avoid unused invalid_index

* include the validation result value when it is unknown

* use _snprintf_s on windows

* uncrustify
2017-04-08 02:04:51 -07:00
Esteve Fernandez
7d389e0d51 Control shared/static linking via BUILD_SHARED_LIBS and ament_cmake_ros 2017-04-07 15:03:29 +02:00
Dirk Thomas
77ee3f987c Merge pull request #114 from ros2/revert-93-honor-build-shared-libs
Revert "Control shared/static linking via BUILD_SHARED_LIBS"
2017-04-05 15:53:59 -07:00
Dirk Thomas
5c35549009 Revert "Control shared/static linking via BUILD_SHARED_LIBS" 2017-04-05 15:53:40 -07:00
Dirk Thomas
d5a0b42e83 Merge pull request #93 from esteve/honor-build-shared-libs
Control shared/static linking via BUILD_SHARED_LIBS
2017-04-05 12:47:35 -07:00
Dirk Thomas
93ad1ae4fd add rcl_init_time_source (#113)
* add rcl_init_time_source / rcl_fini_time_source

* docs
2017-04-03 12:57:00 -07:00
Esteve Fernandez
ef8901876c Control shared/static linking via BUILD_SHARED_LIBS and ament_cmake_ros 2017-03-22 18:13:08 +01:00
dhood
41c2595b8b Label skipped tests (#109) 2017-02-13 11:59:23 -08:00
Karsten Knese
0291f4e351 Rosnode list (#108)
* expose list of nodes

* add test

* review comments

* add test for get_node_names

* fix unsigned comparison

* extend year of copyright
2017-01-30 10:30:26 -08:00
Dirk Thomas
88db558aa3 Merge pull request #107 from ros2/remove_include
remove unnecessary include
2017-01-09 14:09:15 -08:00
Dirk Thomas
ed4a65c1a7 remove unnecessary include 2017-01-09 13:53:53 -08:00
Dirk Thomas
c429f2e18c Merge pull request #106 from ros2/use_rmw_impl
use rmw implementation
2017-01-09 08:54:15 -08:00
Dirk Thomas
7a54a0e32f remove obsolete CMake functions 2017-01-06 15:51:47 -08:00
dhood
c6b050e7c7 Fix cmake for appending c/cxx flags (#104) 2017-01-06 07:48:32 +10:00
Dirk Thomas
72e7d03198 use rmw implementation 2017-01-05 12:02:04 -08:00
Mikael Arguedas
e3c1427591 dependency order (#105) 2017-01-05 17:28:08 +01:00
Dirk Thomas
b1a30f0ecd Merge pull request #102 from ros2/typesupport_c_reloaded
typesupport c reloaded
2016-12-28 09:02:33 -08:00
Hunter Allen
5f74a081e1 Require C11 (#101)
* Made CMake enforce the C11 standard during build.
2016-12-23 08:34:17 -08:00
Dirk Thomas
da2897982a typesupport c reloaded 2016-12-22 09:47:40 -08:00
William Woodall
88888fb672 Doxygen setup (#98)
* basic doxygen configuration

* fix documentation: rendering, typos, etc

* add main page with directory

* add rmw tag files and fix file references

* generate tag file

* generalizing

* avoid showing RCL_* function macros

* remove colliding and unnecessary section
2016-12-20 18:30:03 -08:00
Dirk Thomas
d681d29219 replace deprecated <CONFIGURATION> with <CONFIG> 2016-12-20 11:38:30 -08:00
Dirk Thomas
638f976783 Merge pull request #99 from ros2/fix_test
add missing wait-for-server-being-available
2016-12-15 16:02:37 -08:00
Dirk Thomas
73393dff3c add missing wait-for-server-being-available 2016-12-15 16:02:12 -08:00
Karsten Knese
a18ef97e5a add rcl lifecycle
* (refactor) add rcl_lifecycle package

* (refactor) cleanup free calls

* (fix) initialize state machine with external node handle

* (dev) use external typesupport

* (fix) use external typesupport

* (fix) cleanup states

* (fix) no pointer comparison in state machine

* (test) refactor for rcl testing purpose

* (test) test suite for lifecycle sequence

* (dev) change to rcl_ret_t

* (test) wrong transition test

* (fix) dependency for isolated build

* (clean) remove std_msgs as a dep

* (fix) enable correct visibility control

* (fix) correct test for initialization

* (fix) correct visibility attributes

* (dev) change default value to lifecycle_msgs

* (clean) style and lifecycle prefix

* (dev) cmake macro get_rcl_lifecycle_information

* (cleanup) remove unused files'

* (cleanup) remove callback pointer

* (debug) add print state machine function

* (review) address review comments

* (bugfix) correct export in information.cmake

* (fix) correct visibility control

* (vcs) fix convertion from size_t to unsigned int

* (typo) fix internal struct name

* const correctness

* get_available_states service

* new service msgs

* tes for multiple instances

* (dev) return codes

* initial refactor

* test default sequence

* refactor state machine

* apply upstream changes

* c++14

* disable state machine print

* address review comments

* uncrustify

* fix comparison with unsigned warning
2016-12-14 09:28:54 -08:00
dhood
4590fc5f77 Print warning when transient local used for services (#96)
* Print warning when transient local used for services

* Fixup
2016-12-13 16:26:32 -08:00
Morgan Quigley
748703066d c++14 (#94) 2016-12-13 14:41:07 -08:00
Mikael Arguedas
3658932230 Canceled timers (#95)
* don't wake up on canceled timers

* test wait with canceled timers
2016-12-11 14:31:19 -08:00
William Woodall
6bc013dd28 triggering a guard condition is not const (#89)
* triggering a guard condition is not const

* missed a const
2016-12-09 17:10:16 -08:00
Dirk Thomas
e93544861c Merge pull request #92 from ros2/typesupport_reloaded
update to use refactored typesupport
2016-12-08 14:00:37 -08:00
Dirk Thomas
b64bb0eec0 update to use refactored typesupport 2016-12-02 18:11:28 -08:00
Mikael Arguedas
723e561b80 Mark blacklisted tests as skipped (#90)
* support skipping tests

* skip blacklisted test_graph test

* deduplicate function call

* rename _SKIP_TEST to SKIP_TEST

* arg order
2016-11-30 10:20:48 -08:00
Dirk Thomas
8ecb08cb6e Merge pull request #88 from ros2/fix_error_msg
remove error msg from valid case
2016-11-10 10:53:51 -08:00
Dirk Thomas
a19dcbd0b8 remove error msg from valid case 2016-11-09 16:57:01 -08:00
Mikael Arguedas
545cb5602c Revert "cast time at macro expansion (#86)" (#87)
This reverts commit 5fe6c528f3.
2016-11-04 11:36:15 -07:00
Mikael Arguedas
5fe6c528f3 cast time at macro expansion (#86) 2016-11-04 10:59:44 -07:00
William Woodall
74574a4ff5 support local graph changes in Connext (#67)
* pass node to client and service destroy funcs

* address a flaky test with connext, will ticket

* invert test_graph exclusion logic

* use zero initialization of tnat in test_graph

* change is_connext logic
2016-10-28 18:30:52 -07:00
Mikael Arguedas
32bcd0d760 Zero init topic names and types (#85)
* initialize topic_names_and_type struct in rcl

* sanity check in get_topic_names_and_types

* uncrustify

* initialize all fields...

* address documentation request

* typo
2016-10-27 19:00:06 -07:00
Esteve Fernandez
7661ab2202 Return correct error when rcl_take_request fails 2016-10-09 10:23:55 +09:00
Lennart Nachtigall
77b034840b Removed RCL_RET_CLIENT_INVALID from documentation for rcl_send_response (#80)
* Removed RCL_RET_CLIENT_INVALID from documentation for rcl_send_response

* rcl_send_response has RCL_RET_SERVICE_INVALID in its documentation now
2016-09-23 15:35:49 -07:00
William Woodall
66208db876 remove mentions of "taken" bool in rcl_take (#74) 2016-09-16 15:32:42 -07:00
Dirk Thomas
d7120e57fd Merge pull request #79 from ros2/fix_no_data_handling
fix no data handling
2016-09-15 15:05:43 -07:00
Dirk Thomas
4058e44ffc fix no data handling 2016-09-15 13:25:16 -07:00
William Woodall
9c97489c53 check for alloc failure when copying argv (#68) 2016-08-30 15:36:59 -07:00
William Woodall
03900d6af9 call to rmw_init, despite the lack of rmw_shutdown (#69)
See: https://github.com/ros2/rclcpp/pull/207/files#r73983227
2016-08-26 18:08:58 -07:00
gerkey
0abda63db3 Merge pull request #75 from ros2/fix_time_arm32
Avoid overflow on 32-bit machines when working with large ns values
2016-08-24 17:05:24 -07:00