summaryrefslogtreecommitdiff
path: root/api/franca/navigation/navigationcore/MapMatchedPositionTypes.fidl
blob: a14215cb8ac5aaa4076acae592204d5d78bfdb04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
/* 
SPDX-License-Identifier: MPL-2.0
Copyright (C) 2014, PCA Peugeot Citro�n, XS Embedded GmbH, TomTom International B.V., Continental Automotive GmbH, BMW Car IT GmbH,  Alpine Electronics R&D Europe GmbH, AISIN AW CO., LTD.,  Neusoft Technology Solutions GmbH, Jaguar Land Rover Limited, Visteon Corporation, Elektrobit Automotive GmbH
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
this file, you can obtain one at http://mozilla.org/MPL/2.0/.
*/

package org.genivi.navigation.navigationcore

import org.genivi.navigation.NavigationTypes.* from "../NavigationTypes.fidl"

typeCollection MapMatchedPositionTypes {
	
//	enumeration PositionItemKey extends PositionStatus { //Base 0x00a0
	enumeration PositionItemKey { //Base 0x00a0
		INVALID 	= 0
		TIMESTAMP	= 16
		LATITUDE	= 160
		LONGITUDE	= 161
		ALTITUDE	= 162
		GNSS_FIX_STATUS		= 224
		DR_STATUS			= 225
		MM_STATUS			= 226
		SIMULATION_MODE		= 227		
		HEADING				= 163
		SPEED				= 164
		CLIMB				= 165
	}
	
//	enumeration AddressItemKey  extends TimeStampedEnum {
	enumeration AddressItemKey {
		INVALID 	= 0
		TIMESTAMP	= 16
		TIMEZONE_OFFSET		= 17
		DAYLIGHT_OFFSET		= 18
		COUNTRY				= 166 //Base 0x00a0
		STATE				= 167
		CITY				= 168
		ZIPCODE				= 169
		STREET				= 170
		HOUSENUMBER			= 171
		CROSSING			= 172
		DISTRICT			= 173
		PHONENUMBER			= 174
		POINAME				= 175
		TOWNCENTER			= 176
		LOCATION_INPUT		= 177
		FULL_ADDRESS		= 178
		COUNTRYCODE			= 179
		HOUSENAME			= 180
		POSTAL_CODE			= 181		
	}
		
//	enumeration PositionStatus extends GeoLocalizedEnum { //Base 0x00e0
	enumeration PositionStatus { //Base 0x00e0
		INVALID 	= 0
		TIMESTAMP	= 16
		LATITUDE	= 160
		LONGITUDE	= 161
		ALTITUDE	= 162
		GNSS_FIX_STATUS		= 224
		DR_STATUS			= 225
		MM_STATUS			= 226
		SIMULATION_MODE		= 227		
	}
	
	enumeration MatchMode { //Base 0x00f0
		MATCH_TYPE			= 240
		ON_ROAD				= 241
		OFF_ROAD			= 242
		ON_FERRY			= 243
		IN_TUNNEL			= 244
		ON_CARPARK			= 245
	}		
		
//	 enumeration GnnsFixStatus extends BasicEnum { //Base 0x0100
	 enumeration GnnsFixStatus { //Base 0x0100
		INVALID 	= 0
	 	NO_FIX				= 256
	 	TIME_FIX			= 257
	 	FIX_2D				= 258 //2D_FIX is prohibited 
	 	FIX_3D				= 259
	}
		
//	enumeration PositionOnSegmentKey extends TimeStampedEnum { //Base 0x0110
	enumeration PositionOnSegmentKey { //Base 0x0110
		INVALID 	= 0
		TIMESTAMP	= 16
		SEGMENT_ID				= 272
		DIRECTION_ON_SEGMENT	= 274
		DISTANCE_ON_SEGMENT		= 275
	}
	
//	enumeration SimulationStatus extends BasicEnum { //Base 0x0220
	enumeration SimulationStatus { //Base 0x0220
		INVALID 	= 0
		SIMULATION_STATUS_NO_SIMULATION		= 544
		SIMULATION_STATUS_RUNNING			= 545
		SIMULATION_STATUS_PAUSED			= 546
		SIMULATION_STATUS_FIXED_POSITION	= 547
	}
	
	union PositionItemValue {
		Timestamp timestamp
		Boolean status
		GnnsFixStatus fix
		Double doubleValue
		Int32 intValue
	}	
		
	map PositionItemDict {
		PositionItemKey to PositionItemValue
	}
	
	union AddressItemValue {
		String addressField
		Int16 offset
		Timestamp timestamp
		MatchMode matchMode
	}
	
	map AddressItemDict {
		AddressItemKey to AddressItemValue
	}
	
	union PositionOnSegmentValue {
		Boolean directionOnSegment
		Distance distanceOnSegment
		LinkId segment
		Timestamp timestamp
	}
	
	map PositionOnSegmentDict {
		PositionOnSegmentKey to PositionOnSegmentValue
	}
	
	union PositionStatusValue {
		Boolean statusValue
		GnnsFixStatus fixStatus
		Timestamp timestamp
	}
	
	map PositionStatusDict {
		PositionStatus to PositionStatusValue
	}

	
}