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

Airdrop Protobufs #5

Open
Tyler-Lentz opened this issue Oct 6, 2023 · 0 comments
Open

Airdrop Protobufs #5

Tyler-Lentz opened this issue Oct 6, 2023 · 0 comments
Assignees

Comments

@Tyler-Lentz
Copy link
Contributor

Tyler-Lentz commented Oct 6, 2023

🚀 Feature

Define protobuf messages for data types that the GCS and OBC both interact with. These can include competition specific information such as the types of target colors, what information is tagged with a water bottle, data associated with classified targets, etc.

Part One

  1. Browse https://protobuf.dev/programming-guides/proto3/ (enumerations)
  2. Clone this repo, create new branch called feat/airdrop_protos https://tritonuas.github.io/wiki/software/workshops/contents/02_git_deep_dive/#creating-a-new-feature-branch
  3. wipe all the old files (keep README and gitignore
  4. create airdrop.proto, do work in here
  5. Read through https://github.com/tritonuas/gcs/blob/master/internal/obc/airdrop/datatypes.go, Convert these three types into protobuf messages
  6. Read through https://github.com/tritonuas/obcpp/blob/main/include/utilities/datatypes.hpp, turn the enumerations into
  7. Before you made the color and shapes as strings for the bottle message. Change these to now use the enumerations instead of strings. (This is better because they have to be valid, and can't just be any random string)
  8. Learn how to compile to Go and C++, and do this. Read this for help: https://protobuf.dev/getting-started/cpptutorial/ and send a DM or ask at meetings.

Later on we will evaluate design of system and decide if there are any more messages we want to send. This will come later.

@Tyler-Lentz Tyler-Lentz changed the title OBC <-> GCS Protobugfs Airdrop Protobufs Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants