Skip to content

Instantly share code, notes, and snippets.

@davesnowdon
Created September 22, 2022 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davesnowdon/e0f78d84c2fe2d1162c22306afb65992 to your computer and use it in GitHub Desktop.
Save davesnowdon/e0f78d84c2fe2d1162c22306afb65992 to your computer and use it in GitHub Desktop.
message Say {
string text = 1;
}
message Action {
// delay in milliseconds before triggering the action
int32 delay = 1;
oneof action {
Say say = 2;
}
}
// message from brain to body, instructing the body do take one or more actions
message BodyCommand {
int32 id = 1;
repeated Action actions = 2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment