Skip to main content

RawFeedbackCallback

Type Alias RawFeedbackCallback 

Source
pub type RawFeedbackCallback = unsafe extern "C" fn(goal_id: *const GoalUuid, feedback_data: *const u8, feedback_len: usize, context: *mut c_void);
Expand description

Raw action client feedback callback.

Called when feedback is received for an active goal.

§Safety

  • goal_id is valid for the duration of the call
  • feedback_data points to feedback_len valid bytes: the feedback as a whole CDR message, behind the frame’s own encapsulation header, spliced in by the executor on every backend.