a0, a1, a2, a3, b0, b1, b2, b3) # -------------------------------------------------------------------------------- (status_placa_pare, _, _) = trata.sinalizacao_direita(imagem_sinalizacao_dir) # -------------------------------------------------------------------------------- status_obstaculo_vl53x = False gerencia.movimento_frente(var.velNormal, ctr_vel_motor_dir, ctr_vel_motor_esq) # -------------------------- Condicionais Placas--------------------------------- if (status_placa_pare is True): while (tempoDeteccao <= var.CONST_TEMPO_PLC_PARE): gerencia.luz_de_freio() gerencia.interrupcao_movimento(ctr_vel_motor_dir, ctr_vel_motor_esq) tempoDeteccao += 1 gerencia.desliga_luzes() print("Identificou a placa pare!") break # ----------------------------- DEFININDO COMANDOS ------------------------------ (MOVIMENTO_FRENTE, CORRECAO_MOTOR_DIR_VISAO, CORRECAO_MOTOR_ESQ_VISAO, DETECCAO_OBSTACULOS_VISAO, FAIXA_CONTENCAO_VISAO, FAIXA_CONTENCAO_FOTO) = gerencia.definicao_de_comandos( status_a0, status_a1, status_a2, status_a3, status_b0, status_b1, status_b2, status_b3, status_visao_faixa_dir, status_visao_faixa_esq, status_faixa_contencao_visao, status_obstaculo_vl53x)