transition start and goal states can be null (#662)
* transition start and goal states can be null Signed-off-by: Karsten Knese <karsten@openrobotics.org> * correct tests Signed-off-by: Karsten Knese <karsten@openrobotics.org>
This commit is contained in:
parent
c212a0dba4
commit
0de31d0483
2 changed files with 2 additions and 12 deletions
|
@ -132,16 +132,6 @@ rcl_lifecycle_transition_init(
|
|||
return RCL_RET_ERROR;
|
||||
}
|
||||
|
||||
if (!start) {
|
||||
RCL_SET_ERROR_MSG("start state pointer is null\n");
|
||||
return RCL_RET_ERROR;
|
||||
}
|
||||
|
||||
if (!goal) {
|
||||
RCL_SET_ERROR_MSG("goal state pointer is null\n");
|
||||
return RCL_RET_ERROR;
|
||||
}
|
||||
|
||||
transition->start = start;
|
||||
transition->goal = goal;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue