<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def __callback (self, rgb, d):
        '''
        Callback function to receive and save Rgbd Scans. 

        @param rgb: ROS color Image to translate

        @param d: ROS depth image to translate

        @type rgb: ImageROS

        @type d: ImageROS

        '''
        data = Images2Rgbd(rgb, d)

        self.lock.acquire()
        self.data = data
        self.lock.release()