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