Difference between revisions of "Design"

From FRC11 - Mentor Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
There are lots of ways to design software, of which we just give an overview of some of the more prominent and readily available techniques.
+
== Design ==
 +
For your design software we use OnShape. To gain access for educational use please see one of the Head Coaches
  
−
=== ''High Level'' and ''Low Level'' Design ===
+
:: We use OnShape to design systems, sub systems and drivetrains
−
 
+
:Design for Integration
−
Almost all system design tasks are split into two levels of design - ''High Level'', sometimes known as ''Architectural Design'' and ''Low Level'', sometimes referred to as ''Detailed Design''.  The following practices fall into one or both of these categories.
+
:Design for Reparability
−
 
+
:Design For Manufacturing
−
=== Flow Charts ===
+
::Design for 3d Printing
−
 
+
::Design for CNC
−
Flow charts are a good way to get started, though once you have a good feel for coding, other techniques often work better.
+
::Design for Manual Milling
−
 
+
:
−
[https://en.wikipedia.org/wiki/Flowchart#/media/File:LampFlowchart.svg An example flow chart to fix a lamp]
+
:Designing for the Game
−
 
 
−
[https://en.wikipedia.org/wiki/Flowchart Flow charts] consists of actions, states, decisions, and paths, and is most appropriate for ''low level'' design. Boxes can represent items to perform or states of items in the system.  Diamonds represent decisions to make. Arrows may be unlabeled when going to consecutive items, but outflows from a decision must be labelled with the value used in the decision.
 
−
 
 
−
To design using flow charting, you have to think sequentially, and in terms of how control is determined - in particular, what decisions are to be made and on what basis.
 
−
 
 
−
'''Why Flow Charts can be good'''
 
−
 
 
−
Flow charts can be useful even to the experienced programmer for smaller items and when trying to get a good feel for the sequence of actions and decisions that need to be made.
 
−
 
 
−
'''[https://www.quora.com/Why-is-using-a-flowchart-bad-practice-in-programming Why using Flow Charts can be bad]'''
 
−
* Flow charts have a tendency towards producing spaghetti code
 
−
* Don't represent loops well
 
−
* Don't represent objects well
 
−
* Difficult to use decomposition
 
−
* Unwieldy for large or complex items
 
−
* Easier to design in pseudo code or using other techniques
 
−
 
 
−
=== Data Flow Diagrams ===
 
−
 
 
−
Design using [https://en.wikipedia.org/wiki/Data_flow_diagram Data Flow Diagrams] (DFD) is a simple technique to represent the objects in the system and the flow of information between ''producers'' and ''consumers''. It's good for procedural programming to identify and get a feel for how data needs to move about the system, and certainly for object oriented design, especially in conjunction with other methods.
 
−
 
 
−
Circles (or ''bubbles'') represent objects or processes in the system. Arrows represent the flow of information between bubbles, and ''boxes without sides'' represent data stores, such as files or databases.  ''Flows'' (the arrows) are always labeled with the data that is being transmitted.  You can abstract or group data, if the number of individual data items gets to be too much for the diagram.  Then you can list the group names, instead of the individual items on the diagram, and define elsewhere what data items are present.
 
−
 
 
−
Data Flow Diagrams are most useful during ''Architectural Design'' (High Level design), but can be used even at the lower levels as well.
 
−
 
 
−
=== Decomposition ===
 
−
 
 
−
=== Pseudocode ===
 
−
 
 
−
=== Functional Specification ===
 
−
 
 
−
=== Object Oriented Design ===
 

Latest revision as of 10:43, 8 November 2021

Design

For your design software we use OnShape. To gain access for educational use please see one of the Head Coaches

We use OnShape to design systems, sub systems and drivetrains
Design for Integration
Design for Reparability
Design For Manufacturing
Design for 3d Printing
Design for CNC
Design for Manual Milling
Designing for the Game