Go to Post Besides, you know hard it is to solder with gloves on? - Al Skierkiewicz [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 Rating: Thread Rating: 21 votes, 4.95 average. Display Modes
  #16   Spotlight this post!  
Unread 11-16-2013, 12:44 PM
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 170
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Re: The Secret Book of FRC LabVIEW

In page 127 it says:
Quote:
At 10
frames per second, you will be acquiring images at the same rate that the Driver Station
communicates with the robot.
You've already changed the 100ms to 20ms, so this sentence is wrong.
You actually need 50fps to be at the same rate as the communication
Reply With Quote
  #17   Spotlight this post!  
Unread 12-02-2013, 01:56 PM
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 338
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: The Secret Book of FRC LabVIEW

Thank you for putting together this manual, it is a great resource.

I have a question regarding your discussion on file organization, page 50, do you have any examples for this:

Quote:
There are advantages to having all the files in one folder
Thanks
Reply With Quote
  #18   Spotlight this post!  
Unread 12-04-2013, 10:37 PM
gnunes gnunes is offline
Registered User
FRC #1391 (Metal Moose)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Westtown School
Posts: 57
gnunes has a spectacular aura aboutgnunes has a spectacular aura aboutgnunes has a spectacular aura about
Re: The Secret Book of FRC LabVIEW

Quote:
Originally Posted by GuyM142 View Post
In page 127 it says:


You've already changed the 100ms to 20ms, so this sentence is wrong.
You actually need 50fps to be at the same rate as the communication
Thanks for noticing. This kind of catch is very helpful. A revised version is attached.

Quote:
Originally Posted by wt200999 View Post
I have a question regarding your discussion on file organization, page 50, do you have any examples for this:
Thanks
I wrote utilities for zipping and unzipping the project to a flash drive (for backup and moving the code between computers). It is 10X easier to write this routine if the file structure is flat.
Attached Files
File Type: pdf The Secret Book of FRC LabVIEW v0.4.pdf (4.21 MB, 412 views)
Reply With Quote
  #19   Spotlight this post!  
Unread 12-05-2013, 11:22 AM
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,482
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: The Secret Book of FRC LabVIEW

Excellent work!
I am starting through the Ver. 0.4 now. If I come across any errors, or have any suggestions, I'll post them right away.
__________________
CalGames 2009 Autonomous Champion Award winner
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).

2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
2017 Utah Regional Winner!, Sacramento Finalist, Newton/Carver Innovation in Control, Newton #5 Captain
Reply With Quote
  #20   Spotlight this post!  
Unread 01-15-2014, 08:01 AM
TylerStaudigel's Avatar
TylerStaudigel TylerStaudigel is offline
Registered User
FRC #0144 (R.O.C.K)
Team Role: Programmer
 
Join Date: Dec 2013
Rookie Year: 2014
Location: United States
Posts: 39
TylerStaudigel is an unknown quantity at this point
Talking Re: The Secret Book of FRC LabVIEW

Thanks so much for the book. You saved me!
Reply With Quote
  #21   Spotlight this post!  
Unread 02-02-2014, 10:51 AM
gnunes gnunes is offline
Registered User
FRC #1391 (Metal Moose)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Westtown School
Posts: 57
gnunes has a spectacular aura aboutgnunes has a spectacular aura aboutgnunes has a spectacular aura about
Re: The Secret Book of FRC LabVIEW

Here it is! What you have all been waiting for!! (Or not.) The latest revision to the Secret Book, covering the 2014 Framework, reentrant VIs, and how to actually use a PID in your robot.

As always, I welcome corrections, but also suggestions for new topics, or places where I have not explained things as clearly as I should have...

Cheers to all!
-GN
Attached Files
File Type: pdf The Secret Book of LabVIEW v1.0.pdf (4.41 MB, 803 views)
Reply With Quote
  #22   Spotlight this post!  
Unread 12-22-2014, 10:57 AM
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Corvallis, OR
Posts: 331
jojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant future
Re: The Secret Book of FRC LabVIEW

Thanks for this AWESOME resource!

If you're still taking small edits, there's a small typo on page 123 (of book, not PDF).

In the "Loop 2" paragraph, last sentence: "We’ll discuss the stuff you can see first, and then spend some time on the
Dashboard JMPG VI, because in 2014 this has become a pretty sophisticated routine."

Isn't that supposed to be MJPG?

Love this book and I'm making all of my programmers read through it.

Thanks again!
__________________
2013 and 2014 - Student (FRC#2990), Programmer (LabVIEW)
2015 and 2016 - Mentor (FRC#2990), Programming (LabVIEW)
2017-Current - Mentor (FRC#997), Controls/Programming (Java)
2015-Current - A/V Volunteer at Oregon events
2017 Autodesk Volunteer Award
Reply With Quote
  #23   Spotlight this post!  
Unread 12-31-2014, 04:47 PM
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 262
BitTwiddler is on a distinguished road
Re: The Secret Book of FRC LabVIEW

Holy Moose stuffing Batman!
I can really use this for our students. Nice work. Hope you can find the time and motivation to keep it up to date.
Reply With Quote
  #24   Spotlight this post!  
Unread 12-31-2014, 11:35 PM
SquishyIce's Avatar
SquishyIce SquishyIce is offline
Registered User
FRC #1405 (Finney Falcons)
Team Role: Electrical
 
Join Date: Dec 2013
Rookie Year: 2012
Location: New York
Posts: 39
SquishyIce can only hope to improve
Re: The Secret Book of FRC LabVIEW

Can't wait to start reading. On a side note, that's a very nice random image you have there. I like it.
Reply With Quote
  #25   Spotlight this post!  
Unread 07-05-2015, 01:24 PM
yara92's Avatar
yara92 yara92 is offline
M.Fawdah Mechanical engineering
AKA: Mohamed
FRC #1946 (Mechka Monster)
Team Role: RoboCoach
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Israel
Posts: 236
yara92 will become famous soon enoughyara92 will become famous soon enough
Re: The Secret Book of FRC LabVIEW

If I am not a programmer, and I like to use LV with EV3 because it is easy to bulid and work with.
How I can began my tranining
__________________
TEAM 1946-Tamra
Reply With Quote
  #26   Spotlight this post!  
Unread 02-21-2016, 06:49 PM
loki1725's Avatar
loki1725 loki1725 is offline
Registered User
FRC #5417 (Allen Eagles)
Team Role: Mentor
 
Join Date: Feb 2016
Rookie Year: 2009
Location: Dallas TX
Posts: 1
loki1725 is an unknown quantity at this point
Re: The Secret Book of FRC LabVIEW

First off, thank you for the book. This is our first year using LabView and it has helped us greatly. Our two primary software mentors have never used LabView before, and this book was their primary source for teaching it to the kids. I have used LabView a little bit in the past, but mostly for instrumentation control and display, never for anything complicated.


I'm trying to run through your vision example before I try and teach it to my kids. I have successfully made the distance calculations work based on the target heights, but the angle calculations are not working. I believe my problem is the blob sizes and locations are incorrect due to looking at them from an angle. This is making my calculation of the separation in x in pixels wrong, which throws everything else off. I have spent three days trying to hunt down the problem, but I'm out of ideas.

Has anyone actually earned their Image Processing Zen Master merit badge? If so, I could use some tips.
Reply With Quote
  #27   Spotlight this post!  
Unread 02-22-2016, 06:18 AM
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,835
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: The Secret Book of FRC LabVIEW

The distance calculation in the example uses the width of the blob as a proportion of the image size. If you scroll down on the diagram, it has some pictures and formulae to show what it is doing. By the way, this estimator works better for some field positions than for others. It is also possible to use the height of the blob, the area of the blob, or use tools like the clamps to measure things more precisely than the bounding box.

Tutorial 8 in the Getting Started also discusses this a bit, but I don't remember how much detail it goes into.

If you have other questions, I am happy to help.
Greg McKaskle
Reply With Quote
  #28   Spotlight this post!  
Unread 02-22-2016, 01:18 PM
gnunes gnunes is offline
Registered User
FRC #1391 (Metal Moose)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Westtown School
Posts: 57
gnunes has a spectacular aura aboutgnunes has a spectacular aura aboutgnunes has a spectacular aura about
Re: The Secret Book of FRC LabVIEW

Quote:
Originally Posted by loki1725 View Post
...the angle calculations are not working. I believe my problem is the blob sizes and locations are incorrect due to looking at them from an angle.
Without knowing exactly what you are doing... In general, the apparent size of things will be wrong, depending on where they are in the image, how your camera is pointing, etc. Suppose your camera is pointing straight at a wall a distance d away, and there is a target of height h (height in pixels hp) positioned exactly where the camera is pointing. Then that target will subtend an angle tan(theta) = h/d.

But now, if the same target is high up on the wall, it will span fewer pixels. If the line from the camera to the center of the target makes an angle phi to the horizontal, then the target will appear to be only cos(phi)*hp pixels tall. This is an approximation, because the target is also farther away, but depending on the details, that may be good enough. If you are close in, then the difference will be larger and you will have to apply Pythagoras.

Hope that helps...
Reply With Quote
  #29   Spotlight this post!  
Unread 07-06-2016, 08:41 PM
page2067's Avatar
page2067 page2067 is offline
Registered User
AKA: rick page
FRC #2067 (Apple Pi)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Guilford CT
Posts: 127
page2067 has a spectacular aura aboutpage2067 has a spectacular aura aboutpage2067 has a spectacular aura about
Re: The Secret Book of FRC LabVIEW

I recently discovered some of our students were using this as a resource for self teaching in the offseason!

I have been going through it and recommend it to all looking for a good learning tool - very comprehensive - not just the basics.
This augments the nice NI tutorials incuded with Labview.
Best Labview resource I have seen since FRC Mastery .

Bumping now as maybe folks are thinking about training for the Fall.

Be nice if their was an update for the RoboRio, and maybe add new SRX CAN functionality.
Reply With Quote
  #30   Spotlight this post!  
Unread 10-24-2016, 05:40 PM
Doc Wu's Avatar
Doc Wu Doc Wu is offline
Registered User
AKA: Al Gritzmacher
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Lockport NY
Posts: 211
Doc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant future
Re: The Secret Book of FRC LabVIEW

Quote:
Originally Posted by page2067 View Post
Be nice if their was an update for the RoboRio, and maybe add new SRX CAN functionality.
Far be it from me to put something like this on someone's plate, but maybe a couple of knowledgeable people could go through it and suggest/add some revisions to bring it up to date, with Geoff's permission?

I've been out of the programming loop the past couple of years, but agree it's a great resource. I've been recommending it myself for some time. With some updates for newer hardware that's become available and newer versions of LabVIEW, it would continue to be a valuable tool.
__________________
-= Mentor Lockport Warlocks -=- Team 1507 =-
Amateur Radio Callsign: AE2T

Taking 2017 off!
2016 Robot Inspector - Fingerlakes, Pittsburgh
2015 Robot Inspector - Pittsburgh, Champs. Judge Observer - Champs
2014 Robot Inspector - Tech Valley, Fingerlakes, Buckeye, Championship
2013 Robot Inspector - Fingerlakes, Buckeye, Championship
2012 Robot Inspector - Fingerlakes, Buckeye, Championship - Website Evaluator - Fingerlakes, Buckeye, Championship
2011 Robot Inspector - Fingerlakes 2011 Safety Advisor - Fingerlakes

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 12:05 AM.

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