|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Tower Tracker 1.0
Would you be open to sharing the C++ version?
|
|
#2
|
||||
|
||||
|
Re: Tower Tracker 1.0
https://github.com/team2053tigertron...016/src/vision
Its a bit messy, and the algorithm is a bit different, but you can change it easily. Also, im getting resource initialized error after a while. It might be an array error. Last edited by jreneew2 : 21-01-2016 at 12:56. |
|
#3
|
|||
|
|||
|
Re: Tower Tracker 1.0
Also interested in running this on RoboRio and in C++. Anyone have any luck compiling a C++ WPIlib robot program with some opencv in it? If so, I'd love to hear how you did it.
|
|
#4
|
|||
|
|||
|
Re: Tower Tracker 1.0
Thanks for sharing that! How did you get the opencv libraries onto the roborio? I've been having some trouble with that
|
|
#5
|
|||
|
|||
|
Re: Tower Tracker 1.0
wow! Amazing!
I just wish that we had something like that in labview :/ |
|
#6
|
|||
|
|||
|
Re: Tower Tracker 1.0
It works with labview! all you have to do is output to a network table, and from there you can get the values in labview.
|
|
#7
|
||||
|
||||
|
Re: Tower Tracker 1.0
Nicely done.
So how would you use this to get the values of the contours? Lets say I want my robot to "auto" shoot when the contours are a specific dimension. Anyway I can do that with this ? Thanks. |
|
#8
|
|||
|
|||
|
Re: Tower Tracker 1.0
Quote:
essentially you need to find the amount that your shooter can be off (tolerance) while still "scoring", for instance it can make it anywhere from 6-8 feet from the goal. Then you need to make sure your robot keeps driving until it is somewhere between that tolerance and then it can start its fire sequence. I would recommend looking into a pid drive system for that, its a closed loop drive that would work nicely with this. |
|
#9
|
||||
|
||||
|
Re: Tower Tracker 1.0
Quote:
Quote:
|
|
#10
|
|||
|
|||
|
Re: Tower Tracker 1.0
Quote:
Greg McKaskle |
|
#11
|
|||
|
|||
|
Re: Tower Tracker 1.0
Quote:
|
|
#12
|
|||
|
|||
|
Re: Tower Tracker 1.0
Nevermind, I have no idea what I'm doing.
|
|
#13
|
|||
|
|||
|
Re: Tower Tracker 1.0
why are you trying to run it on a jetson or something else...
|
|
#14
|
||||
|
||||
|
Re: Tower Tracker 1.0
FYI, anyone looking for a precompiled version of opencv 3.1 for the roboRIO, the robotpy project has had one available since before build season. Works with C++, Java, and Python 2/3 -- very easy to install the shared libraries on the roboRIO through our opkg repo.
https://github.com/robotpy/roborio-opencv |
|
#15
|
|||
|
|||
|
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- |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|