-
Notifications
You must be signed in to change notification settings - Fork 14
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
ntcore: TimestampedRaw should provide bytes, not list[int] #45
Labels
bug
Something isn't working
Comments
I just tried it by modifying the simple_*.py examples to getRaw/setRaw and this isn't the case, it returns bytes. Closing unless there's a reproducer. |
virtuald
changed the title
ntcore sometimes returns list[int] instead of bytes?
ntcore: TimestampedRaw should provide bytes, not list[int]
Dec 17, 2023
virtuald
added a commit
that referenced
this issue
Dec 17, 2023
- std::vector<uint8_t> is only used in raw contexts, so the type caster intercepts and converts the value automatically to/from bytes - Fixes #45 - There may be other places we could use this technique?
virtuald
added a commit
that referenced
this issue
Dec 18, 2023
- std::vector<uint8_t> is only used in raw contexts, so the type caster intercepts and converts the value automatically to/from bytes - Fixes #45 - There may be other places we could use this technique?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mentioned in passing by Photonvision folks, but I don't know any of the details.
Originally posted by @gerth2 in PhotonVision/photonvision#1040 (comment)
The text was updated successfully, but these errors were encountered: