![]() |
NETWORK TABLE HELP! (ROBOREALM)
I was wondering if anyone knows how to get the Network Table values from RoboRealm to eclipse so I can use that data for vision tracking. right now we are just getting the default values for the network table. If you need a picture of the network table or the code then email me at mlyhoops@hotmail.com
|
Re: NETWORK TABLE HELP! (ROBOREALM)
Have you gotten a response? My team is having the same issues.
|
Re: NETWORK TABLE HELP! (ROBOREALM)
MY Team is ALSO having the same problems, only with a Raspberry PI.
We can see the NetworkTables in the LabView dashboard, but according to the code on our RoboRio, our "GRIP" Table does not exist. We also tried sending the values to a Sub-Table, and just writing the variables in the SmartDashboard table. No matter where we put them, the LabView dashboard COULD see them, and our RoboRio code COULD NOT. Any help would be fantastic, our team is completely stumped. |
Re: NETWORK TABLE HELP! (ROBOREALM)
It might be helpful to run the OutlineViewer and attach it to your networkTable and then browse the entries to see where they ended up (sometimes they have an extra or missing level of hierarchy than what you were expecting.
c:\users\<username>\wpilib\tools\OutlineViewer set the address to roborio-####-frc.local (#### being your team number) and run the client. This will let you snoop on the data and see what's going on. If you see nothing, then it's possible that either your vision processing code isn't writing data, or is even writing it to a different table instance entirely (e.g. to localhost, instead of to the RIO's networkTable instance) in a pinch, you can just jam data into the table that way and see if your robot code sees it-- that might get you moving on the consumption side while someone debugs the producer side in parallel... |
Re: NETWORK TABLE HELP! (ROBOREALM)
FWIW, here's the code we were running earlier today to extract the vision data for target tracking.
in vision.java (autogenerated subsystem from RobotBuilder): Code:
// create a new constructorCode:
public double getRawTargetXpos() { |
| All times are GMT -5. The time now is 08:59 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi