Touch screen adjacent to the driver station

This year, we’re planning to integrate a touchscreen alongside our dual joystick driver controls to enhance the efficiency of our driving system and improve driver comfort. What’s the best way to implement this into our command-based Java code? And what are the best tools and touch screens for this task?

Use NetworkTables to send values from the driver station laptop to the robot, then read them in the robot code. NetworkButton (WPILib API 2025.2.1) may be helpful.

The easiest way is probably to create a separate application that interfaces with your robot code using network tables.

3015 created a really nice touchscreen dashboard for their 2023 robot. They created a flutter app and used their own Dart network tables library. There are also several libraries that allow you to do this with HTML and Javascript (pynetworktables2js, nt4.js).

Pygame is also good for things like this, I love using it for guis