NASA NTRS · 19890006969
Vector-matrix-quaternion, array and arithmetic packages: All HAL/S functions implemented in Ada
Abstract
The HAL/S avionics programmers have enjoyed a variety of tools built into a language tailored to their special requirements. Ada is designed for a broader group of applications. Rather than providing built-in tools, Ada provides the elements with which users can build their own. Standard avionic packages remain to be developed. These must enable programmers to code in Ada as they have coded in HAL/S. The packages under development at JPL will provide all of the vector-matrix, array, and arithmetic functions described in the HAL/S manuals. In addition, the linear algebra package will provide all of the quaternion functions used in Shuttle steering and Galileo attitude control. Furthermore, using Ada's extensibility, many quaternion functions are being implemented as infix operations; equivalent capabilities were never implemented in HAL/S because doing so would entail modifying the compiler and expanding the language. With these packages, many HAL/S expressions will compile and execute in Ada, unchanged. Others can be converted simply by replacing the implicit HAL/S multiply operator with the Ada *. Errors will be trapped and identified. Input/output will be convenient and readable.
Keep this discovery
Explore connections, maps & timelines
Klumpp, Allan R., Kwong, David D.. 1986-01-01. Vector-matrix-quaternion, array and arithmetic packages: All HAL/S functions implemented in Ada. https://ntrs.nasa.gov/citations/19890006969
Cite the original work for its findings. Save a collection to share your selection of sources.