Skip to content

Commit c19f9d6

Browse files
carsten-kueblerjdsika
authored andcommitted
Documentation/v3.0.1 update 7 (#224)
* Additional test cases for comments * Optimize output Remove "\n" in error messages. * Check for optional and repeated Every field must have optional or repeated. * Check end of files if newline is at the end of each file * Add unit test cases for doxygen documentation Add \c Add doxygen test cases to travis.yml Remove special char in roadmarking (problem for doxygen windows) Add documentation for extended class in osi_version.proto.in * Extend error message * Bugfix readme.md and doxygen
1 parent 7bcc83b commit c19f9d6

12 files changed

+94
-18
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ script:
8181
- cmake -D FILTER_PROTO2CPP_PY_PATH=${DEPS_DIR}/proto2cpp ..
8282
- doxygen
8383
- cd ..
84+
- python test_cases_doc.py
8485

8586
# Deploy the documentation on github (only for master branch).
8687
deploy:

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ Copy the content of the repo proto2cpp to your desired `<path-to-proto2cpp.py>`
102102
Citing
103103
------
104104

105-
Use the following citation for referencing the OSI interface in your scientific work:
106-
107-
`@misc{osi.2017,
105+
Use the following citation for referencing the OSI interface in your scientific work: `@misc{osi.2017,
108106
author = {Hanke, Timo and Hirsenkorn, Nils and {van~Driesten}, Carlo and {Garcia~Ramos}, Pilar and Schiementz, Mark and Schneider, Sebastian},
109107
year = {2017},
110108
title = {{Open Simulation Interface: A generic interface for the environment perception of automated driving functions in virtual scenarios.}},

doxygen_config.cmake.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ INPUT_FILTER = "python @FILTER_PROTO2CPP_PY_PATH@/proto2cpp.py"
2121
HAVE_DOT = YES
2222
HIDE_UNDOC_RELATIONS = NO
2323
MAX_DOT_GRAPH_DEPTH = 2
24+
SORT_MEMBER_DOCS = YES
2425

2526
# If someone wants UML diagrams in the documentation, the next parameter must
2627
# be commented in.

open_simulation_interface-config-version.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ else()
1818
else()
1919
set(PACKAGE_VERSION_COMPATIBLE FALSE)
2020
endif()
21-
endif()
21+
endif()

osi_common.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ message Dimension3d
136136
// <tt>Rotation_yaw_pitch_roll = Rotation_roll*Rotation_pitch*Rotation_yaw</tt>
137137
//
138138
// <tt>vector_global_coord_system := Inverse_Rotation_yaw_pitch_roll(</tt><tt>Orientation3d</tt><tt>)*(vector_local_coord_system) + local_origin::position</tt>
139-
140139
//
141140
// \attention This definition changed in OSI version 3.0.0. Previous OSI
142141
// versions (V2.xx) had an other definition.

osi_detectedlane.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ message DetectedLaneBoundary
118118
//
119119
optional LaneBoundary.Classification classification = 2;
120120
}
121-
}
121+
}

osi_featuredata.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ message SensorDetectionHeader
112112
optional Identifier sensor_id = 7;
113113

114114
//
115-
// \brief Data qualifier communicates the overall availability of the
115+
// Data qualifier communicates the overall availability of the
116116
// interface.
117117
//
118118
enum DataQualifier

osi_roadmarking.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ message RoadMarking
109109
//
110110
TYPE_PAINTED_TRAFFIC_SIGN = 2;
111111

112-
// Paint on the road surface indicating a monochrome logical symbol of a
113-
// traffic sign (e.g. digits 50 as start of speed limit 50 or stop line
114-
// for stop sign).
112+
// Paint on the road surface indicating a monochrome logical symbol
113+
// of a traffic sign (e.g. digits 50 as start of speed limit 50 or
114+
// stop line for stop sign).
115115
//
116116
TYPE_SYMBOLIC_TRAFFIC_SIGN = 3;
117117

osi_sensordata.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ message DetectedEntityHeader
3939
optional DataQualifier data_qualifier = 3;
4040

4141
//
42-
// \brief Data qualifier communicates the overall availability of the
42+
// Data qualifier communicates the overall availability of the
4343
// interface.
4444
//
4545
enum DataQualifier

osi_version.proto.in

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package osi3;
1111
//
1212
// The field denoting the version number. This needs to be set by the
1313
// sender to the actual OSI version that is to be sent. Code wanting to
14-
// access the version number of the OSI code base can access a FileOption,
14+
// access the version number of the OSI code base can access a FileOptions,
1515
// which has the proper values, like this:
1616
//
1717
// @code
@@ -44,8 +44,12 @@ message InterfaceVersion
4444
optional uint32 version_patch = 3;
4545
}
4646

47-
47+
//
48+
// \brief Extension of \c FileOptions for OSI
49+
//
4850
extend google.protobuf.FileOptions {
51+
// Extend \c FileOptions with current interface version of OSI
52+
//
4953
optional InterfaceVersion current_interface_version = 81000;
5054
}
5155

0 commit comments

Comments
 (0)