Go to Post We found our bandsaw on Craigslist for $40. We keep looking for laser cutters and waterjets in that price range, but so far no luck. - chapman1 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-09-2008, 14:44
Maxpower57's Avatar
Maxpower57 Maxpower57 is offline
Fabuloso
AKA: Maxwell V.
FRC #2574 (RoboHuskie)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: St. Anthony, MN
Posts: 53
Maxpower57 will become famous soon enoughMaxpower57 will become famous soon enough
Send a message via AIM to Maxpower57
2009 base C/C++ code?

Sorry if this has already been asked, and I'd be very surprised if it hasn't (but I can't find it)
Is there a base C/C++ code framework for the NI compact Rio system that we will be using? Much like there was last year. there must be if some teams already have beta versions of it.
does anyone have a link where this can be downloaded.


Thanks,
Max.
__________________
  #2   Spotlight this post!  
Unread 28-09-2008, 15:30
pogenwurst pogenwurst is offline
Ubuntu User
AKA: Brian
FRC #2007 (Robots of the Round Table)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Duluth, GA
Posts: 78
pogenwurst is on a distinguished road
Send a message via AIM to pogenwurst
Re: 2009 base C/C++ code?

There is, but at present only the beta teams have access to it (a mistake, IMHO).

See: Should FIRST Release...
  #3   Spotlight this post!  
Unread 28-09-2008, 16:52
Abrakadabra Abrakadabra is offline
Here We Go !!!
AKA: Scott Kukshtel, Mr. K
FRC #3467 (The Windham Windup!)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2002
Location: Windham, New Hampshire
Posts: 160
Abrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant future
Re: 2009 base C/C++ code?

I believe that the release of more information about the C/C++ libraries for 2009 is imminent - Brad Miller and the team at WPI are doing the development and Brad himself is starting next weekend to do some public talks and demos of the approach: see this post. I'm sure it won't be long before the information from these talks makes it onto CD.

If you are curious about the approach being taken by the WPI team, I would think their previous work on WPILib might be indicitive of the approach we may see for this year's libraries. Check out the original WPILib here.

Please note that I have no insight into the actual work at WPI, and that this is all speculation on my part. But the WPILib approach has been very successful for many teams in the past (including, whether they knew it or not, everyone who used EasyC), so I see no reason why Brad and the team would make a radical departure now. And now with open source and the ability of the FIRST community to fully participate in the development and maintenance of the libraries, I personally think it will be even better!
  #4   Spotlight this post!  
Unread 07-10-2008, 18:05
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: 2009 base C/C++ code?

We posted the documentation for the library here:
http://forums.usfirst.org/showthread.php?t=10064

Understand that it's preliminary documentation. But everything in there is currently running with a few exceptions.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
  #5   Spotlight this post!  
Unread 08-10-2008, 10:18
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,532
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: 2009 base C/C++ code?

Perhaps I missed it, but I see no reference to the camera in any of the documentation. Is that a yet-to-come-this-year option, or is it not going to be part of the C implementation?
  #6   Spotlight this post!  
Unread 08-10-2008, 12:29
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: 2009 base C/C++ code?

Quote:
Originally Posted by Tom Line View Post
Perhaps I missed it, but I see no reference to the camera in any of the documentation. Is that a yet-to-come-this-year option, or is it not going to be part of the C implementation?
Thanks, I should have mentioned that... it's not quite integrated in the doxygen created documentation. The complete vision system should be there in a week or two.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
  #7   Spotlight this post!  
Unread 09-10-2008, 13:21
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
Re: 2009 base C/C++ code?

Hi Brad,

Can you tell us if the Vision/Camera class/library will be more or less similar to the way Kevin Watson's Camera code (2007) works?

I know there will be some (major) diffrences between the 2007 CMU2 cam and the new Axis camera, so could you elaborate on those?

Thanks,

Nir.


P.S,
What about a Dashboard for the Laptops that can be connected to the Driver's Station? How will it work (compared to creating one in Labview)?
__________________
TEAM 2230 ZECHARIA'S ANGELS

2009 Microsoft Israel FRC Regional Winners!
2009 Microsoft Israel FRC Regional Chairman's Award Winners!!!
---------------------------------
2008 Microsoft Israel FRC Regional semi-finalist.
2008 Microsoft Israel FRC Regional Delphi's "Driving Tommorow's Technology" Award winner.
2008 Robot Driver
---------------------------------
2007 GM/Technion Israel FRC Regional semi-Finalist.
2007 GM/Technion Israel FRC Regional Xerox Creativity Award winner.
2007 Robot Driver.
  #8   Spotlight this post!  
Unread 09-10-2008, 21:18
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,752
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: 2009 base C/C++ code?

I can't do much of a comparison -- I'm not familiar with the previous vision code.

The new library will be broken into a camera library with functions for connecting, getting an image, setting parameters of the camera, and an image processing library with functions for analyzing what is in an image. This includes shape based analysis, color based analysis, pattern based analysis, etc. The analysis section is based upon the NI vision library, so more details can be found online.

Greg McKaskle
  #9   Spotlight this post!  
Unread 09-10-2008, 23:09
rogerlsmith's Avatar
rogerlsmith rogerlsmith is offline
Software Engineer
AKA: Roger Smith
FRC #3357 (COMETS)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Grand Rapids, MI
Posts: 214
rogerlsmith is a splendid one to beholdrogerlsmith is a splendid one to beholdrogerlsmith is a splendid one to beholdrogerlsmith is a splendid one to beholdrogerlsmith is a splendid one to beholdrogerlsmith is a splendid one to beholdrogerlsmith is a splendid one to behold
Re: 2009 base C/C++ code?

since forums.usfirst.org is down,

try the direct link:
http://users.wpi.edu/~bamiller/WPIRo...ary/index.html
__________________
Roger Smith
Mentor - FRC Team 3357
COMETS - Creating Outstanding Minds, Embracing Technology & Science
---------------------------------------------------------------------------------------

Share FIRST videos, photos and experiences at FIRSTObjective.org
  #10   Spotlight this post!  
Unread 13-10-2008, 21:47
ShotgunNinja's Avatar
ShotgunNinja ShotgunNinja is offline
Programming Mentor, FRC 4247
AKA: Nicholas Iannone
FRC #4247 (CougarBOTS)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Milwaukee, WI
Posts: 160
ShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the rough
Re: 2009 base C/C++ code?

Quote:
Originally Posted by Greg McKaskle View Post
I can't do much of a comparison -- I'm not familiar with the previous vision code.

The new library will be broken into a camera library with functions for connecting, getting an image, setting parameters of the camera, and an image processing library with functions for analyzing what is in an image. This includes shape based analysis, color based analysis, pattern based analysis, etc. The analysis section is based upon the NI vision library, so more details can be found online.

Greg McKaskle


I'm sorry, did you just say shape-based analysis? I wonder if that might have anything to do with this year's challenge... (Hint Hint FIRST!)
__________________
Team #2970 Alum
Team #1652 Alum
2006: School Mascot for Team 1652
2007-2008: Programmer for Team 1652 (Robot Mafia)
2009: Programmer on Team 1652 (Robot Mafia), Programmer on Team 2970 (eSchool eBots)
2010-2016: Volunteer, Wisconsin Regional
2017: Programming Mentor, FRC 4247 (CougarBOTS, Obama SCTE, Milwaukee, WI)
  #11   Spotlight this post!  
Unread 14-10-2008, 12:34
Daniel_LaFleur's Avatar
Daniel_LaFleur Daniel_LaFleur is offline
Mad Scientist
AKA: Me
FRC #2040 (DERT)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Peoria, IL
Posts: 1,967
Daniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond repute
Send a message via MSN to Daniel_LaFleur
Re: 2009 base C/C++ code?

Quote:
Originally Posted by Greg McKaskle View Post
I can't do much of a comparison -- I'm not familiar with the previous vision code.

The new library will be broken into a camera library with functions for connecting, getting an image, setting parameters of the camera, and an image processing library with functions for analyzing what is in an image. This includes shape based analysis, color based analysis, pattern based analysis, etc. The analysis section is based upon the NI vision library, so more details can be found online.

Greg McKaskle
Greg,

In the 'shape based' analysis, can the vision system interpolate orientation of a known 3-d object within the cameras field of vision? Can the vision system determine trajectory (in 3-d) based on movement and size change of a known shape/size object within the cameras field of vision?

or will we have to do the calculations outside of LV vision?
__________________
___________________
"We are not now that strength which in old days moved earth and heaven; that which we are, we are;
One equal temper of heroic hearts, Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield. "
- Tennyson, Ulysses
  #12   Spotlight this post!  
Unread 14-10-2008, 13:08
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 685
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: 2009 base C/C++ code?

From the demo video I saw (not a live demo), a table full of typical tools was flashed on the screen (overhead view), then right after a count of the different tools was displayed. From what I understand (and reading Greg's description above) the "shapes" (and colors and patterns) are programmed into the code somehow, then the code and/or hardware (I don't know which) does the dirty work grinding out which is what. Fairly quickly, I might add. Thus "shapes" could be tool profiles or letter outlines or game pieces. Same with colors. Size and rotation didn't matter, but the profile had to be similar to the pre-programmed profile. In a word----

I guess for 2009 the signs "Turn Left!" "Go Fast!" could really be read by the robot.

I'm thinking there must be a catch, or a trade-off, or something. The problems with the CMUcam was not that it couldn't read green vs red vs blue -- it could -- but that it would pick up arena lights from across the field. (I'm looking at you, Boston's BU arena!) The shapes I'm thinking have to be directly in front of the camera and on a plain contrasting background to be picked up clearly. I can't wait to see how well it really works.

Daniel, my guess is that the software/hardware can determine shape (profile), but your software would have to save size/rotation of the shape each "frame" to track differences between frames to determine trajectory. Or, wait and see.
  #13   Spotlight this post!  
Unread 14-10-2008, 21:52
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,752
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: 2009 base C/C++ code?

Quote:
Originally Posted by Daniel_LaFleur View Post
In the 'shape based' analysis, can the vision system interpolate orientation of a known 3-d object within the cameras field of vision? Can the vision system determine trajectory (in 3-d) based on movement and size change of a known shape/size object within the cameras field of vision?

or will we have to do the calculations outside of LV vision?
NI vision library is primarily for planar shapes. Typically chips on a board, or other bits of an object being manufactured. Additionally, the camera image is simply a 2D matrix of light intensities. Determining the difference between a scene of 3D objects, and a printed poster of the same scene is difficult even for humans, much more difficult for computers.

So if you are clever about how you use it, yes, you can use vision to measure things about the image and to interpret it in 3D. But no, it doesn't automatically infer 3D information from a camera image.

Greg McKaskle
  #14   Spotlight this post!  
Unread 20-10-2008, 20:52
ShotgunNinja's Avatar
ShotgunNinja ShotgunNinja is offline
Programming Mentor, FRC 4247
AKA: Nicholas Iannone
FRC #4247 (CougarBOTS)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Milwaukee, WI
Posts: 160
ShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the rough
Re: 2009 base C/C++ code?

So, in summary, it's very similar to the tracking and profiling systems found in newer security cameras? I've read in a few-years-old PopSci somewhere that some newer camera systems were incorporating a collection of two-color bitmaps to profile shape and direction of people walking by. Is it something similar?

EDIT: Also, any new hustle and bustle from the FIRST officials about my hint (see above) ? Again, I'd LOOOVE to see the OOP approach to something like this. It just makes me feel even smarter
__________________
Team #2970 Alum
Team #1652 Alum
2006: School Mascot for Team 1652
2007-2008: Programmer for Team 1652 (Robot Mafia)
2009: Programmer on Team 1652 (Robot Mafia), Programmer on Team 2970 (eSchool eBots)
2010-2016: Volunteer, Wisconsin Regional
2017: Programming Mentor, FRC 4247 (CougarBOTS, Obama SCTE, Milwaukee, WI)
  #15   Spotlight this post!  
Unread 20-10-2008, 21:06
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,752
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: 2009 base C/C++ code?

If the templates are bitmap based, then this is what IMAQ would refer to as pattern based shape recognition. The patterns are trained in advance, and a scene is examined for instances of the pattern.

Geometric recognition, by contrast finds the high contrast lines in a image and compares their shape against the template shapes.

Greg McKaskle
Closed Thread


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
2009 Championships Macdaddy549 Rumor Mill 80 02-04-2008 16:22
Circle base vs. Rectangle base Pelicano234 Technical Discussion 13 15-01-2008 16:49
Looking for Base Code Eric W. Jones Programming 2 30-10-2006 18:54
2009 Trans-Am? Matt Attallah Chit-Chat 12 01-04-2006 01:08


All times are GMT -5. The time now is 15:02.

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