Go to Post I owe these forums a lot more than $15 for all of the help and friends they have given me. - Karibou [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2009, 14:21
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2009, 15:00
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,746
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
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
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2009, 15:09
Booksy Booksy is offline
Registered User
FRC #1244 (Viking Robotics)
Team Role: Programmer
 
Join Date: Apr 2008
Rookie Year: 2007
Location: Great White North
Posts: 97
Booksy will become famous soon enoughBooksy will become famous soon enough
Re: Camera Help

I'll assume you have checked the inverted buttons and pwm inputs to make sure they match with your config?...
__________________
My favorite CD quote ever(taken out of context of course):
Quote:
Originally Posted by ttldomination
water would be hard to build
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2009, 15:40
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
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?
Reply With Quote
  #5   Spotlight this post!  
Unread 18-01-2009, 17:09
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
  #6   Spotlight this post!  
Unread 18-01-2009, 23:47
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
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...
Reply With Quote
  #7   Spotlight this post!  
Unread 19-01-2009, 08:09
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
  #8   Spotlight this post!  
Unread 19-01-2009, 11:01
elbuo elbuo is offline
Teams #2884 and #1144
AKA: Yamil Asusta
FRC #1144 (Coquitron)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Puerto Rico
Posts: 89
elbuo has a spectacular aura aboutelbuo has a spectacular aura aboutelbuo has a spectacular aura about
Re: Camera Help

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

I'll see if it works Thanks a lot man! I'll report my progress tomorrow
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera Help Team1710 Technical Discussion 2 08-01-2009 22:10
Camera HELP! yarb65 Programming 5 29-01-2007 21:58
Camera Help itzrobz Programming 15 24-01-2007 17:18
Camera Help (New to Camera Programming) Idaman323 Programming 6 14-01-2006 03:56
camera help! |20807 61|2|_ Programming 5 08-01-2006 14:44


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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