Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Camera Help (http://www.chiefdelphi.com/forums/showthread.php?t=72354)

elbuo 18-01-2009 14:21

Camera Help
 
I've been trying to code the camera to identify 2 colors at once using the same code FIRST released for LV. But I can't seem to make it work :(

Looking for a guide on how to set it up I found this
http://forums.usfirst.org/showpost.p...64&postcount=1

And I was like :O But same thing happens and worst...It says I need NI Vision to make it work.

Can anyone help me out setting this one up?

rsisk 18-01-2009 15:00

Re: Camera Help
 
Hmm, we tried implementing that example yesterday and our robot behavior did not look like the video. I believe it is all a matter of tweaking the PID controls, but then you have to have a good understanding of PID controls to know how to tweak that.

There is a white paper on PID controls here http://www.chiefdelphi.com/media/papers/1823 that may help you understand how to tune the PID.

Good luck, I hope this information helps you

Booksy 18-01-2009 15:09

Re: Camera Help
 
I'll assume you have checked the inverted buttons and pwm inputs to make sure they match with your config?...

elbuo 18-01-2009 15:40

Re: Camera Help
 
No man I admit I'm uber lost and I have no hel from my team side -.-
The link for the PID doesn't work. It says something about some coffee shop trial...:S Can someone re-upload it?

Greg McKaskle 18-01-2009 17:09

Re: Camera Help
 
If your haven't activated NI Vision, you should enter in the same serial number as you typed in for LV I believe. It will be necessary to activate it or get the 30 day eval before the LV code will work.

Greg McKaskle

elbuo 18-01-2009 23:47

Re: Camera Help
 
Well the serial didn't work :(

That is very very weird. I'll try using my personal laptop.
BTW, what is needed to test this? Besides the camera and the full system running...

Greg McKaskle 19-01-2009 08:09

Re: Camera Help
 
At this point, I'd encourage you to call the NI number for support to make sure your activation works. The next step I do is to run a LV example such as My Progs/National Instruments/LabVIEW 8.5/examples/FRC/vision/single color...

This lets you see what the camera sees and lets you play with colors and lighting most easily. After that you can try other examples such as the two color gimbal.

The setup for these examples is pretty standard for everything else on the control system. DS, computer, cRIO, and camera all connected with enet. Orange cable between camera and cRIO. Be sure to enable the DS -- doesn't actually matter for camera demos, but a good habit to get into.

Greg McKaskle

elbuo 19-01-2009 11:01

Re: Camera Help
 
Something weird is that I just opened both of the examples in my pc :P
I'll see tomorrow what seems to be the problem.

I'll see if it works :D Thanks a lot man! I'll report my progress tomorrow :)


All times are GMT -5. The time now is 08:21.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi