allwpilib
allwpilib copied to clipboard
Sim GUI can't display protobuf data
Describe the bug
When publishing protobuf data, like a Pose2d or Translation2d, Sim GUI will display the fields (like translation
and rotation
for Pose2d or x
and y
for Translation2d) but it won't display the actual data.
To Reproduce Steps to reproduce the behavior:
- Use a ProtobufPublisher to publish an object like Pose2d.
- Run the simulator.
- Observe the lack of data, but the presence of the fields.
Expected behavior Sim GUI should display the data like Glass does.
Screenshots
Glass showing data:
Sim GUI not showing data but showing fields:
Desktop (please complete the following information):
- OS: Windows 11
- WPILib Information: Project Version: 2024.3.2 VS Code Version: 1.84.0 WPILib Extension Version: 2024.3.1 C++ Extension Version: 1.19.1 Java Extension Version: 1.26.2023121408 Java Debug Extension Version: 0.55.2023121302 Java Dependencies Extension Version 0.23.2023120100 Java Version: 17 Java Location: C:\Users\Public\wpilib\2024\jdk Vendor Libraries: NavX (2024.1.0) CTRE-Phoenix (v6) (24.1.0) REVLib (2024.2.0) WPILib-New-Commands (1.0.0)