summaryrefslogtreecommitdiff
path: root/api/franca/navigation/NavigationTypes.fidl
diff options
context:
space:
mode:
Diffstat (limited to 'api/franca/navigation/NavigationTypes.fidl')
-rwxr-xr-xapi/franca/navigation/NavigationTypes.fidl22
1 files changed, 15 insertions, 7 deletions
diff --git a/api/franca/navigation/NavigationTypes.fidl b/api/franca/navigation/NavigationTypes.fidl
index c1cf0c2..2f652ad 100755
--- a/api/franca/navigation/NavigationTypes.fidl
+++ b/api/franca/navigation/NavigationTypes.fidl
@@ -8,6 +8,18 @@ package org.genivi.navigation
typeCollection NavigationTypes {
+ <** @description: version.**>
+ struct Version {
+ <** @description : when the major changes, then backward compatibility with previous releases is not granted.**>
+ UInt16 ^versionMajor
+ <** @description : when the minor changes, then backward compatibility with previous releases is granted, but something changed in the implementation of the API (e.g. new methods may have been added).**>
+ UInt16 ^versionMinor
+ <** @description : when the micro changes, then backward compatibility with previous releases is granted (bug fixes or documentation modifications).**>
+ UInt16 ^versionMicro
+ <** @description : release date (e.g. 21-06-2011).**>
+ String date
+ }
+
typedef Handle is UInt32
<** @description: Handle to a location.
@@ -19,11 +31,14 @@ typeCollection NavigationTypes {
/* geometric types */
struct Coordinate2D {
+ <** @description: latitude of the current position (according WGS84). Range [-90:+90]. Example: 48.053250 .**>
Double latitude
+ <** @description: longitude of the current position (according WGS84). Range [-180:+180]. Example: 8.324500 .**>
Double longitude
}
struct Coordinate3D extends Coordinate2D {
+ <** @description: altitude above the sea level of the current position in meters .**>
Int32 altitude
}
@@ -50,13 +65,6 @@ typeCollection NavigationTypes {
DistanceInMeters radius
}
- <** @description: Kind of shapes. **>
- enumeration ShapeType {
- CIRCLE
- RECTANGLE
- POLYGON
- }
-
typedef Timestamp is UInt64