start motor

def start_motor(self):
        '''start motor'''
        if not self.valid_starter_settings():
            return
        self.motor_t1 = time.time()
        self.stopping_motor = False

        if self.gasheli_settings.ignition_disable_time > 0:
            self.old_override = self.module('rc').get_override_chan(self.gasheli_settings.ignition_chan-1)
            self.module('rc').set_override_chan(self.gasheli_settings.ignition_chan-1, 1000)
            self.starting_motor = True
        else:
            # nothing more to do
            self.starting_motor = False

        # setup starter run
        self.master.mav.command_long_send(self.target_system,
                                          self.target_component,
                                          mavutil.mavlink.MAV_CMD_DO_REPEAT_SERVO, 0,
                                          self.gasheli_settings.starter_chan,
                                          self.gasheli_settings.starter_pwm_on,
                                          1,
                                          self.gasheli_settings.starter_time*2,
                                          0, 0, 0)
        print("Starting motor")