Functions
Ref. Model
I/O Data
SubAIMs
JSON MData
Profiles
Ref. Software
Conformance
Performance
1 Functions
The Route Selection Planning (CAV-RSP) AIM:
| Receives | Basic Offline Map Object | The roads the CAV moves on, and the names of places. |
| Full Environment Descriptors | From Full Environment Description. | |
| AMS-HCI Message | From Human-CAV Interaction. | |
| Route | A Route given to be driven. | |
| Route Response | From Trajectory Planning and Decision. | |
| Passenger Request | From Human-CAV Interaction. | |
| Road State | From the Road State bus of the AMS. | |
| AMS Data | From AMS Memory. | |
| Produces | AMS-HCI Message | To Human-CAV Interaction. |
| Domain Knowledge | To Human-CAV Interaction. | |
| Route Request | To Trajectory Planning and Decision. | |
| Route | To AMS Memory. | |
| Road State | To the Road State bus of the AMS. | |
| AMS Data | To AMS Memory. |
From the segment the CAV is on and a Destination, the AIM gives the Route of least expected time on the Offline Map – each segment’s time from its length and speed limit – and, where the map has one, the best Route that leaves out a segment of it. It proposes them to Human-CAV Interaction, each segment with the time the CAV is expected at its end, and none where the Destination cannot be reached.
The CAV does not move until Human-CAV Interaction selects a Route with the Route Command Execute. Suspend and Stop halt the CAV at the end of the segment it is on; Resume drives on. A new Destination is proposed again, the Route being driven kept until another is executed. Each Route Command is answered with the Route’s state, and Arrived is told when the CAV stands at the end of its Route.
What the passenger asks may also reach the AIM as a Passenger Request: the items of the CAV’s Domain Knowledge the request names – the action of CAV-TEC it asks for and the place or the Route it is about, by the identifiers the AIM itself gave. The AIM acts on it as on an AMS-HCI Message Request. What it knows and does – the named places of the Offline Map, the Routes proposed with their times, the state of the Route driven – it gives as Domain Knowledge, again at each change.
What the AIM decides and tells – the Routes proposed, the state of the Route driven – it records as AMS Data, the black box of the CAV that AMS Memory keeps: each record with the Full Environment Descriptors the decision was taken on and the AMS-MAS Message last sent, which it takes from the AMS Data AMS Memory gives. Before the first AMS-MAS Message nothing is recorded.
A new Route is given on a Route Response – a segment that cannot be driven – or when the CAV is found on a segment the Route does not have.
2 Reference Model
Figure 1 depicts the Reference Model of the Route Selection Planning (CAV-RSP) AIM.

Figure 1 – The Route Selection Planning (CAV-RSP) AIM
3 I/O Data
Table 1 specifies the Input and Output Data of the Route Selection Planning (CAV-RSP) AIM.
| Input | Data Type | Description |
|---|---|---|
| Basic Offline Map Object | Basic Offline Map Object | The Offline Map: its segments, lanes, speed limits and named way points. |
| Full Environment Descriptors | Full Environment Descriptors | Where the CAV is on the map: the segment it is on. |
| AMS-HCI Message | AMS-HCI Message | The Destination requested, the Route selected and the Route Command: Execute, Suspend, Resume, Change, Stop. |
| Route | Route | A Route given from outside the AMS. |
| Route Response | Interaction | A segment of the Route that cannot be driven. |
| Passenger Request | Domain Knowledge | The items of the CAV’s Domain Knowledge that what the passenger said names – the action asked for (Routes requested, a Route selected, a Route Command) and what it is about (a place of the map, a Route proposed). |
| Road State | Road State | The state of the roads, as the AIMs of the AMS know it. |
| AMS Data | AMS Data | From AMS Memory: the black box of the CAV, of which the AIM takes the AMS-MAS Message last sent. |
| Output | Data Type | Description |
| AMS-HCI Message | AMS-HCI Message | The Routes to the Destination, each segment with the time the CAV is expected at its end; the Route’s state (Route Status). |
| Domain Knowledge | Domain Knowledge | The named places of the Offline Map, the Routes proposed with their times and the state of the Route driven, given again at each change. |
| Route Request | Interaction | The Route to be driven, on which a Path is planned. |
| Route | Route | The Route selected. |
| Road State | Road State | What the AIM learns of the state of the roads. |
| AMS Data | AMS Data | To AMS Memory: each decision the AIM tells, with the Full Environment Descriptors it was taken on and the AMS-MAS Message last sent. |
4 SubAIMs
No SubAIMs.
5 JSON Metadata
https://schemas.mpai.community/CAV2/V2.0/AIMs/RouteSelectionPlanning.json
6 Profiles
No Profiles.
7 Reference Software
The reference software gives the Route of least time by A* on the Offline Map, each segment’s time from its length and speed limit, and the best alternative that leaves out a segment of it; it holds the CAV until a Route is executed, and answers each Route Command with the Route’s state. It is part of the reference software of CAV-TEC V2.0 (see N4195, An introduction to the reference software): C# on .NET 10, released under the BSD 3-Clause licence, obtained from MPAI.
Tested with the Autonomous Motion Subsystem in dialogue with Human-CAV Interaction: Routes proposed, executed, suspended, resumed, stopped, a Destination changed while driving, the arrival told.
8 Conformance Testing
Table 2 provides the Conformance Testing Method for the Route Selection Planning (CAV-RSP) AIM: the data it receives and produces. If a schema references other schemas, conformance of data for the primary schema implies that data referencing a secondary schema shall also validate against that schema, if present, and conform with the Qualifier, if present.
| Receives | Basic Offline Map Object | Shall validate against the Basic Offline Map Object schema. |
| Full Environment Descriptors | Shall validate against the Full Environment Descriptors schema. | |
| AMS-HCI Message | Shall validate against the AMS-HCI Message schema. | |
| Route | Shall validate against the Route schema. | |
| Interaction | Shall validate against the Interaction schema. | |
| Domain Knowledge | Shall validate against the Domain Knowledge schema. | |
| Road State | Shall validate against the Road State schema. | |
| AMS Data | Shall validate against the AMS Data schema. | |
| Produces | AMS-HCI Message | Shall validate against the AMS-HCI Message schema. |
| Domain Knowledge | Shall validate against the Domain Knowledge schema. | |
| Interaction | Shall validate against the Interaction schema. | |
| Route | Shall validate against the Route schema. | |
| Road State | Shall validate against the Road State schema. | |
| AMS Data | Shall validate against the AMS Data schema. |