Go to Post If everyone else in the world is an idiot, you may need to recalibrate your idiotness scale. - GaryVoshol [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 07-03-2012, 15:49
Kohala2460's Avatar
Kohala2460 Kohala2460 is offline
Registered User
AKA: Michael
FRC #2460 (Na Paniolo)
Team Role: Engineer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Kohala High School
Posts: 35
Kohala2460 is an unknown quantity at this point
PROGRAMMING HELP!

This year our team has had to go without a programming mentor or anyone with the knowledge of windriver and the c++ language.

This being a small problem, is not what this post is about.

This post is to ask for help with the camera and the tracking of the "target" above the hoop and get the drive to align with that.
We have had a rough year and we wouldn't like it to end before it even begins.

Thank you,

-M. Nelson
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 07-03-2012, 16:38
AsianPersuasion's Avatar
AsianPersuasion AsianPersuasion is offline
Registered User
AKA: Justin M.
FRC #0240 (Tempest)
Team Role: Programmer
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Michigan
Posts: 8
AsianPersuasion is an unknown quantity at this point
Re: PROGRAMMING HELP!

I'm sorry to hear that, us without having a programming mentor either, is a hard position to be at. Did you even attempt to look at the "Rectangular Processing VI" in labview? It's an frc example. That should help you get started, after integrating that in your code, you need to make a global variable called "Target Info," which can tell you your x y and z coordinates, and wire it to your shooter code etc. I would know cause that's exactly what I did. If, you really want, I can let you look at my code, but its in labview.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-03-2012, 17:10
mjgard's Avatar
mjgard mjgard is offline
Michael
AKA: Michael Gard
FRC #2844 (Stampede Robotics)
Team Role: Teacher
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Laveen,AZ
Posts: 74
mjgard will become famous soon enough
Re: PROGRAMMING HELP!

We also could use some help, but we are in labview. Our programming menor did not return this year. seems we scared him off last year. LOL. I have looked at the rectangular targeting.vi and followed the tutorial to add that to my code. When I try to run the code to see if it is working it doesnt get an image unless I change the word camera int he front panel to the camera IP address before running it. Is this correct? If this is correct how is it supposed to work when it is supposed to run with the other code when opperating your robot and not just the vision processing stand alone. I get the image on the dashboard when i run the full robot code, should i assume the vision processing vi is also working correctly even though i cant see it in this mode.

What am I supposed to do with the output from the vision processing code? Getting to this point is way above my programming head and I am not sure how to use this output to control the turret for our shooter or possibly use the information on distance to control our shooter speed.

Any help would be greatly appreciated.
__________________
Michael
Stampede Robotics Mentor
FRC 2844

2012 Arizona Regional --Judges' Award
2012 Las Vegas Regional -- Regional Winners
2012 Las Vegas Regional-- Coopertition Award
2009 Arizona Regional -- Rookie All Star Award
Reply With Quote
  #4   Spotlight this post!  
Unread 07-03-2012, 18:24
Chexposito's Avatar
Chexposito Chexposito is offline
Registered User
AKA: Expo
FRC #1730
Team Role: Alumni
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Missouri
Posts: 272
Chexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of light
Re: PROGRAMMING HELP!

I wouldn't say vision tracking is necessary, it's a big use of time without mentor help or previous experience. It wouldn't be a efficient use of time. Plus you can do very well without it. I would suggest a lay up and key shot settings that work consistently and then just have your driver drive within those ranges and compensate when there's a miss, you can still use the camera to help the drivers line themselves up.

Last edited by Chexposito : 07-03-2012 at 18:59.
Reply With Quote
  #5   Spotlight this post!  
Unread 07-03-2012, 18:20
Kohala2460's Avatar
Kohala2460 Kohala2460 is offline
Registered User
AKA: Michael
FRC #2460 (Na Paniolo)
Team Role: Engineer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Kohala High School
Posts: 35
Kohala2460 is an unknown quantity at this point
Re: PROGRAMMING HELP!

Quote:
Originally Posted by AsianPersuasion View Post
I'm sorry to hear that, us without having a programming mentor either, is a hard position to be at. Did you even attempt to look at the "Rectangular Processing VI" in labview? It's an frc example. That should help you get started, after integrating that in your code, you need to make a global variable called "Target Info," which can tell you your x y and z coordinates, and wire it to your shooter code etc. I would know cause that's exactly what I did. If, you really want, I can let you look at my code, but its in labview.
Thanks, any help would be fine. If you want, you can post the code here or email me.
__________________
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 17:07.

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