More de-scope - remove duration on move command

This isn't even needed, as commands can just be queued up
This commit is contained in:
Marc Di Luzio 2020-06-26 22:26:27 +01:00
parent 383e834cef
commit 2f6465987d
10 changed files with 97 additions and 134 deletions

View file

@ -11,8 +11,7 @@ type Command struct {
Command string `json:"command"`
// Used in the move command
Bearing string `json:"bearing,omitempty"`
Duration int `json:"duration,omitempty"`
Bearing string `json:"bearing,omitempty"`
}
// CommandStream is a list of commands to execute in order