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 :frowning:

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

And I was like :open_mouth: 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?

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

I’ll assume you have checked the inverted buttons and pwm inputs to make sure they match with your config?..

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?

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

Well the serial didn’t work :frowning:

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…

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

Something weird is that I just opened both of the examples in my pc :stuck_out_tongue:
I’ll see tomorrow what seems to be the problem.

I’ll see if it works :smiley: Thanks a lot man! I’ll report my progress tomorrow :slight_smile: