![]() |
Re: Tower Tracker 1.0
you can do this on $35 Raspberry pi and save critical RoboRio resources
see this Look here for tracking shronghold goalpost http://www.mindsensors.com/blog/how-...our-frc-robot- |
Re: Tower Tracker 1.0
Quote:
|
Re: Tower Tracker 1.0
Quote:
|
Re: Tower Tracker 1.0
Quote:
Now, would you be willing to help me setup my build environment for cross compiling an OpenCV program in C++ that will use the shared libs on the RoboRio (preferably in Eclipse)? EDIT: Information on setting up build environment is avaible on the latest release on gituhub. Wow, that was easy! |
Re: Tower Tracker 1.0
Can this work with usb cameras?
|
Re: Tower Tracker 1.0
*My java opencv is a little rusty*
Here is how you use a use camera with the opencv libraries and store the image in the data type Mat. VideoCapture camera = new VideoCapture(0); Mat frame = new Mat(); camera.read(frame); instead of videoCapture = new VideoCapture(); //replaces the ##.## with your team number videoCapture.open("http://10.##.##.11/mjpg/video.mjpg"); |
Re: Tower Tracker 1.0
Yes, if you are going to use a usb webcam I would recommend mjpeg streamer and running it off of the driverstation.
|
Re: Tower Tracker 1.0
Quote:
|
Re: Tower Tracker 1.0
My team is trying to use your code to test our vision but every time we run the executable JAR file we get two errors-
"Error opening file </build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:578>" and when we try to use the network table, we get the error "NT: Error: could not resolve roborio-3929.local address <TCPConnecotr.cpp:93>". We've installed opencv 3.1 and we are able to stream camera output to the dashboard. We are using the microsoft livecam 3000. Any help would be appreciated. Thanks! |
Re: Tower Tracker 1.0
1 Attachment(s)
My robotics team is also getting the same error that everyone else is. When we try and run it in the command prompt is gives us the error that it is having a hard time with having Open CV in the library. It can't find it but it is in there. Any ideas on how to fix it? We followed the directions as it said and nothing works. We also added the DLL file in Open CV folder to system 32. I included a screenshot of the error we were getting. Please help.
|
Re: Tower Tracker 1.0
Quote:
Quote:
|
Re: Tower Tracker 1.0
Quote:
|
Re: Tower Tracker 1.0
Quote:
|
Re: Tower Tracker 1.0
I modified the code to output distance values to the network table. When I add code to put the distance value on the dashboard, no values show up. Also, when I use the OutlineViewer to check any networktable values (with the localhost as "roboRIO-3929-FRC.local"), nothing shows up except the Root folder. Did you get the network table to work?
|
Re: Tower Tracker 1.0
Quote:
Code:
while(!NetworkTable.isConnected()){} |
| All times are GMT -5. The time now is 22:01. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi