Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG]: NT struct array topic doesn't publish schema #60

Closed
truher opened this issue Jan 9, 2024 · 2 comments
Closed

[BUG]: NT struct array topic doesn't publish schema #60

truher opened this issue Jan 9, 2024 · 2 comments
Assignees

Comments

@truher
Copy link
Contributor

truher commented Jan 9, 2024

Problem description

x = ntcore.NetworkTableInstance.getDefault().getStructArrayTopic("foo", Translation2d).publish()
x.set([Translation2d(0,0)])

is rendered as opaque in glass, and there is only one publisher, "foo."

adding

y = ntcore.NetworkTableInstance.getDefault().getStructTopic("foo", Translation2d).publish()
y.set(Translation2d(0,0)

adds the "/.schema" publisher and fixes the array rendering.

Operating System

Linux

Installed Python Packages

No response

Reproducible example code

No response

@virtuald
Copy link
Member

WPILib fix in wpilibsuite/allwpilib#6303

@auscompgeek
Copy link
Member

Fixed in v2024.3.1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants