Hello, I am trying to send some simple double values from the smart dashboard to the robot the problem is the data does not appear to be recieved and I get a flood of messages from the network tables such as the ones below.
I believe you have to actually create a table called camera before you can try to get anything from it. I don’t have access to the javadocs for the NetworkTable right now.
Gets the table with the specified key. If a table does not excist, a new table will be created. This will automatically initialize network tables if it has not been already.
to mean that means that no seprate creation is nessasary, but if im wrong how do i create one?
The actual error appears to be “Unknown Network Table Message Type: 12”
I actually was on the wrong track then. It is an issue with communicating using table “camera” probably when you are trying to retrieve a number or it could be when you put the number in.
Perhaps someone else more experienced can help you, I am trying to guess the most likely errors.
Thanks for everyones’ input. I have re-installed the dashboard and no longer get the error. However the data is still not sent from the dashboard to the network tables. I have used the NetworkTable Viewer to determine that the Robot communicates with the Network Tables just fine, but the dashboard seems unable to. I used the code below on the robot to put and retrieve values and this works just fine.
I have had no success repeating this on the dashboard however. If someone could post some SmartDashboard network table code from this season using the new crio image and new SmartDashboard I would very much appreciate it.
I might be wrong, but I thought the SmartDashboard class could only be used on the robot not in the dashboard itself(don’t have it in front of me at the moment)
I am trying to send data from the dashboard to the robot not the other way around. Should I use a table called “SmartDashboard” would that work?
I believe so. We just haven’t gotten to adding it to screenstepslive yet. if you want some examples you can look at the basic widgets that are included with SmartDashboard. There were a few changes in the NetworkTables API but beside that it is the same as last year.
I have a question. When you say SmartDashboard code and Robot Code, where are those? We are very confused as to how you connect RoboRealm to SmartDashboard and what code you need everywhere.