Michael Carroll
e8491ab8ab
Change #if to #ifdef. ( #229 )
...
Needed because you can't use preprocessor on undefined variables in
MISRA.
2018-05-01 17:25:24 -05:00
Ethan Gao
54d06f5654
Str mem leak rebased ( #185 )
...
* * memory leak issues
address those memory leak issues with the API
rcutils_set_formatted_error which is defined
in rcutils
Signed-off-by: Ethan Gao <ethan.gao@linux.intel.com>
* * Address those memory leak issues with new MACRO
add macro RCL_SET_ERROR_MSG_WITH_FORMAT_STRING which
is equals RCUTILS_SET_ERROR_MSG_WITH_FORMAT_STRING and
fix the memory leak issues with it
Signed-off-by: Ethan Gao <ethan.gao@linux.intel.com>
* address uncrustify grumble
Signed-off-by: Ethan Gao <ethan.gao@linux.intel.com>
2017-11-16 23:25:02 -08:00
Karsten Knese
3cff9020d1
replace rcl_lifecycle_ret_t with lifecycle_msgs__TRANSITION__CALLBACK* ( #153 )
2017-08-02 14:05:03 -07:00
Karsten Knese
5cdef527de
remove fprintf, use logging macros ( #152 )
...
* remove fprintf, use logging macros
* consistent includes
2017-07-27 07:55:26 -07:00
Karsten Knese
c37bfec072
use rcl_allocator for rcl_lifecycle & namespaced topics ( #142 )
...
* use rcl_allocator for rcl_lifecycle
* correct return value interpretation
* fix unsigned comparison
* use namespace for lifecycle in-built topics
* linters
2017-06-16 14:44:06 -07: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