Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controle de energia #6

Open
2 tasks
guimroque opened this issue Apr 12, 2024 · 0 comments
Open
2 tasks

Controle de energia #6

guimroque opened this issue Apr 12, 2024 · 0 comments
Assignees
Labels
val3 Códigos para o controlador em val3

Comments

@guimroque
Copy link
Owner

guimroque commented Apr 12, 2024

  • Energizar o robo
  • Cortar energia

Parametros:

  • enable: bool -> estado da energia no robô

Funcionamento:

  • Ativa ou desativa a energia no robo enablePower() disablePower()
  • Verifica se a instrução foi concluída
  • Envia uma mensagem de feedback, com o nome do evento (definir constante de prefixo POWER) e constantes para o status
  • kill na task criada para execução taskKill(<task_name/>)

Constantes:

  • nome do evento: POWER
  • status: ON, OFF, ERROR
@guimroque guimroque added the val3 Códigos para o controlador em val3 label Apr 12, 2024
@guimroque guimroque self-assigned this Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
val3 Códigos para o controlador em val3
Projects
None yet
Development

No branches or pull requests

1 participant