File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ typedef enum rcl_subscription_event_type_t
3939 RCL_SUBSCRIPTION_REQUESTED_DEADLINE_MISSED ,
4040 RCL_SUBSCRIPTION_LIVELINESS_CHANGED ,
4141 RCL_SUBSCRIPTION_REQUESTED_INCOMPATIBLE_QOS ,
42+ RCL_SUBSCRIPTION_MESSAGE_LOST ,
4243} rcl_subscription_event_type_t ;
4344
4445/// rmw struct.
Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ rcl_subscription_event_init(
118118 case RCL_SUBSCRIPTION_REQUESTED_INCOMPATIBLE_QOS :
119119 rmw_event_type = RMW_EVENT_REQUESTED_QOS_INCOMPATIBLE ;
120120 break ;
121+ case RCL_SUBSCRIPTION_MESSAGE_LOST :
122+ rmw_event_type = RMW_EVENT_MESSAGE_LOST ;
123+ break ;
121124 default :
122125 RCL_SET_ERROR_MSG ("Event type for subscription not supported" );
123126 return RCL_RET_INVALID_ARGUMENT ;
You can’t perform that action at this time.
0 commit comments