|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Network table problems
Hello everyone,
I have been trying to develop an off board image processing program for my team. The actual image processing works fine but when I try to send the data back to the robot, it gets a little sketchy. On the laptop side I am putting number onto the network table with the following( in a nutshell ): NetworkTable table; Table.getTable("key").putnumber("X" , -1); Everytime I try to put the number to the table, which is when it sees a square, the video feed freezes. However when I remove the square from the view of the camera, e feed resumes. I guess what I am asking is, what would be the proper way to transmit data from the laptop (driverstation) to the robot? Thank you! |
|
#2
|
||||
|
||||
|
Re: Network table problems
Can you provide a little more info on when you're calling:
Code:
Table.getTable("key").putnumber("X" , -1);
Just a guess without knowing a little more about your situation... When a target is in the view of your camera, are you flooding the dashboard/robot with data? The video freezing on the dashboard is indicative of something between the camera and dashboard getting real busy. Again, just a guess. |
|
#3
|
||||
|
||||
|
Re: Network table problems
Quote:
If your dashboard is a display of your "processed" image, then it could be a problem in how you are sending your data. I don't have experience with sending images, so maybe someone else can fill that in for me. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|