Skip to content

Commit 6ad620f

Browse files
committed
Instantiate a new ActionClient
1 parent c56212f commit 6ad620f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

rclrs/src/action.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,12 @@ impl<T> ServerGoalHandle<T>
7878
where
7979
T: rosidl_runtime_rs::Action,
8080
{
81-
pub fn new(rcl_handle: Arc<rcl_action_goal_handle_t>) {}
81+
pub fn new(rcl_handle: Arc<rcl_action_goal_handle_t>) -> Self {
82+
Self {
83+
rcl_handle,
84+
_marker: Default::default(),
85+
}
86+
}
8287

8388
pub fn is_canceling(&self) -> bool {
8489
false

0 commit comments

Comments
 (0)