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

[Protobuf] Make MultiTarget result optional #1024

Open
wants to merge 99 commits into
base: master
Choose a base branch
from

Conversation

srimanachanta
Copy link
Member

@srimanachanta srimanachanta commented Nov 24, 2023

Passing an isPresent prop in the PNPResult doesn't make much sense instead of just passing an Optional<PNPResult>.

Based on #974 because I am too lazy to reimplement Packet

Also combines the ProtobufMultitargetResult and PNPResult messages and makes ProtobufMultitargetResult optional on ProtoufPipelineResult. This should reduce total serialization byte size as less messages need to be packed and optional saves time.

@srimanachanta srimanachanta requested a review from a team as a code owner November 24, 2023 20:34
@srimanachanta
Copy link
Member Author

Optional Multitarget Protobuf:

Name Size (Bytes)
DriverMode 9 Bytes
Reflective (1 Target) 290 Bytes
AprilTag Normal (4 tags) 1417 Bytes
AprilTag Multitag (4 tags) 1597 Bytes
AprilTag Multitag (4 tags) + Always do SingleTag 1597 Bytes
Aruco Normal (4 tags) 1417 Bytes
Aruco Multitag (4 tags) 1597 Bytes
Aruco Multitag (4 tags) + Always do SingleTag 1597 Bytes

@srimanachanta srimanachanta changed the title Make MultiTarget result optional [Protobuf] Make MultiTarget result optional Dec 19, 2023
@mcm001
Copy link
Contributor

mcm001 commented Oct 13, 2024

needs to be rebased or is this good to close?

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

Successfully merging this pull request may close these issues.

2 participants