def start(self):
        ''' Run the script from the beginning or unpause from where it
            was before.
        '''
        laststate = self.state
        self.state = self.STATE_RUNNING
        if laststate == self.STATE_STOPPED or laststate == self.STATE_RUNNING:
            self.loopwaypoints()
            self.timezero = 0
            self.lasttime = 0
            self.run()
        elif laststate == self.STATE_PAUSED:
            now = time.time()
            self.timezero += now - self.lasttime
            self.lasttime = (0.001 * self.refresh_ms) - now
            self.runround()
dataset/ETHPy150Open coreemu/core/daemon/core/mobility.py/WayPointMobility.start/swapped operands of `-`