Skip to content

Commit 7d66e4a

Browse files
Corrected source highlighting
Changed md links to adoc links Signed-off-by: Philip Windecker <philip.windecker@avenyr.de>
1 parent e031502 commit 7d66e4a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/architecture/trace_file_example.adoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ include::{root-path}_config.adoc[]
44
endif::[]
55
[#top-osi_trace_file_example]
66
= OSI trace file example
7-
[source,ruby]
7+
8+
[source, python]
89
----
910
# generate_osi_messages.py
1011
from osi3.osi_sensorview_pb2 import SensorView
@@ -66,10 +67,12 @@ if __name__ == "__main__":
6667
----
6768

6869
To run the script execute the following command in the terminal:
70+
71+
[source, bash]
6972
----
7073
python3 generate_osi_messages.py
7174
----
7275

73-
This will output an osi file (`sv_330_361_1000_movingobject.osi`) which can be visualized and played back by the [osi-visualizer](https://github.com/OpenSimulationInterface/osi-visualizer).
76+
This will output an osi file (`sv_330_361_1000_movingobject.osi`) which can be visualized and played back by the https://github.com/OpenSimulationInterface/osi-visualizer[osi-visualizer^].
7477

75-
See Google's documentation for more tutorials on how to use protocol buffers with [Python](https://developers.google.com/protocol-buffers/docs/pythontutorial) or [C++](https://developers.google.com/protocol-buffers/docs/cpptutorial).
78+
See Google's documentation for more tutorials on how to use protocol buffers with https://developers.google.com/protocol-buffers/docs/pythontutorial[Python^] or https://developers.google.com/protocol-buffers/docs/cpptutorial[C++^].

0 commit comments

Comments
 (0)