1 Types
ASAM OpenSCENARIO 2.0.0 has a complete type system and ASAM OpenSCENARIO 1.2.0 types convert easily into this system.
Values of all types in ASAM OpenSCENARIO 1.2.0 in XML can be specified in two ways:
-
With a literal value
-
With the parameter reference (
$param_name
) , where the parameter should be of the proper type, but ASAM OpenSCENARIO 1.2.0 has no mechanism to enforce this. Parameter references are described in Section 2, "Parameters".
Type | ASAM OpenSCENARIO 1.2.0 | ASAM OpenSCENARIO 2.0.0 | Notes |
---|---|---|---|
Boolean (logical value) |
|
|
|
Timestamp (including date and time) |
|
|
|
Floating-point |
|
|
IEEE 64-bit floating-point |
Signed integer |
|
|
32-bit signed integer in ASAM OpenSCENARIO 1.2.0, 64-bit signed integer in ASAM OpenSCENARIO 2.0.0 |
Unsigned 32-bit integer |
|
|
32-bit unsigned integer in ASAM OpenSCENARIO 1.2.0, 64-bit unsigned integer in ASAM OpenSCENARIO 2.0.0 |
Unsigned 16-bit integer |
|
|
16-bit unsigned integer in ASAM OpenSCENARIO 1.2.0, 64-bit unsigned integer in ASAM OpenSCENARIO 2.0.0 |
Unicode string |
|
|
|
Enums |
Fixed enums only, defined by standard |
|
Extensible enumeration types, with optional integer values |
Physical types |
Most of the floating-point values in ASAM OpenSCENARIO 1.2.0 map to a physical type instance with the appropriate SI unit, for example, |