Rmw preallocate (#428)
* Proposola of changes for RMW_Preallocate. Related /ros2/rmw#160 Signed-off-by: Gonzalo de Pedro <gonzalo@depedro.com.ar> * Changed RCL interface Signed-off-by: Gonzalo de Pedro <gonzalo@depedro.com.ar> * Updates for allocation in serialize methods. Signed-off-by: Michael Carroll <michael@openrobotics.org> * Fix tests for new APIs. Signed-off-by: Michael Carroll <michael@openrobotics.org>
This commit is contained in:
parent
4262d4cb29
commit
3d48555597
10 changed files with 63 additions and 29 deletions
|
@ -255,7 +255,7 @@ rcl_lifecycle_com_interface_publish_notification(
|
|||
msg.goal_state.id = goal->id;
|
||||
rosidl_generator_c__String__assign(&msg.goal_state.label, goal->label);
|
||||
|
||||
return rcl_publish(&com_interface->pub_transition_event, &msg);
|
||||
return rcl_publish(&com_interface->pub_transition_event, &msg, NULL);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue