Using BuiltInWidgets in pynetworktables?

I’m using pynetworktables for my own project outside of FRC, and I’d like to display my robot’s individual wheel speeds using the Mecanum Drive base widget, but i can’t seem to find a way to use the widgets. I can successfully post data on NetworkTables and they show up on Shuffleboard, but nowhere in the documentation does it say how to use the widgets. Any help?

According to someone else who knows more about Shuffleboard than I:

They’d need to mimic the MecanumDrive sendable structure in networktables

The java version of the MecanumDrive code is pretty easy to understand, here’s what properties and such are set as part of the sendable interface: allwpilib/wpilibj/src/main/java/edu/wpi/first/wpilibj/drive/MecanumDrive.java at ee3b4621e565d4f21eb0b4141e6f68ce6eebda2d · wpilibsuite/allwpilib · GitHub

1 Like

So, how could i recreate the structure? I just discovered the project and i’m new to all this (i used to be hardware) so i’m not really familiar, and the only sendable i found on the docs is SendableChooser.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.