Go to Post If full body suits can be made to fit properly, why do we have so many robots with saggy bumper covers? - GaryVoshol [more]
Home
Go Back   Chief Delphi > FIRST > Rumor Mill
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 28-06-2005, 11:00
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Spoiler: Could this be the new software for the FRC 2006?

If in fact FIRST decides to go with this, and based on the information provided, it seems like there's a good chance that they will, I really hope that they don't require teams to use the program (which they probably won't).

While a tool like this can be very useful in teaching logic and program flow, it quickly becomes messy and hard to read when you start doing complex things.

Just look at the VEX Controller Examples on the page listed in the original post. Check out the example on page 16. Simply looking at the code makes it impossible to figure out what's going on. I look at the diagram and am immediately overwhelmed by a barrage of shapes and colors. The text on the symbols is useful for some things (like pwm01 = 40), but for others it is very non-helpful. "IF Zero"...are they saying "if(0)" or "if(somevariable == 0)", and if so, what is somevariable? They also use GOTOs, which can be incredibly confusing and are usually taught to be avoided at all costs.

In an example in the FRC examples on page 14, I look at their flowchart and understand what they're doing, but without reading their description, where does TEMP2 come from? It turns out that it is set in the Get_Analog_Value routine, but who would've guessed? Is it hard-coded that rc_ana_in1 gets assigned to TEMP2 or is that user definable?

Point is, it adds a layer of abstraction that makes the code harder to read. Does this mean that we'll have to compile twice? Once for the flowchart, then once again to compile the assembly into the IFI code skeleton?

I understand that the programming world is moving toward things like SDL and UML to autogenerate code, but there is still no substitute for learning how to write code for yourself. In fact, I contend that you are better off learning to program in a textual language then applying that knowledge to autogeneration. There's just so much control you can have with a high level graphical language, not to mention that the generated code is usually enormous and inefficient (two things that cannot be sacrificed on the FIRST controllers)

I think that the money and effort spent on developing this tool would have been better spent coming up with a solid curriculum to teach students how to program in C. With a little time and practice, I think that most people would find that there is no magic involved in programming.

I appreciate the efforts made by Elabtronics, and I hope that there are some people out in the FIRST community that will benefit from them. I just don't see myself using a graphical tool like this on anything complex.
Reply With Quote
 


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
[Official 2006 Game Design] OK, so YOU design the 2006 game... dlavery FRC Game Design 29 08-01-2006 00:21
**FIRST EMAIL**/2005 FRC Game Design Communication to FRC Teams Goobergunch FIRST E-Mail Blast Archive 1 06-01-2005 09:29
FRC Program State Frozen at Power-up WillyC Control System 4 14-02-2004 18:05


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

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