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

def cmd_dropobject(self, obj):
        '''drop an object on the map'''
        latlon = self.module('map').click_position
        if self.last_click is not None and self.last_click == latlon:
            return
        self.last_click = latlon
        if latlon is not None:
            obj.setpos(latlon[0], latlon[1])
            self.aircraft.append(obj)