uav_simple_tracking/src/uav_simple_tracking.cpp
void lost_callback (const cpswarm_msgs::TargetPositionEvent::ConstPtr& msg)
{
    if (msg->id == target.id)
        state = STATE_ABORTED;
}
/**
 * @brief Callback function to receive event that target has been lost.
 * @param msg ID and position of target.
 */
@brief Callback function to receive event that target has been lost.
@param msg ID and position of target.
@brief Callback function to receive event that target has been lost . @param msg ID and position of target .
void lost_callback (const cpswarm_msgs::TargetPositionEvent::ConstPtr& msg)
{
    if (msg->id == target.id)
        state = STATE_ABORTED;
}
void lost_callback ( const cpswarm_msgs :: TargetPositionEvent :: ConstPtr & msg ) { if ( msg -> id == target . id ) state = STATE_ABORTED ; }
@brief Callback function to receive event that target has been lost.
@brief Callback function to receive event that target has been lost .