Skip to content

Commit 5fdb39f

Browse files
Merge branch 'OpenSimulationInterface:master' into rebased_master
2 parents 1e9ef79 + 222a8f4 commit 5fdb39f

30 files changed

+872
-72
lines changed

.antora/antora.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: asamosi
33
version:
44
# Update version number accordingly. This is the version for the main branch
55
main: 'current'
6+
master: 'current'
67
v(*)-antora: V$1
78
v(*): V$1
89
V(*): V$1
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
name: Antora build trigger
3+
4+
on:
5+
push:
6+
branches: [ master ]
7+
pull_request:
8+
branches: [ master ]
9+
10+
jobs:
11+
trigger_antora:
12+
name: Trigger antora generator
13+
14+
runs-on: Ubuntu-latest
15+
16+
env:
17+
MUP_KEY: ${{ secrets.MACHINE_USER_PAT }}
18+
19+
steps:
20+
- name: Trigger generator
21+
if: ${{ env.MUP_KEY != '' }}
22+
uses: peter-evans/repository-dispatch@v2
23+
with:
24+
token: ${{ secrets.MACHINE_USER_PAT }}
25+
event-type: antora-build-trigger
26+
repository: OpenSimulationInterface/osi-antora-generator
27+
client-payload: '{"src": "${{ github.repository }}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "head_ref": "${{ github.head_ref }}"}'

.github/workflows/protobuf.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build-proto2-linux64:
1010
name: Build Proto2 Linux 64
1111

12-
runs-on: ubuntu-18.04
12+
runs-on: ubuntu-22.04
1313

1414
steps:
1515
- name: Checkout OSI
@@ -30,10 +30,10 @@ jobs:
3030

3131
- name: Cache Dependencies
3232
id: cache-depends
33-
uses: actions/cache@v2
33+
uses: actions/cache@v3
3434
with:
3535
path: protobuf-3.20.1
36-
key: ${{ runner.os }}-v1-depends
36+
key: ${{ runner.os }}-v2-depends
3737

3838
- name: Download ProtoBuf
3939
if: steps.cache-depends.outputs.cache-hit != 'true'
@@ -100,7 +100,7 @@ jobs:
100100
build-proto3-linux64:
101101
name: Build Proto3 Linux 64
102102

103-
runs-on: ubuntu-18.04
103+
runs-on: ubuntu-22.04
104104

105105
steps:
106106
- name: Checkout OSI
@@ -121,7 +121,7 @@ jobs:
121121
uses: actions/cache@v2
122122
with:
123123
path: protobuf-3.20.1
124-
key: ${{ runner.os }}-v1-depends
124+
key: ${{ runner.os }}-v2-depends
125125

126126
- name: Download ProtoBuf
127127
if: steps.cache-depends.outputs.cache-hit != 'true'

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ githooks/pre-commit
4040
# PyCharm specific files
4141
.idea
4242
.vscode/settings.json
43+
44+
# Local build tool output
45+
local_build_tools/*.html

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ set(OSI_PROTO_FILES
7777
osi_environment.proto
7878
osi_groundtruth.proto
7979
osi_hostvehicledata.proto
80+
osi_motionrequest.proto
8081
osi_trafficsign.proto
8182
osi_trafficlight.proto
8283
osi_trafficupdate.proto

doc/_config.adoc

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
// This file contains AsciiDoc attributes that shall be used in every AsciiDoc file.
33
// NOTE: Its content is only applied for Asciidoctor!
44
// If the same attribute is defined in the antora.yml (without @), the antora.yml definition takes precedence for Antora.
5-
65
ifndef::root-path[:root-path: ./]
7-
86
:partials-path: {root-path}../_additional_content
97
:asciidoc-resources: ../../../asciidoc-resources
108
:appendix-caption: Annex
119
:page-feedbackurl: https://github.com/OpenSimulationInterface/open-simulation-interface/issues/new
12-
1310
// ifndef::use-antora-rules,include-only-once[]
1411
ifndef::include-only-once[]
1512
:GLO_VAR_STA_ASAM_OpenCRG: ASAM OpenCRG
@@ -27,13 +24,14 @@ ifndef::include-only-once[]
2724
// Replace PLACEHOLDER with the name of your standard, e.g. OpenDRIVE
2825
:THIS_STANDARD: {GLO_VAR_STA_ASAM_OSI}
2926
:asam-terminology: https://code.asam.net/common/asam-terminology/-/raw/main/terms_and_definitions_opendrive.adoc
30-
:imagesdir: {root-path}/images
27+
:imagesdir: {root-path}images
3128
:include-only-once: true
3229
:topicdir: topics
3330
:reusedir: reuse
3431
:toclevels: 3
3532
:xrefstyle: full
36-
:images_open_simulation_interface: {imagesdir}
33+
:images_open_simulation_interface: ../images
34+
:data-uri:
3735
// :images_osi-sensor-model-packaging: ./osi-sensor-model-packaging/doc/images
3836
:doc_open_simulation_interface: ../../open-simulation-interface/doc/
3937
:doc_osi-sensor-model-packaging: ../../osi-sensor-model-packaging/doc/
@@ -43,13 +41,10 @@ ifndef::include-only-once[]
4341
// Please note that this variable has to used in all image includes. Includes here have to use "image::./images..."
4442
// :images_osi_sensor_model_packaging: ./osi-sensor-model-packaging/doc/images // example
4543
:imagesoutdir: ./images/generated_images
46-
4744
endif::[]
48-
4945
ifndef::use-antora-rules[]
5046
include::{asciidoc-resources}/preamble.adoc[]
5147
endif::[]
52-
5348
ifdef::env-gitlab[]
5449
:relfilesuffix: .adoc
5550
endif::[]

doc/architecture/architecture_overview.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ image::{images_open_simulation_interface}/osi-traffic-participant-advanced.png[1
3434

3535
The `HostVehicleData` interface describes the measured internal states of a traffic participant.
3636
OSI currently provides only limited support for data structures that describe measured internal states of traffic participants.
37-
Actuator intentions are currently not covered by OSI and must be handled using a different data description format.
37+
One example would be the `MotionRequest` interface that can be used to communicate the results of the behavior planning to the dynamic model.
3838

3939
NOTE: OSI uses singular instead of plural for `repeated` field names.
4040

doc/architecture/motion_request.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
ifndef::include-only-once[]
2+
:root-path: ../
3+
include::{root-path}_config.adoc[]
4+
endif::[]
5+
= Motion Request
6+
7+
`MotionRequest` messages are traffic participant internal messages.
8+
They function as a interface between a motion/behavior planning model and a dynamics model including, for example, controllers and vehicle kinematics.

doc/architecture/traffic_participant.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ The following figure shows the interface of a traffic participant.
2222
.Interface of a traffic participant
2323
image::{images_open_simulation_interface}/osi-traffic-participant-principle.png[1100]
2424

25-
Traffic participant models may use other OSI interfaces internally, for example, to model autonomous vehicles.
26-
The following figure shows a more advanced use case for traffic participants.
25+
Traffic participant models may use other OSI interfaces, for example, the `SensorData` and `MotionRequest` message, internally.
26+
The following figure shows a more advanced use case for traffic participants, that can, for example, be used to model an autonomous vehicle.
2727

2828
[#fig-traffic-participant-other-osi-interfaces]
2929
.Traffic participant using other OSI interfaces internally

0 commit comments

Comments
 (0)