Quote:
Originally Posted by ohrly?
We're using a raspberry pi as well (python+opencv after many years of disappointment with NIVision), and I don't know if we should use network tables or TCP? Recommendations?
Also, I don't know either protocol, so is it worth it to learn the protocols or just use someone else's code?
|
Now that the documentation for NetworkTables has been posted, I'd use that, but you'd have to find a way to use it with Python. Maybe a C middleman would be the easiest way, so you don't have to reimplement NetworkTables in Python. If you don't feel like figuring that out, then I'd stick with either TCP or UDP.
I'll be updating the guide soon as I have the time with more information on using NetworkTables.
Quote:
Originally Posted by violinuxer
Have you guys tried using WPIJavaCV/SmartDashboard? We use it to do image processing and then use NetworkTables to send values back to the robot. I think you may be able to use pure OpenCV functions if you want (via JavaCV) for plenty of power.
Sorry if I'm being redundant...
violinuxer
|
It's certainly possible, I haven't looked into it but I'd love if you guys would share your work. I chose the C/Labview route because it let me use the vision assistant.