Skip to content

Commit c170ba9

Browse files
thomassedlmayerpmai
authored andcommitted
Update binary layout information
Signed-off-by: Thomas Sedlmayer <tsedlmayer@pmsfit.de>
1 parent 7209fe3 commit c170ba9

File tree

1 file changed

+59
-9
lines changed

1 file changed

+59
-9
lines changed

osi_sensorviewconfiguration.proto

Lines changed: 59 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,16 +1090,66 @@ message RaytracerViewConfiguration
10901090
//
10911091
RAYTRACER_FORMAT_OTHER = 1;
10921092

1093-
// Raytracer format for Shoot and Bounce Approach
1094-
// Adapted for electromagnetic wave propagation
1093+
// Raytracer format for Shoot and Bounce Approach (adapted for
1094+
// electromagnetic wave propagation)
10951095
//
1096-
// The message consists of the following fields in the described order.
1097-
// In brackets the data type, the unit and a short description is given.
1098-
// intersection_path_length (float; in m; path length of the ray between the First_Hitpoint and the Last_Hitpoint)
1099-
// relative_speed (float; in m/s; summed relative speed due to interaction points with moved surfaces)
1100-
// jones_matrices (float8; in V/m; jones matrix of the ray with information of the electromagnetic wave`s phase, signal strength and polarisation, which gives you additonaly the projection to the subset of the jones vectors )
1101-
// direction_of_arrival_hitpoint (float3; in m; coordinates of the DoA (last hitpoint) in the raytracer's coordinate system defined by the mounting position)
1102-
// direction_of_departure_hitpoint (float3; in m; coordinates of the DoD (first hitpoint) in the raytracer's coordinate system defined by the mounting position)
1096+
// The 64-byte message consists of the fields in the described order,
1097+
// with all values as 32-bit IEEE-754 floats (float32) stored in
1098+
// little-endian (least-significant byte first).
1099+
//
1100+
// * \c intersection_path_length - float32 (meters)
1101+
//
1102+
// Path length of the ray between First_Hitpoint and Last_Hitpoint.
1103+
//
1104+
// Offset: 0 (4 bytes)
1105+
//
1106+
// * \c relative_speed - float32 (meters/second)
1107+
//
1108+
// Summed relative speed due to interaction points with moving
1109+
// surfaces.
1110+
//
1111+
// Offset: 4 (4 bytes)
1112+
//
1113+
// * \c jones_matrices - float32[8] (V/m complex components)
1114+
//
1115+
// Contains the 2x2 Jones matrix (complex entries) of the ray with
1116+
// information of the electromagnetic wave's phase, signal strength
1117+
// and polarisation, which gives you additonaly the projection to the
1118+
// subset of the jones vectors.
1119+
//
1120+
// Layout (in this order):
1121+
// vv[re], vv[im], vh[re], vh[im], hv[re], hv[im], hh[re], hh[im]
1122+
//
1123+
// \f[
1124+
// J = \begin{bmatrix}
1125+
// vv & vh \\
1126+
// hv & hh
1127+
// \end{bmatrix}
1128+
// \f]
1129+
//
1130+
// Offset: 8 (32 bytes)
1131+
//
1132+
// * \c direction_of_arrival_hitpoint - float32[3] (meters):
1133+
//
1134+
// Coordinates of the DoA (last hitpoint) in the raytracer's
1135+
// coordinate system defined by the mounting position.
1136+
//
1137+
// Order: x, y, z
1138+
//
1139+
// Coordinate system: right-handed ([see OSI coordinate system definition](https://opensimulationinterface.github.io/osi-antora-generator/asamosi/latest/interface/usecases/transforming_coordinate_systems.html))
1140+
//
1141+
// Offset: 40 (12 bytes)
1142+
//
1143+
// * \c direction_of_departure_hitpoint - float32[3] (meters):
1144+
//
1145+
// Coordinates of the DoD (first hitpoint) in the raytracer's
1146+
// coordinate system defined by the mounting position.
1147+
//
1148+
// Order: x, y, z
1149+
//
1150+
// Coordinate system: right-handed ([see OSI coordinate system definition](https://opensimulationinterface.github.io/osi-antora-generator/asamosi/latest/interface/usecases/transforming_coordinate_systems.html))
1151+
//
1152+
// Offset: 52 (12 bytes)
11031153
//
11041154
RAYTRACER_FORMAT_SBR = 2;
11051155
}

0 commit comments

Comments
 (0)