Skip to main content

RawGoalResponseCallback

Type Alias RawGoalResponseCallback 

Source
pub type RawGoalResponseCallback = unsafe extern "C" fn(goal_id: *const GoalId, accepted: bool, context: *mut c_void);
Expand description

Raw action client goal-response callback.

Called when the action server accepts or rejects a goal.

ยงSafety

  • goal_id is valid for the duration of the call

accepted is true if the goal was accepted, false if rejected.