Add debug logging (#187)
* use ROS_PACKAGE_NAME in debug msgs * rcl_lifecycle too * Swap unnamed macros to named * Remove semicolon * Add debug logging * Timer debug logging * Wait debug * A bit less wait debug... * Clearer time output * Remove the wait sublogger * Use conditional logging instead of the else{} * Add 'X finalized' msg * Add send_response logging * Remove extra semicolons * Add publish/take messages * [style nitpick] formatted variables on the next line
This commit is contained in:
parent
9f92f8fa37
commit
7d0045adb8
18 changed files with 186 additions and 73 deletions
|
@ -229,7 +229,7 @@ TEST_F(TestDefaultStateMachine, wrong_default_sequence) {
|
|||
*it == lifecycle_msgs__msg__Transition__TRANSITION_ACTIVATE ||
|
||||
*it == lifecycle_msgs__msg__Transition__TRANSITION_SHUTDOWN) {continue;}
|
||||
|
||||
RCUTILS_LOG_INFO("applying key %u", *it)
|
||||
RCUTILS_LOG_INFO_NAMED(ROS_PACKAGE_NAME, "applying key %u", *it)
|
||||
EXPECT_EQ(
|
||||
RCL_RET_ERROR, rcl_lifecycle_trigger_transition(&state_machine, *it, false));
|
||||
rcl_reset_error();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue