![]() |
Re: LabView/C++ equally capable?
I'll see if I can find the test code. It was basically pointing the camera at the cRIO LEDs, the ones near the power and ethernet plugs. There is an RT function for controlling the LED, and I figured it was close to instantaneous compared to the camera, so I turned it off, and started the camera to acquiring.
At some point, I'd turn the LED on, record the time on the cRIO, then loop inspecting images until one showed up with the LED lit. To detect the LED being lit, I use the regular Camera Get which uncompresses the image, then I measured the intensity of a pixel over the LED. A that point, turn the LED back off, wait for things to settle, and do it over again. I decided to wait a random amount with the LED off. This gave me a pretty good statistical picture of the latency. It shows the minimum, the typical and the maximum time you could expect for a given camera setup. Greg McKaskle |
Re: LabView/C++ equally capable?
you know you can use Java right?
|
Re: LabView/C++ equally capable?
Quote:
|
Re: LabView/C++ equally capable?
Quote:
|
Re: LabView/C++ equally capable?
Quote:
|
Re: LabView/C++ equally capable?
Quote:
|
Re: LabView/C++ equally capable?
Quote:
|
Re: LabView/C++ equally capable?
weve been trying to figure it out but we havent figured it out. we can make the computer make a random noise but thats about it.
were just gunna stick with robotc and labview. |
Re: LabView/C++ equally capable?
Quote:
|
Re: LabView/C++ equally capable?
The Axis 206 camera supports three resolutions. These three steps will be the best improvements overall. To get other sizes, you'll end up decimating or subsetting one of the larger sizes. This is still often worth it.
As for when resolution cuts are no longer worth it, in the real world, the nice cameras have an amazing flexibility with resolution, even to the point of having an image one pixel tall and X pixels wide. This may be useful when material is moving on a conveyer beneath the camera and you really only have time to process the new material. Greg McKaskle |
Re: LabView/C++ equally capable?
oy... some of the sample programs for RobotC (specifically the servo testbed thing) arent working!!!! we have everything hooked up right but its not cooperating. do we need servos for the robot or can we go without them?
|
Re: LabView/C++ equally capable?
Quote:
If you're trying to run a program to test servos, I'd imagine that servos would be an important part of the setup. |
Re: LabView/C++ equally capable?
we were using a testbed set up thing (i dont have the papers with me to say what exactly it is) to help us learn how to start wiring servos and motors. the one with only the motor worked fine with the sample program provided. when we connected the servo (exactly as the instructions said) it didnt want to run and said there was an error.
any suggestions? |
Re: LabView/C++ equally capable?
Quote:
|
Re: LabView/C++ equally capable?
I cant find out which error it is until school tomorrow. I dont have the robot at home with me although the software is on my laptop.
I will find out ASAP tho |
| All times are GMT -5. The time now is 20:35. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi