Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic...

21
Tank-automotive & Armaments COMmand UNCLASSIFIED 31 May 2001 Jeff Jaster Electronic Architecture Team Email: [email protected] (810) 574-5106 / DSN 786-5106 Fax (810) 574-5933 U.S. Army Tank-Automotive RD&E Center (TARDEC) Vetronics Technology Area (AMSTA-TR-R, Mailstop 264) Warren, MI 48397-5000 Vetronics Application Programmer Interfaces (API’s)

Transcript of Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic...

Page 1: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

Tank-automotive & Armaments COMmandUNCLASSIFIED

31 May 2001

Jeff JasterElectronic Architecture Team

Email: [email protected](810) 574-5106 / DSN 786-5106

Fax (810) 574-5933U.S. Army Tank-Automotive RD&E Center (TARDEC)

Vetronics Technology Area(AMSTA-TR-R, Mailstop 264)

Warren, MI 48397-5000

Vetronics Application ProgrammerInterfaces (API’s)

Page 2: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

Report Documentation Page

Report Date 29May2001

Report Type N/A

Dates Covered (from... to) -

Title and Subtitle Vetronics Application Programmer Interfaces (APIs)

Contract Number

Grant Number

Program Element Number

Author(s) Jaster, Jeff

Project Number

Task Number

Work Unit Number

Performing Organization Name(s) and Address(es) U.S. Army Tank-Automotive RD&E Center (TARDEC)Vetronics Technology Area (AMSTA-TR-R, Mailstop264) Warren, MI 48397-5000

Performing Organization Report Number

Sponsoring/Monitoring Agency Name(s) and Address(es) NDIA (National Defense Industrial Assocation) 211Wilson BLvd., Ste. 400 Arlington, VA 22201-3061

Sponsor/Monitor’s Acronym(s)

Sponsor/Monitor’s Report Number(s)

Distribution/Availability Statement Approved for public release, distribution unlimited

Supplementary Notes Proceedings from 2001 Vehicle Technologies Symposium - Intelligent Systems for the Objective Force29-31 May 2001 Sponsored by NDIA

Abstract

Subject Terms

Report Classification unclassified

Classification of this page unclassified

Classification of Abstract unclassified

Limitation of Abstract UU

Number of Pages 20

Page 3: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

25/31/2001

Agenda

• What is an API?• API Based Software Reference Architecture• Operating Environment (OE) API• Adaptable Graphics Interface Language (AGIL) API• Weapon Systems Mapping Services (WSMS) API• Terrain Services API• Performance, Analysis & Measurement API• Station Management API

Page 4: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

35/31/2001

What is an API?

• Provides a service that receives and operates on some type ofdata, and returns data or some type of status regarding thesuccess or failure of the service attempted.4Developed in a non-proprietary and open system format.4Provides flexibility where ever possible.4Layered and focused on interfaces.

• Provides traceability from API to defined system requirements.• Designed for reuse and interoperability (define physical/logical interfaces).

– Defined to isolate dependencies, to ease porting.– Defined to be adaptable in order to map to a variety of implementations.

• Defined such that they can be replaced by emerging standards as they mature andare accepted by industry and DoD.

• Designed for testability (carry through conformance/validation requirements).

4 Include industry, academia, and standards bodies to the degree possible whendefining new API’s.

Page 5: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

45/31/2001

API Based Software ReferenceArchitecture

• Concentrates on interface definition by identifying applicable APIsand standards for physical and logical interfaces.4Utilizes SAE GOA model as a clear concise framework to partition capability.4Concentrates on interfaces to achieve interoperability, not products.

• Benefits of using an API based Architecture:4Promotes reuse at multiple layers.4Minimizes application impact from insertion of new technologies.4Facilitates interoperability through the identification of unambiguous interface

definitions.4Enables plug and play capability not only at the resource access services layer

(hw/drivers), but at the system services and application layers as well.

Page 6: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

55/31/2001

Example Software Architecture based onthe Vetronics Reference Architecture

CoreCoreVetronicsVetronics

High EndHigh EndReal TimeReal Time

InformationInformationSystemsSystems

High PowerHigh PowerLoad MgmtLoad Mgmt

AutomotiveAutomotive& Utility& Utility

PhysicalPhysicalResourcesResources

ApplicationApplication

SystemSystemServicesServices

ResourceResourceAccessAccess

ServicesServices

StationMgmt

API

Perf, Anal,& Mgmt

API

WSMSAPI

TerrainServices

API

FBCB2/IC3

API

MSGParser

API

WSTAWG OEAPI

Graphics Engine

AGILAPI

POSIX (RT) POSIX (Full)RTOS OSEK

Open GL X Windows

WSTAWG OEAPI

CoreCoreVetronicsVetronics

High EndHigh EndReal TimeReal Time

InformationInformationSystemsSystems

High PowerHigh PowerLoad MgmtLoad Mgmt

AutomotiveAutomotive& Utility& Utility

PhysicalPhysicalResourcesResources

ApplicationApplication

SystemSystemServicesServices

ResourceResourceAccessAccess

ServicesServices

StationMgmt

API

StationMgmt

API

Perf, Anal,& Mgmt

API

Perf, Anal,& Mgmt

API

WSMSAPI

WSMSAPI

TerrainServices

API

TerrainServices

API

FBCB2/IC3

API

FBCB2/IC3

API

MSGParser

API

MSGParser

API

WSTAWG OEAPI

WSTAWG OEAPI

Graphics Engine

AGILAPI

AGILAPI

POSIX (RT) POSIX (Full)RTOS OSEK

Open GL X Windows

WSTAWG OEAPI

Page 7: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

65/31/2001

Operating Environment (OE) API

• OE is the mechanism to facilitate application porting amongplatforms.

• Supports the development of portable, reusable applications.4Support the development of embedded applications in heterogeneous

distributed real time environments.4Provide semantic/behavioral correctness across varying OS and hardware

platforms with predictable performance.4Provide extensibility and scalability to suit varying platform requirements.4Support distributed applications integration environments.

• Communication and synchronization mechanisms developed to support therelocation of OE applications among processors and LRUs within a system withoutrequiring the modification of application software.

4Support the development and interoperability of applications in multipleprogramming languages (Ada 83, Ada 95, C) utilizing distinct OE vendorimplementations.

Page 8: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

75/31/2001

Product: Standard Software Module (SSM)Contract: Standard Army Vetronics Architecture (SAVA)Contractor: FMC, GDLS, TI, General ElectricTime: 1988-1992

Product: Combat Vehicle Operating Env (CVOE)Contractor: Raytheon

Product: Bradley OEContractor: UDLP-San Jose

Product: Vetronics RT Operating Services (VRTOS)Contractor: TACOMTime: 1995-1996

Product: Crusader OSS / RTCOEContractor: UDLP-Minneapolis

Product: WSTAWG OE APIContractor: IPTTime: 1997-Current

FSCS/Tracer

VTT STO

CAT/RF ATD

M2A3 VSIL

Crusader

SensorsFLIRS

MLRS

Evolution of the OE Concept

Page 9: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

85/31/2001

OEVer 1.0

6/98

OEVer 1.3

2/00

OEVer 2.0FY01

Arinc 653

???

Raytheon (CVOE)

United Defense (RTCOE, OSS)

Us Army TARDEC (VRTOS)

POSIX (RT, Distributed, SRASS)

OAR Corporation (RTEMS)

SAE (OS API)

CORBA

Raytheon CVOE Prototype

OAR RTEMS Prototype

TARDEC Native/CORBA Prototype

UDLP OSS Prototype

Definition Prototyping Defect Resolution/Enhancement

POSIX

RT CORBA

OE API Evolution

Page 10: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

95/31/2001

Synchronization Communication Timing

ConfigurationNamingResource

Management Instrumentation

XOSServices

POSIX1003.13OS

Services

SystemServices

ResourceAccess Services

Application

CPU Network I/FHWDevices

PhysicalResources

Driver(Plug In)

Driver(Plug In)

Driver(Plug In)

Driver(Plug In)

3X

4D

3D

2D

1D

3D

Network

4L

3L

2L

1L

OE API Services

Page 11: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

105/31/2001

OE API Components

• API Specification4Language Independent Specification (LIS).4Based on CORBA Interface Definition Language (IDL).

• Language Bindings4Ada 95 and C Language bindings.

• Binary Encodings4Enables object access among distinct OE vendor implementations.4Based on CORBA Common Data Representation (CDR).4Provides opcode definitions and rules for interchange.4Provides rules for object registration and naming.4Provides protocol mappings (currently TCP/IP and Implementation Defined).

• Configuration4 File structure and general syntax.4 Partition structure and syntax.

Page 12: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

115/31/2001

Adaptable Graphics Interface Language (AGIL)API

• Isolates the graphics engine hardware and software dependenciesfrom the application software.4Defines an interface between the system software application and a graphical

engine.• The AGIL logical interface is defined via a language binding to a

set of packages:4AGIL Primitives - Defines primitive data types/objects used in AGIL.4AGIL Device - Defines the core AGIL component, encapsulating application

and graphics independence.4AGIL Event - Defines the primary mechanism utilized for interconnecting

applications with the graphical device subsystem.4AGIL Drawable - Defines a set of complex graphical objects built utilizing

the AGIL device API for development of an application SMI.

Page 13: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

125/31/2001

Weapon Systems Mapping Services API

• Defines a set of detailed concepts, functionality, and interfacesrequired to support the development of mapping applications, whileaddressing underlying architectural support issues of embedded realtime systems (e.g. multitasking, reentrancy, and blocking/non-blocking execution).

• The WSMS Architecture has been developed to provide:4Application scalability, such that groups of functionality and differing data

standards and formats can be supported to meet varying system requirements.4Application extensibility, such that future upgrades can be easily incorporated

to provide for advances in mapping system technologies.4Support for the development of weapon system mapping implementations

meeting real time embedded performance and integration requirements.4Support for the development of mapping implementations and applications

within varying application architectures using varied graphics subsystems,hardware, software, and programming languages.

Page 14: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

135/31/2001

WSMS API Architecture (Class Diagram)

• Developed as a set of abstract and concrete classes to implementspecific functionality in the areas of:4Raster Maps4Vector Maps4DTED Maps4Grids4Overlays4Self Icons

Lat_Long

MGRS

UTM 2525B Graphical_PrimitiveText Bitmap Ground_Vehicle

CADRG CIB FFD VMAP VITDDTED

Self_IconOverlaySymbolGrid

Session

Map

Raster Matrix Vector

Page 15: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

145/31/2001

WSMS API Components

• API Specification4Language Independent Specification (LIS).4Described using a modified Backus Naur Form (BNF) notation.4Abstracts graphical and OS dependencies:

• Graphics concepts are abstracted via a graphical implementation layer (GIL).• Underlying graphical engine is not assumed (e.g. could be X, OpenGL, Win32,

DirectX, …).

• Language Bindings4Ada 83, Ada 95, and C++ Language bindings.

Page 16: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

155/31/2001

Terrain Services API

• Provides an interface to perform critical terrain analysis functionsindependent of operating environment and application developer.

• Developed to maximize:4Open-interfaces4Component reuse4Operational flexibility

• Primary Functions:4Path Analysis4Range Analysis4Terrain Categorization4Line of Sight

Developed in conjunction with ARDEC basedupon a portion of the Future Fire Decision

Support Software (F2DSS)

Page 17: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

165/31/2001

Terrain Services API (Cont.)

• Path Analysis4Calculation of mobility corridors.

• Determination of choke points or restrictions identification along a path.• Calculation of travel times along a path.

• Range Analysis4Computation of minimum time, route and location to intercept a moving

object.4 Identification of possible locations at some future time for moving objects.

• Terrain Categorization4Categorization of terrain with client selectable parameters.4 Identification of areas within given parameters.

• Line of Sight4Computation of visible line of sight from a location within an area.4Computation of direct fire weapons line of sight area from a location.4 Identification of optimal observation points within a given area.

Page 18: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

175/31/2001

Vetronics Station (Generation)

App

App

App

App

App

App

App

App

Vetronics Station (Generation)

Gen

Gen

Gen

Gen

Collection, Monitoring, & Analysis

Supports:- Distributed RT Integration- Test- Data Recording- Data Analysis

Performance, Analysis & Measurement API

• Extensible tagged event/sequence generation, recording, andmonitoring system mapped to the “intelligent taxonomy” to measuredefined mission scenarios/tasks (end to end).

• Primary Functions:4 Internal – Generation Component.4External – Collection, Monitoring, & Analysis Component.

Page 19: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

185/31/2001

Performance, Analysis & Measurement (Cont.)

• Generation Component (Internal)4Application interface is provided as an OO API with Ada 95 and C++

bindings.4Provides the ability to extend the base message to include additional

architecture and application-defined data fields.4Provides the ability to control the routing and destination of output message

data (internally for recording or externally for monitor/analysis).

• Collection, Monitoring, & Analysis Component (External)4Capture/Monitoring Functions:

• Provides the ability to capture directed message data from the system in real time.• Provides the ability to retrieve/view/filter recorded data/messages from the target

system for analysis.

4Analysis Functions:• Provides the ability to view recorded sequences (threads) as an end to end set of

actions.• Provides the ability to measure timing between discrete events.

Page 20: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

195/31/2001

Station Management API

• Provides a conceptual “software backplane” to facilitate applicationintegration and system upgrade.

• Primary Functions:4Application loading and startup synchronization.4Application runtime synchronization.4Application subfunction health monitoring.

Vetronics Station

SM

App

App

SM

App

App

SM

App

App

SM

App

App

SM

App

App

SM

App

App

SM

App

App

SM

App

App

Vetronics Station

Vetronics Station

Vetronics Station

Page 21: Vetronics Application Programmer Interfaces (API's) [Read-Only] · 2011-05-13 · Electronic Architecture Team Email: jasterj@tacom.army.mil (810) 574-5106 / DSN 786-5106 Fax (810)

205/31/2001

Station Management API (Cont.)

• Architecture4A station manager is resident on each computing node in the system, with one

station manager being designated as the master for the station.• The station master provides for the synchronization of each node in the system.• The station manager provides a base concept/set of operations for a system state

and mode and hardware registry which can be extended to a system specificcontext as required for the application.

• Application loading and startup synchronization:4Provides the ability to interpret a static configuration file in order to

dynamically load/start subfunctions among the computing elements within theVetronics stations.

• Application runtime synchronization:4Provides the ability for application subfunctions to synchronize at defined

synch points.

• Application subfunction health monitoring.4Provides the ability to monitor the application subfunction health.

• Provides the ability to report health anomalies to the system application.