Message: "s1 and s3 must be enabled"

Hello guys, how are you doing?

I’m trying to use the lua script created by @Yuri_Rage to control my rover motors using the L298N dc motor driver. But when i set the parameters following the ones descripted on the commit, i get the “s1 and s3 must be enabled” message. Did someone succeed using this kind of setup and could share the modified parameters?

P.S: I know that the commit wasn’t finshed yet, but i would like to try it anyway.

Thanks in advance.

Hugs from Brazil.

The full message is “Relays 1 and 3 must be enabled.” It spans two lines.

You didn’t follow the instructions in the markdown.

1 Like

Hi Yuri, i didn’t see the full message.

Thank you so much. I’ll continue with the testing here, but i didn’t get any messages or warnings so far.

Commits are all finished and have been for a week.

Pull request was submitted upon my own testing. It hasn’t been merged to the master branch yet, likely due to time constraints on those who manage the repository.

Eu queria saber como ficou seu esquema elétrico, fiz o meu rover ano passado antes de ter essa solução nova, não entendi o esquema do pino de 3.3v, será que posso largar a alimentação via jumper ?

Qual controladora você está usando? É a Pixhawk 4?

tou usando a 2.4, a mais antiguinha

Natan, dei uma verificada aqui no Markdown dessa solução e acredito que possa sim. A única coisa que é comentada é que a função desse pino é para justamente que a ponte H possa ter uma tensão de referência. Então, acredito que é válido você deixar conectado com um jumper.

No meu caso, não deixei esse pino conectado e mesmo assim funcionou.