Go to Post This thread is a reminder to myself that I have 29 more days to sleep. :) - Seth Mallory [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
  #61   Spotlight this post!  
Unread 09-01-2005, 20:39
CJO's Avatar
CJO CJO is offline
Emeritus Pain in the $@#$@#$@#
AKA: Christopher J. O'Connell
None #1097 (Site 3 Engineering)
Team Role: Alumni
 
Join Date: Feb 2003
Location: Latrobe (over the rainbow), CA
Posts: 217
CJO will become famous soon enoughCJO will become famous soon enough
Re: What do you think about how easy theyre making programming?

Seriously,

Take a look at the code before you start talking. If the kevin.org/frc version is correct, the "scipted" commands are simply a matrix in the file "commands.h." That being the case, all you are really doing is calling macros, besides, if you can integrate the Camera system effectivly with interrupts, etc., you are doing well. Finally, you do not have to use the scripting, if you are really that good, go ahead and write in binary.
__________________
Team 1097 -- Site 3 Engineering
~~~~~~~~~~~~~~~~~~~~
2003 Sacramento Rookie All Star
2003 Silicon Valley Rookie All Star
2004 Sacramento Engineering Inspiration Award
2004 Sacramento Visualization Award
2004 Outstanding Volunteer Award (G. Glasser)
2004 Silicon Valley Sportsmanship Award
2004 National Visualization Runner Up
2004 Cal Games Finalist
2005 Sacramento Sportsmanship Award
2005 Sacramento #1 seed
2005 Sacramento Finalist

2005 Silicon Valley Sportsmanship Award
2005 Silicon Valley #1 Seed
2005 Silicon Valley Finalist

  #62   Spotlight this post!  
Unread 09-01-2005, 22:55
BandChick's Avatar
BandChick BandChick is offline
Superpower: Knows Everyone
AKA: Sara Reffler
FRC #1089 (Team Mercury)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 1999
Location: Hightstown, NJ
Posts: 1,859
BandChick has a reputation beyond reputeBandChick has a reputation beyond reputeBandChick has a reputation beyond reputeBandChick has a reputation beyond reputeBandChick has a reputation beyond reputeBandChick has a reputation beyond reputeBandChick has a reputation beyond reputeBandChick has a reputation beyond reputeBandChick has a reputation beyond reputeBandChick has a reputation beyond reputeBandChick has a reputation beyond repute
Send a message via AIM to BandChick
Re: What do you think about how easy theyre making programming?

I think what FIRST has done gives MORE students potential in programming and engineering that they didn't have before. I don't speak programming, not well anyway, but with the new code I can actually understand what's going on. And to me, that's golden. I would love to understand more than just what the robot is made of and how it works. This gives every student, not just the programmers, to try their hand at something new. I think we all need to remember that FIRST is about inspiration, not about competition. With the new code I think FIRST is more likely to see kids heading in the programming direction that might have been afraid to previously.
__________________


2016 Championship userbars are here!

1089 Mentor & Alum | 2016 MAR Championship Finalists, Innovation in Control Award Winners
2015 Archimedes Champions | 2015 Einstein Semi-Finalists
2014 MAR Championship Finalists | 2014 Bridgewater District Finalists | 2013 Lenape District Finalists | 2011 NJ Regional Finalists
2014 & 2015 Excellence in Engineering Award | 2014 Xerox Creativity Award
2009, 2011, 2013 KCP&B Entrepreneurship Award Winners | 2012 Gracious Professionalism Award Winners | 2009 NJ Regional Chairman's Award Winners

"Success in life is a matter not so much of talent or opportunity as of concentration and perseverance." C.W. Wendte
  #63   Spotlight this post!  
Unread 10-01-2005, 01:25
KevinH's Avatar
KevinH KevinH is offline
Registered User
AKA: Kevin Hamer
#1307 (STAR (Labs))
Team Role: College Student
 
Join Date: Aug 2003
Rookie Year: 2004
Location: Durham
Posts: 16
KevinH will become famous soon enough
Send a message via AIM to KevinH
Re: What do you think about how easy theyre making programming?

Every team this year is also getting pieces to build gearboxes and frames out of a kit, and I don't think all of the mechs are complaining. Rookie teams are happy that they can get a successful robot and focus on making a robot competitive now, rather than just a robot, while I expect most veteran teams are still going to build all of their own gearboxes and chassis.

Same with programming- I expect most veteran teams will use what they know and write at a lower level w/o scripting or at least extending their scripting to be more powerful, while rookie teams will use the 'out-of-the-box' code.

If FIRST removed the ability to code at a lower level, there would be a problem, but they didn't. Rookie teams are still going to need to figure out what to do with the tools to be competitive.

I think that FIRST is very worried about veteran teams getting so much more advanced than rookie teams that rookie teams never stand a chance. That's why this year they tried to find ways to help rookie teams remain competitive with the most of the teams at a competition, and that's why this year we have a 3v3 game: in 1v1's rookies stand a suffer alone, is 2v2's, the veteran paired with a rookie often stands at a significant disadvantage, but in a 3v3, a rookie team doesn't really matter as much as past years. 3 team alliances also force rookie and veteran teams to talk, to strategize together, and helps rookie teams learn from the veterans.

I think the biggest difference this year is that this game is different-- there's no big mechanical challenge this year like 10' high chin-ups, but there's a big strategy challenge in managing the alliances. I think this is the biggest 'problem' this year, and that kits and better default code was inevitable.
__________________

  #64   Spotlight this post!  
Unread 10-01-2005, 03:11
CJO's Avatar
CJO CJO is offline
Emeritus Pain in the $@#$@#$@#
AKA: Christopher J. O'Connell
None #1097 (Site 3 Engineering)
Team Role: Alumni
 
Join Date: Feb 2003
Location: Latrobe (over the rainbow), CA
Posts: 217
CJO will become famous soon enoughCJO will become famous soon enough
Re: What do you think about how easy theyre making programming?

The FIRST scripting has just been released. That means that all of this complaining was without even seeing the "scripting." Kevin Watson wrote the scripting system. It is available at kevin.org/frc.

Please download the zip, and take a look at the way it works before you start complaining, even the writing is difficult. Not to mention, the Camera software is not supported by the scripting system . . . so, all of you "its too easy to program" people, figure out a way to make the serial port driver in the FIRST release (required for LCD screens and the new powersystem) interface with the serial port driver required to make the Camera function. In addition, you must develop scripting commands for each camera function. Then, add interrupts, encoders, math libraries, gyro control, banner sensor control (for those of you who do wheel rev counts), custom interface control (a nightmare to adapt to the new serial drivers), and any custom robot parts, and then, sure, its almost easy.

P.S.: For anyone not thrilled to do all that themselves, I have posted a version of the default code in the white papers section here. It includes support for the camera, the new Dynamic Diagnostics Tool (included in IFI loader 1.8), LCD screens, and the power system, it also incorperates interrupts, encoder control, and gyro control. In addition I have included the cordic math libraries and basic camera control, while maintaining the scripting set-up.
__________________
Team 1097 -- Site 3 Engineering
~~~~~~~~~~~~~~~~~~~~
2003 Sacramento Rookie All Star
2003 Silicon Valley Rookie All Star
2004 Sacramento Engineering Inspiration Award
2004 Sacramento Visualization Award
2004 Outstanding Volunteer Award (G. Glasser)
2004 Silicon Valley Sportsmanship Award
2004 National Visualization Runner Up
2004 Cal Games Finalist
2005 Sacramento Sportsmanship Award
2005 Sacramento #1 seed
2005 Sacramento Finalist

2005 Silicon Valley Sportsmanship Award
2005 Silicon Valley #1 Seed
2005 Silicon Valley Finalist


Last edited by CJO : 10-01-2005 at 03:13. Reason: error
  #65   Spotlight this post!  
Unread 10-01-2005, 04:26
cabbagekid2 cabbagekid2 is offline
Registered User
#0368 (Kika Mana)
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Honolulu, HI
Posts: 85
cabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura about
Re: What do you think about how easy theyre making programming?

I wouldn't mind looking at your code to see how you got all those things incorporated, but when I tried looking for it in the white paper section, it wasn't there. Did you not post it up there yet? I'll check back later.

Thanks.
  #66   Spotlight this post!  
Unread 10-01-2005, 04:53
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: What do you think about how easy theyre making programming?

Quote:
Originally Posted by KevinH
...I think the biggest difference this year is that this game is different-- there's no big mechanical challenge this year like 10' high chin-ups,...
Kevin,

I do not think that you have looked at the game close enough...

Center of gravity and strength of materials will be a huge problem for a majority of teams. In fact, I think it likely that an awful lot of teams will not be able to solve the problem.
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #67   Spotlight this post!  
Unread 10-01-2005, 04:55
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: What do you think about how easy theyre making programming?

Quote:
Originally Posted by CJO
The FIRST scripting has just been released. That means that all of this complaining was without even seeing the "scripting." ...
Chris,

Well said! This is hardly a trivial challenge.

Regards,
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #68   Spotlight this post!  
Unread 10-01-2005, 14:16
KevinH's Avatar
KevinH KevinH is offline
Registered User
AKA: Kevin Hamer
#1307 (STAR (Labs))
Team Role: College Student
 
Join Date: Aug 2003
Rookie Year: 2004
Location: Durham
Posts: 16
KevinH will become famous soon enough
Send a message via AIM to KevinH
Re: What do you think about how easy theyre making programming?

Quote:
Originally Posted by Mike Betts
Center of gravity and strength of materials will be a huge problem for a majority of teams. In fact, I think it likely that an awful lot of teams will not be able to solve the problem.
Still, I feel like lifting a pvc tetra to cap a the 7' tall goal isn't as hard having a robot lift itself up on a 10' bar.

[EDIT]
Not to mention climbing the steps to get to the bar...
__________________

  #69   Spotlight this post!  
Unread 10-01-2005, 14:40
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Wink Re: What do you think about how easy theyre making programming?

Quote:
Originally Posted by KevinH
Still, I feel like lifting a pvc tetra to cap a the 7' tall goal isn't as hard having a robot lift itself up on a 10' bar...
We shall see....
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #70   Spotlight this post!  
Unread 10-01-2005, 16:01
stephenthe1 stephenthe1 is offline
Registered User
#1008
 
Join Date: Dec 2004
Location: Ohio
Posts: 113
stephenthe1 is on a distinguished road
Re: What do you think about how easy theyre making programming?

we're having trouble with Kevin W's code. we have an encoder hooked up to digital (interrupt) 1 (left encoder). this encoder is actually working on an arm, so for now we're not bothering with the wheels. here is the code in user_routines_fast. everything else is configured properly. the only thing is that our encoder's "b" phase isn't wired yet. will this mess it up? here's the code, I'm interested if this will even work as I'm somewhat new to this stuff.
Code:
pwm14 = p1_y;
	pwm16 = p2_y;
	if (Get_Left_Encoder_Count() >= 12)
	{
		pwm02 = 127;
	}
	else
	{
	pwm02 = p3_y;
	}
  #71   Spotlight this post!  
Unread 10-01-2005, 19:46
IAmDave0887 IAmDave0887 is offline
Registered User
#0230 (The GaelHawks)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2001
Location: Shelton,CT
Posts: 2
IAmDave0887 is an unknown quantity at this point
Send a message via AIM to IAmDave0887
Exclamation Re: What do you think about how easy theyre making programming?

your right the coding is easier to understand. i just figured that easier meant worse but now that i've given it a second look its easier to understand and teach to new members so they can take over for the seniors who are leaving after this season. i do agree with you in that it gives more people a chance to see if they like programming.
__________________
-Dave
Team 230 The GaelHawks
My Website
  #72   Spotlight this post!  
Unread 10-01-2005, 19:57
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: What do you think about how easy theyre making programming?

Quote:
Originally Posted by stephenthe1
[T]he only thing is that our encoder's "b" phase isn't wired yet. [W]ill this mess it up?
Yeah, I would guess not having the B line connected will keep your code from operating as you expect. (Since you don't explain how you expect it to operate, I will make some assumptions.)

Not having the B line connected will keep the software from knowing which direction the encoder is turning. If you're lucky(?), the encoder interrupt handler will DECREMENT the counter on each interrupt, so that the arm control will appear to operate correctly for a while (with the exception that the arm won't stop where you think it should be when the encoder counter = 12.) After the encoder counter overflows, the arm will stop responding, because the counter will now be greater than 12.

If, on the other hand, the interrupt handler INCREMENTS the counter instead of decrementing it, I expect that the arm will stop responding after just a slight twitch, no mater which direction you move the joystick. (I say just a slight twitch, because 12 seems like such a small number when you're talking about encoders. I could be wrong, and your encoder might actually be of low enough resolution that a count of 12 will actually measure a reasonable arm rotation.)
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #73   Spotlight this post!  
Unread 10-01-2005, 19:57
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: What do you think about how easy theyre making programming?

Quote:
Originally Posted by stephenthe1
we're having trouble with Kevin W's code. we have an encoder hooked up to digital (interrupt) 1 (left encoder). this encoder is actually working on an arm, so for now we're not bothering with the wheels. here is the code in user_routines_fast. everything else is configured properly. the only thing is that our encoder's "b" phase isn't wired yet. will this mess it up? here's the code, I'm interested if this will even work as I'm somewhat new to this stuff.
Steve,

First of all, please do not take this personally (it is usually a matter of communication)...

Please start by explaining your algorithm in plain English. What you are trying to do. Your code/question does not make sense to me.
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #74   Spotlight this post!  
Unread 11-01-2005, 00:52
pickle's Avatar
pickle pickle is offline
Talking vegtable
AKA: Jeremy
#1296 (Full Metal Jackets)
Team Role: Programmer
 
Join Date: Apr 2004
Rookie Year: 2004
Location: Rockwall,TX
Posts: 42
pickle is on a distinguished road
Send a message via AIM to pickle
Re: What do you think about how easy theyre making programming?

Quote:
Originally Posted by KevinH
Still, I feel like lifting a pvc tetra to cap a the 7' tall goal isn't as hard having a robot lift itself up on a 10' bar.

[EDIT]
Not to mention climbing the steps to get to the bar...
Yes, but now you have to raise an 8 pound hunk of plastic 7' in the air, plus, the more they stack, the higher it gets, to you have to reach higher and higher, each time you're holding an 8-12 pound object on the end of an arm, stressing the material alot because of wobbling, and the center of gravity gets moved and tipping is easier..... I think its just as hard.... Instead of just having raw power to pull your 120 pounds up, you have to find a way to make a manuverable bot, but one that won't tip when you really throw the center of gravity off
__________________
2004 Rookie Inspiration Award winner - Midwest Regional
2004 Autodesk Visualization Award winner - Lone Star Regional
2004 Quarterfinalist - Lone Star Regional
2005 Team Spirit Award - Lone Star Regional
  #75   Spotlight this post!  
Unread 11-01-2005, 08:55
Roland's Avatar
Roland Roland is offline
Post-A-Holic
#1466
Team Role: Webmaster
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Tennessee
Posts: 169
Roland is infamous around these partsRoland is infamous around these partsRoland is infamous around these parts
Re: What do you think about how easy theyre making programming?

Quote:
Originally Posted by pickle
Yes, but now you have to raise an 8 pound hunk of plastic 7' in the air, plus, the more they stack, the higher it gets, to you have to reach higher and higher, each time you're holding an 8-12 pound object on the end of an arm, stressing the material alot because of wobbling, and the center of gravity gets moved and tipping is easier..... I think its just as hard.... Instead of just having raw power to pull your 120 pounds up, you have to find a way to make a manuverable bot, but one that won't tip when you really throw the center of gravity off
I agree, hanging is relatively easy compared to this. The reason is that you only had to hang once last year, and once you were hooked on the bar you were pretty much set. Now, though, you'll have to quickly stack a bunch of tetras during each match, and you can't attach to anything.
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
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
Programming Code themaxim Programming 10 07-01-2005 13:07
Robot Programming Education phrontist Programming 11 03-05-2004 07:32
MnM EASY Question of the Day Winners! Mike Bonham General Forum 22 03-05-2002 21:21


All times are GMT -5. The time now is 14:55.

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