right now i have this
Code:
public NetworkTable table = NetworkTable.getTable("Grip/TowerTarget");
Width = table.getNumber("width", 0.0);
SmartDashboard.putNumber("width :", width);
should i use this instead?
Code:
public NetworkTable table = NetworkTable.getTable("Grip/TowerTarget");
Width = table.getNumberArray("width", 0.0);
SmartDashboard.putNumber("width :", width[0]);