Go to Post Can I help it if I check Chief Delphi before I look at the Team Updates? - Al Skierkiewicz [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 Rating: Thread Rating: 3 votes, 3.67 average. Display Modes
  #76   Spotlight this post!  
Unread 30-03-2010, 14:38
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Programmers: I Have A Challenge For You

Quote:
Originally Posted by gvarndell View Post
What would be an example of a typical VI?
Any one you see in FRC.

Quote:
And how does the executable object code for it come to exist?
It gets compiled, just like turning source code into object code for any compiled language.



I implied the existence of a "nontypical" vi which does have a text representation. That would be a reference to the LabVIEW code which gets compiled into VHDL for further compilation into an image for the FPGA. The VHDL is text.
  #77   Spotlight this post!  
Unread 30-03-2010, 14:49
TJ Cawley's Avatar
TJ Cawley TJ Cawley is offline
THE Freshman
FRC #1108 (Panther Robotics)
Team Role: Driver
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Paola
Posts: 40
TJ Cawley is a jewel in the roughTJ Cawley is a jewel in the roughTJ Cawley is a jewel in the roughTJ Cawley is a jewel in the rough
Re: Programmers: I Have A Challenge For You

Quote:
Originally Posted by Egg 3141592654 View Post
I would like this to happen, but here are my 2 issues with this idea. Firstly, how do you track game objects and the areas to score? The program would need to have a serious if statement, or a periodic task to override the game piece searching code from the scoring area track code. We tried something like this recently with epic failure, aka we made a $5,000 doughnut preforming machine. Secondly, the robot would have to be as cunning as a human player to avoid silly penalties, like getting hit while kicking a ball making it go out of bounds.

Those are my little considerations in making our robot completely autonomous next year. I guess it also depends on what the game is next year as well because something like this puts drivers like me out of work. Good luck to those teams attempting this, I'm starting now so this way I'll only be 4 weeks late instead of the usual 5.
it isn't easy but teams that managed to get their cameras working or other motion/vision devices working (we had encoders, the camera was for our drivers) could possibly do it. yes it is a LOT of coding and strategizing early, but why not when it might bring success? there's always a safe-mode people can create so of/when the robot gets out of hand you can take over and correct it, then let the controls go again.
__________________
"To create a world where science and technology are celebrated... Where young people dream of becoming science and technology heroes"-Dean Kamen
This should start each year by focusing on worldwide issues, and having a game that, in theory if not practice, will help fix or compromise a solution with those issues, to make a better, safer worldwide and FIRST community.
  #78   Spotlight this post!  
Unread 30-03-2010, 16:45
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Programmers: I Have A Challenge For You

Quote:
Originally Posted by Alan Anderson View Post
It gets compiled, just like turning source code into object code for any compiled language.
I hope this isn't headed to a chicken and egg thing but, compiled from what?

Quote:
I implied the existence of a "nontypical" vi which does have a text representation.
So a graphical element that represents the addition of 2 input integers and produces an integer sum at the output, is that a typical VI?
Or is that not a VI at all?
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
  #79   Spotlight this post!  
Unread 30-03-2010, 19:04
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Programmers: I Have A Challenge For You

Quote:
Originally Posted by TJ Cawley View Post
there's always a safe-mode people can create so of/when the robot gets out of hand you can take over and correct it, then let the controls go again.
Similar to why you don't want an empty cockpit when a plane is in autopilot.

Putting a banner up in your driver station would be an interesting PR technique during practice rounds...
  #80   Spotlight this post!  
Unread 30-03-2010, 19:07
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,786
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: Programmers: I Have A Challenge For You

Quote:
Originally Posted by EricVanWyk View Post
EXACTLY.

Autonomous has been pretty boring for two years because there is no point value to it. Give it value, and it will become interesting.
Autonomy's value in this game rivals 2008, in my opinion. I like the subtle emphasis on it this year. I think it's not exciting simply because automatic robots are inherently less exciting.
__________________
Mentor / Drive Coach: 228 (2016-?)
--2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
.
College Mentor: 2791 (2010-2015)
-- 2015 TVR Motorola Quality, FLR GM Industrial Design -- 2014 FLR Motorola Quality / SFs (with 341, 4930)
-- 2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
-- 2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 MN 10K Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
  #81   Spotlight this post!  
Unread 30-03-2010, 19:13
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,825
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Programmers: I Have A Challenge For You

There is a value. Look at L.A. Final Match 1.

Total points (final): 24.
Hanging points: 6.
24-6=18 points on the floor.

Of those 18 points, 9 were scored autonomously.

15 seconds saw the same number of points scored in the goals that the following 2 minutes saw. The difference? No defense.

Remember, defending a robot during automode carries massive penalties this year. So massive, you REALLY don't want to do it.

But being able to score autonomously can give plenty of points as a cushion, which you want going into teleoperated mode.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #82   Spotlight this post!  
Unread 30-03-2010, 19:17
Bill_B Bill_B is offline
You cannot not make a difference
FRC #2170
 
Join Date: Jan 2010
Rookie Year: 2004
Location: Connecticut
Posts: 1,099
Bill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond reputeBill_B has a reputation beyond repute
Re: Programmers: I Have A Challenge For You

Quote:
Originally Posted by EricVanWyk View Post
Autonomous has been pretty boring for two years because there is no point value to it. Give it value, and it will become interesting.
The FTC matches have a double scoring for their autonomous mode. They take a long pause between auto and teleop modes to record the scores. The same scored objects are thereby scored twice. This can be quite a payoff for an effective auto program.
  #83   Spotlight this post!  
Unread 30-03-2010, 19:20
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Programmers: I Have A Challenge For You

I delivered the message to my teacher today, he thinks its a fantastic idea. He is even happy that I was even thinking about next year's robot, because he told me that previous years, people just forget about robotics after the regionals. He said I can use the tech shop to make my test robots
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #84   Spotlight this post!  
Unread 30-03-2010, 19:22
ideasrule's Avatar
ideasrule ideasrule is offline
Registered User
FRC #0610 (Coyotes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Toronto
Posts: 108
ideasrule is a jewel in the roughideasrule is a jewel in the roughideasrule is a jewel in the roughideasrule is a jewel in the rough
Re: Programmers: I Have A Challenge For You

Just to give an idea of how hard a good autonomous robot is, there's no computer in the world that comes close to matching the flexible and creative thinking of the human brain, nor is there a computer with the lifetime of experience that human robot drivers have. Making a robot smarter than a human isn't like CADing a robot framework; it's like designing a fusion reactor in 6 weeks, especially since decades of research by professional scientists haven't been able to do it.

If anybody plays real-time strategy games, the AI in them took a whole team of well-funded programmers years to write and debug. Even so, it can't compete with even moderately experienced gamers on an equal footing, and is very easy to exploit.
  #85   Spotlight this post!  
Unread 30-03-2010, 19:22
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Programmers: I Have A Challenge For You

Quote:
Originally Posted by Chris is me View Post
Autonomy's value in this game rivals 2008, in my opinion. I like the subtle emphasis on it this year. I think it's not exciting simply because automatic robots are inherently less exciting.
I noticed your rookie year was 06, and I'm surprised you would say autonomous is boring, I thought the autonomous shooters were really exciting. Also look at 04, autonomous was really exciting then too.
  #86   Spotlight this post!  
Unread 30-03-2010, 19:27
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Programmers: I Have A Challenge For You

Quote:
Originally Posted by ideasrule View Post
Just to give an idea of how hard a good autonomous robot is, there's no computer in the world that comes close to matching the flexible and creative thinking of the human brain, nor is there a computer with the lifetime of experience that human robot drivers have. Making a robot smarter than a human isn't like CADing a robot framework; it's like designing a fusion reactor in 6 weeks, especially since decades of research by professional scientists haven't been able to do it.

If anybody plays real-time strategy games, the AI in them took a whole team of well-funded programmers years to write and debug. Even so, it can't compete with even moderately experienced gamers on an equal footing, and is very easy to exploit.
You do make a good point, but where in the world does it ever say we are having a similar game next year? For all I know, it can be football, which is all pre layed out plays and stuff...
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #87   Spotlight this post!  
Unread 30-03-2010, 19:33
Rion Atkinson's Avatar
Rion Atkinson Rion Atkinson is offline
The CAD Guy
no team
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Oklahoma City
Posts: 386
Rion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond reputeRion Atkinson has a reputation beyond repute
Re: Programmers: I Have A Challenge For You

Quote:
Originally Posted by davidthefat View Post
You do make a good point, but where in the world does it ever say we are having a similar game next year? For all I know, it can be football, which is all pre layed out plays and stuff...
Oh... I can promise you... It will not be similar in any way to this year... Darn the GDC....
__________________
‎‎"I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones. -Albert Einstein
Start Something

Email - rionatkinson@gmail.com
Skype - Rion.Atkinson
  #88   Spotlight this post!  
Unread 30-03-2010, 19:59
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Programmers: I Have A Challenge For You

Quote:
Originally Posted by slavik262 View Post
To echo and summarize a lot of really smart people, there's a lot of problems with a fully autonomous robot. I'm listing them in order of importance (in my eyes) from greatest to least.
  1. Time/People - As people have said, it took teams of grad students working around the clock to accomplish a simpler challenge (DARPA) than what you're aiming to achieve. Even if you start working now, you'll still need to tailor the AI to the game next year. You can't do that much in six weeks without a time machine. You're highly underestimating the complexity of everything the robot has to do.
  2. Hardware - Autonomous robots have extremely beefy processors, usually custom-designed for the task. You have a 400 MHz PowerPC processor, which is not just controlling your robot's movement, but is also busy doing other things like communicating with the field. Consider how much power you would need to run autonomously. Think of what you would have to do:
    • Gather inputs from a large amount of sensors.
    • Formulate a "world view" of what is going on. Where is your robot? Where are the other robots? Where are the game pieces? What is your current strategy? What step in the plan for that current strategy are you in? How much time is left in the match? There's a lot of questions. You'll need to use complex algorithms to analyze your data (including slow image analysis if you're using the data) and even more complex algorithms to take that analysis and turn it into some useful strategy.
    • Act on that strategy. Use even more complex algorithms to determine if your strategy is working. Decide when to switch strategies or dynamically adapt to the strategies being employed against you by the other alliance.
    There's just not enough processor to do it all in real-time.
  3. Your drivers will want to drive the robot. Arguments about "what FIRST is" aside, telling your drive team that your code can perform as well as they can is an insult to any human being. It may be a great off-season project, but don't you want to achieve your best during competitions? I'm not claiming that it's "all about winning" - but the competition makes it fun for a lot of people, and I can promise you that because of all the above reasons, an autonomous program developed by a few high school students with a year (maximum) of development time, running on FRC hardware, and within the context of an FRC game will not perform nearly as well as even the worst driver. You're removing almost any chance your team will do well if you run fully autonomous, provided the other alliance's robots so much as move. Is the rest of your team willing to accept this just so they can say that their robot is autonomous?

I'm sorry for raining on your parade, but it can't be done - at least not well. Ambition is a wonderful thing - never give up your dreams. But technological marvels aren't created with just a can-do attitude. It takes years of research, hard work, development, and custom hardware to finish the job. The people who think this is possible need to stop and be a bit more realistic.

Try something on a much smaller scale. An automated scoring algorithm would be great, and is a totally reachable goal. Work your way up, and see what you can do. There's a huge difference between playing a match "mostly autonomously" and fully autonomously in that the "mostly autonomous" option allows human drivers to position the robot, aware of the field and match conditions, before letting it go to work.

Seeing as your #2 covered my reasons for more power thoroughly, I thought we might as well discuss ways to get more power now, with another 8 months ahead to plan.
So, does anyone believe there is a way to feasibly add a inverter/converter widget from the PD board to a PC PSU, which then runs a small PC/GPGPU with Linux, which can interface with the Crio for image analysis and strategy planning? (I'm not an electrical engineer) The main problem I'd see is that the voltage drop with the battery under load might have more severe effects on a PC than on the Crio.

The

Last edited by theprgramerdude : 30-03-2010 at 20:09.
  #89   Spotlight this post!  
Unread 30-03-2010, 20:01
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,786
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: Programmers: I Have A Challenge For You

Quote:
Originally Posted by lineskier View Post
I noticed your rookie year was 06, and I'm surprised you would say autonomous is boring, I thought the autonomous shooters were really exciting. Also look at 04, autonomous was really exciting then too.
I was in FTC until 2008, so the rookie year part of my postbit isn't entirely accurate.

Autonomy's value is really a lot like 2008, strategically. The points are free, undefended points. On top of that, though, "clearing" a zone allows a team to maximize its resources. A starved offensive zone is a death sentence in Breakaway. If both teams clear a zone, then the advantage is negated and the battle is fought at midfield This is a lot like 2008's hybrid, in that a large hybrid advantage is unsurmountable, so having a comprehensive hybrid is essential if only to negate the other alliance's hybrid.

My #1 priority for alliance selection at CT is strength of back autonomous mode. It's that important to winning, in my opinion.
__________________
Mentor / Drive Coach: 228 (2016-?)
--2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
.
College Mentor: 2791 (2010-2015)
-- 2015 TVR Motorola Quality, FLR GM Industrial Design -- 2014 FLR Motorola Quality / SFs (with 341, 4930)
-- 2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
-- 2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 MN 10K Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)

Last edited by Chris is me : 30-03-2010 at 20:07.
  #90   Spotlight this post!  
Unread 30-03-2010, 20:03
Rick Wagner's Avatar
Rick Wagner Rick Wagner is offline
Registered User
FRC #3008 (Kalani Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Honolulu, Hawaii
Posts: 188
Rick Wagner is a splendid one to beholdRick Wagner is a splendid one to beholdRick Wagner is a splendid one to beholdRick Wagner is a splendid one to beholdRick Wagner is a splendid one to beholdRick Wagner is a splendid one to beholdRick Wagner is a splendid one to behold
Re: Programmers: I Have A Challenge For You

Notwithstanding the difficulty of totally autonomous play, well documented here by many, I think that this is the direction FIRST competition is headed in, eventually. Remember that before '03 there was no autonomy at all. FLL is fully autonomous. These kids are now graduating to FRC teams.
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
For those of you that have seen a field goldenglove002 General Forum 1 13-02-2010 21:56
SE MI Teams - I have pool noodles for you! kmcclary General Forum 1 05-02-2010 20:29
Any Programmers Have The Same Feeling As Me? davidthefat Programming 23 16-01-2010 22:07
What have you given up for FIRST? Michael Leicht General Forum 138 11-01-2008 10:47


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

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