Using GPS Receivers
Sofwtare Design Considerations
Prof. David Bernstein
James Madison University
Computer Science Department
bernstdh@jmu.edu
Qualitative Goals: A Reminder
Adequate - Meets all of the requirements and satisfies all of the constraints
Reliable - Low probability of failure under normal operating conditions
Robust - Able to operate under a wide variety of condtions
Safe - Able to minmize the damage resulting from failure
Easy to Repair and Enhance
Easy to Understand/Document and Use
Easy to Re-use
High Level Issues
Use of the observer pattern for the GPS receiver?
Need for a generic AVL subject/observer?
High Level Issues (cont.)
Where should the checksum calculations be performed?
Need for buffering?
Low Level Issues
Which sentences to process?
Longitude and Latitude formats
Intentionally missing fields in sentences
Possibility of intentionally misisng validation value
Units