Hi everybody,
I was just wondering how I could use smart dashboard to get data from a smart dashboard widget.
Thanks,
Dimitri
Hi everybody,
I was just wondering how I could use smart dashboard to get data from a smart dashboard widget.
Thanks,
Dimitri
Driver side; stick this in your widget where you think it’s best.
NetworkTable.getTable("SmartDashboard").putValue("Your key", yourValue);
Robot side; this is to grab the data you sent from the driver’s station. Put it where you think it’s best in your robot code.
Object value = SmartDashboard.getValue("Your key");