'Add a new command (waypoint) at the end of the command list.
.. note::
Commands are sent to the vehicle only after you call ::py:func:`upload() <Vehicle.commands.upload>`.
:param Command cmd: The command to be added.'

def add(self, cmd):

    self.wait_ready()
    self._vehicle._handler.fix_targets(cmd)
    self._vehicle._wploader.add(cmd, comment='Added    by    DroneKit')
    self._vehicle._wpts_dirty = True
