CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.
-
Upload
brianna-peters -
Category
Documents
-
view
220 -
download
0
Transcript of CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.
![Page 1: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/1.jpg)
CS 350, slide set 9a
M. Overstreet
Old Dominion UniversitySpring 2005
![Page 2: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/2.jpg)
Outline What to read? What to implement? What to stub? What should instructor provide?
![Page 3: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/3.jpg)
Background reading Read pp. 1-17 Particularly, make sure you understand:
Rotation of History Variables (p. 15)• In general, you are required to keep copies of
previous values of several variables just in case• Anytime you compute a new value, throw away the
oldest one
Exception Handling (p. 16)
![Page 4: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/4.jpg)
A Little FORTRAN REAL*8 means double
Look in .h files to see all C++ equivalents If an exception occurs the spec says to print:
What the exception is (see spec) The name of the module, The name of the function within that module The current value of frame counter
The The FORTRAN statement FORMAT( x, a6, x, a32, x, i4)means to print an ASCII string (module name), another
ASCII string (function name) and an integer (frame counter)
![Page 5: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/5.jpg)
Driver? Calls other modules What’s tricky?
Calling order (page 43) Termination What about GCS_SIM_RENDEZVOUS?
• Stubbed
![Page 6: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/6.jpg)
AECLP (p. 47) 5 pages Controls big engines (axial) Similar to RECLP Has some “messy” math
Integration Solve differential equation for te_limit
![Page 7: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/7.jpg)
ARSP (p. 53) 2 pages Use radar to find height Math:
Need to fit third-order polynomial to existing data
Some prior knowledge
![Page 8: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/8.jpg)
ASP (p. 55) 4 pages Measure acceleration (in all 3
directions) Math:
Matrix multiply Error handling
![Page 9: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/9.jpg)
CP (p. 59) 4 pages Prepare data packet for transmission Coding
Packing different data types on byte boundaries
A little prior knowledge
![Page 10: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/10.jpg)
CRCP (p. 63) 1 page Release parachute
![Page 11: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/11.jpg)
GP (p. 65) 7 pages Fly the space craft Math
Integration Matrix multiplies
Complex!
![Page 12: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/12.jpg)
GSP (pg. 74) 2 pages Measure rotation rates using
gyroscopes
![Page 13: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/13.jpg)
RECLP (p. 75) 2 pages Control roll engines
![Page 14: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/14.jpg)
TDLRSP (p. 77) 5 pages Measure velocity with 4 radar beams Issues
Error handling?
![Page 15: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/15.jpg)
TDSP (p. 83) 1 page
![Page 16: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/16.jpg)
TSP (p. 85) 3 pages Math
Find equations of quadratic
![Page 17: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/17.jpg)
Assume 4 member groups Which modules to implement What can be stubbed? What routines should be provided?
Due to lack of math prerequisites for class
![Page 18: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/18.jpg)
Required modules Driver Stubbed routines for any not written
E.g. GP, GCS-sim-rendezvous Modules:
ARSP ASP CP GSP
Extra credit for extra modules How much depends on difficulty of module; please
inquire
![Page 19: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/19.jpg)
Simplified Task Planning Template (p. 82)
Rows: include only:Launch & strategyPlan-tasks and scheduleSystem test planOnly one line per module (but see next slide)PostmortemTotals
Columns: include only:Task Name Planned ValuePlan hours by person Cumulative PVTotal team hours Actual hoursCumulative hours Cumulative hoursSize Actual WeekPlanned Week
![Page 20: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/20.jpg)
Task Plan/Report per Module
Task Size WhoPlan-hrs PV Act-hrs
Plan com. date
Act. com. date EV
Design
Design rev
Code
Code rev.
Compile
Code insp.
Test data
Test driver
Test rev.
Test insp.
Testing
![Page 21: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/21.jpg)
Another omission Given the limited time:
Log where errors are found only Omit noting where errors are inserted
You must report errors found for each task Some tasks may be unlikely to discover
errors, but also include them in your error report.
![Page 22: CS 350, slide set 9a M. Overstreet Old Dominion University Spring 2005.](https://reader033.fdocuments.net/reader033/viewer/2022051115/5697bf751a28abf838c80335/html5/thumbnails/22.jpg)
Minutes due by Sunday! For this meeting, do not use week form
Will be used after this week Include:
Team Name Chosen regular team meeting time Tentative decision on who will implement
what Team questions