If a name/value pair is added to either the client (laptop) or server (robot) it is replicated to the other. Network Tables acts as a distributed table of name and value pairs. SmartDashboard uses NetworkTables for communicating values between the robot and the driver station laptop. As you can imagine this is a great way of debugging and getting status of your robot as it is operating. Any time in your program that you write another value with the same name, it appears in the same UI element on the screen on the driver station or development computer. You can write Boolean, Numeric, or String values to the SmartDashboard by simply calling the correct method for the type and including the name and the value of the data, no additional code is required. SmartDashboard: Test Mode and Live Window.Changing the display properties of a value.Displaying Expressions from a Robot Program.
0 Comments
Leave a Reply. |