Difference between revisions of "Programming Project Lifecycle"

From FRC11 - Mentor Wiki
Jump to navigation Jump to search
(Created page with "'''Development lifecycle:''' : '''Requirements -> Design -> Implement -> Test''' '''Requirements''' (the WHAT of what needs to be down) * Requirements consists of CUSTOMER...")
 
Line 27: Line 27:
  
 
'''Related task:'''
 
'''Related task:'''
−
* Organization of SW development repo / structure
+
* Organization of SW development repository / structure
 
: Needs to be organized in way that everyone ... [TBD]
 
: Needs to be organized in way that everyone ... [TBD]

Revision as of 13:46, 13 January 2019

Development lifecycle:

Requirements -> Design -> Implement -> Test


Requirements (the WHAT of what needs to be down)

  • Requirements consists of CUSTOMER requirements and DERIVED requirements. Requirements are mostly BEHAVIORS (do X, or display Y) or sometimes performance constraints.
  • Customer requirements are those that the customer requests directly (e.g. Raise a hatch precisely to a given height, deliver a ball to a cargo station automatically without operator input)
  • Derived requirements are those behaviors that are needed to support the customer requirements (drive at a given speed, turn robot N degrees, raise the elevator, map joystick movements into drive commands)

Design (The HOW of what needs to be done, and also details of WHAT needs to be done by subsections of the system)

  • Design specifies the major components
  • Design specifies the minor components
  • Design refines the components to specify precisely what portions of the system do what, and how they do it
  • At a minimum Functional Specification and Pseudocode need to be performed. (MANDATORY)
A functional spec includes a function signature with parameters, and the “intended function” - 1-2 lines that describe precisely what the intended functionality is
  • Design is iterative and works by decomposing. High level at first, (e.g., system components) then add more information (needed steps or functions), then more detail (full signatures, and precise intended functions
  • Detailed design includes pseudocode
  • Optional to use flow charts, data flow diagrams, or other design techniques

What we need to do:

  • Identify customer requirements
  • Identify derived requirements
  • Identify subsystems, refine subsystem tasking (Benny’s area of expertise list)
  • Identify primary steps to implement for each customer or derived requirement
  • Refine each step until we don’t know what to do, then use bottom up investigation/learning until we can complete design

Related task:

  • Organization of SW development repository / structure
Needs to be organized in way that everyone ... [TBD]