Go to Post Or Dave could be messing with your head. - Daniel_LaFleur [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 17-02-2012, 21:24
ElmoLibre ElmoLibre is offline
Registered User
FRC #3408
 
Join Date: Jan 2012
Location: Los Angeles
Posts: 8
ElmoLibre is an unknown quantity at this point
Vision in Robot Main Not Working

So, running the support "Rectangular Object Tracking" code works perfectly. However, when I try to copy it directly over into my Robot Main project. Unfortunately, when I do that, it stops reading the camera inside the code itself. Images still show up on the Dashboard, but not inside the Vision Processing code itself. If anyone has any ideas on how to get it to work, it would be greatly appreciated.

If we copy the rest of our code into the support code, it works just fine. However, we can't set support code to run as start-up, so I want to be able to have vision in our actual code, rather than in a temporary testing place. Thanks!
~Team 3408 Software Team
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2012, 21:30
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Vision in Robot Main Not Working

Don't change or touch Robot Main.vi

All your changes should be made in the Team Code section only.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2012, 14:00
ElmoLibre ElmoLibre is offline
Registered User
FRC #3408
 
Join Date: Jan 2012
Location: Los Angeles
Posts: 8
ElmoLibre is an unknown quantity at this point
Re: Vision in Robot Main Not Working

Sorry for the miscommunication. We have been putting code into the Team Code section. I was just wondering if there was any reason why taking the vision sample code and putting it into our own code wouldn't work.
Reply With Quote
  #4   Spotlight this post!  
Unread 18-02-2012, 20:48
rivasm rivasm is offline
Registered User
FRC #2556 (RadioActive Roaches)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Niceville, Florida
Posts: 12
rivasm is an unknown quantity at this point
Re: Vision in Robot Main Not Working

Go to the code you want to integrate. Go to the robot main. Double click on the Vision block. "Save as" and select the hierarchy option. Save it in the code folder you are integrating it into. Open the folder you just saved which is inside of your code folder. Cut all of the files from that folder, and paste them inside the actual code folder. I'm probably not explaining this very clearly, and I can rephrase or post pictures if needed, but I really hope I answered your question.
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


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

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