|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: getting distance from camera
where is target info global?
|
|
#2
|
|||
|
|||
|
Re: getting distance from camera
the target info global is written to in the Vision Processing VI and defined in the Robot Global VI. By default, no code in your project is reading it. You should copy/paste the global node or drag it from the project and select the right variable.
Greg McKaskle |
|
#3
|
|||||
|
|||||
|
Re: getting distance from camera
If you have followed the instructions for integrating the rectangular vision target code into your project, the Target info global variable should be with all the other global variables, in the Robot Global Data vi.
|
|
#4
|
||||
|
||||
|
Re: getting distance from camera
ummmmm....is the global variable supposed to be there?
|
|
#5
|
|||||
|
|||||
|
Re: getting distance from camera
If by "the global variable" you mean "Target info" and if by "there" you mean "in Robot Global Data.vi", then yes. If you mean something else, please ask again with more specific words.
|
|
#6
|
||||
|
||||
|
Re: getting distance from camera
its not there. There is only enable vision, image size, and LED Toggle Rate.
|
|
#7
|
|||||
|
|||||
|
Re: getting distance from camera
Did you follow the instructions for adding the rectangular target processing code to your robot project? Doing that properly will replace the robot globals vi file with one that has the target info included.
|
|
#8
|
||||
|
||||
|
Re: getting distance from camera
can you post a link of where to find that tutorial?
|
|
#9
|
|||||
|
|||||
|
Re: getting distance from camera
It's Tutorial 8—Integrating Vision into Robot Code. Find it, and all the other LabVIEW Getting Started Tutorials, on the Tutorials tab in LabVIEW.
|
|
#10
|
||||
|
||||
|
Re: getting distance from camera
is there anywhere else i can find it, my computer is stupid and won't update the labview home screen with the frc update
|
|
#11
|
|||||
|
|||||
|
Re: getting distance from camera
You really do have to install the LabVIEW update. If you haven't done that, you're missing much more than the tutorials. You're also not in compliance with the rules.
What does "won't update the LabVIEW home screen" mean? What happens when you try to run the update? |
|
#12
|
||||
|
||||
|
Re: getting distance from camera
i install that, and everything gets installed, but the start screen for labview doesn't change.
|
|
#13
|
|||||
|
|||||
|
Re: getting distance from camera
What all does the unchanged start screen say? Does it have the "LabVIEW FRC 2012" text at the top and the FIRST logo at the bottom?
You might need to reinstall LabVIEW. I'm wondering if it got loaded properly in the first place. How did you install it? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|