initialize sequence number of client (#395)
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
This commit is contained in:
parent
85a46726b6
commit
4f9e6bc12f
1 changed files with 1 additions and 0 deletions
|
@ -175,6 +175,7 @@ rcl_client_init(
|
|||
}
|
||||
// options
|
||||
client->impl->options = *options;
|
||||
atomic_init(&client->impl->sequence_number, 0);
|
||||
RCUTILS_LOG_DEBUG_NAMED(ROS_PACKAGE_NAME, "Client initialized");
|
||||
ret = RCL_RET_OK;
|
||||
goto cleanup;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue