![]() |
JAVA GUI W/Camera(s)
Our team has previously done dashboards in smart dashboard and labview. Smart dashboard leaves a lot to be desired and labview is another monster. Last year we wrote a Java swing GUI that would communicate via network tables and send and receive integers. I'm guessing that will make it closing to doing doubles and Booleans as well.
We would like to do vision on board the bot this year. The goal is to have one or two cameras sending video to an onboard PC AND back to the dashboard GUI. I am the mentor and haven't done this type of thing before. I'm looking for some direction if anyone has experience with this. We're looking at using Java FX this year to develop the GUI. Past that I'm wondering about two camera(s) that could be connected to either the roborio or the onboard PC. Grip will be processing on the onboard PC. From this I'm assuming we could stream one of the two camera feeds back to the dashboard. How do we stream video? How do we receive the stream in FX? Should the cameras be attached to the RoboRio or the onboard PC? Thanks for any input ahead! Rob |
Re: JAVA GUI W/Camera(s)
Again, edit once I realized I was wrong and misunderstood you. The two tutorials below have instructions on how to set it up, and you can just use the same IP listed in the tutorials to be on your smart dashboard. There are lots of examples of how to display MJEG streamer, the simplest just being a browser window. I wrote an entire two page simple tutorial, realized I was wrong, then realized GRIP had a much better tutorial here: https://github.com/WPIRoboticsProjec...Raspberry-Pi-2 It says Raspberry Pi 2, but most of these will have the exact same instuctions (minus a few things that we can help with). There's also this tutorial on the official FRC documentation that is PC based instead of Pi based: https://s3.amazonaws.com/screensteps...pdf?1482933081 If you need any further help, feel free to respond. |
| All times are GMT -5. The time now is 21:35. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi