Skip to content

Commit 0ef5052

Browse files
Markus WaldmannMarkus Waldmann
authored andcommitted
Renamed \rules in Sun message
also changed numberrations within the messages Sun, Wind and Cloud Signed-off-by: Markus Waldmann <Markus.Waldmann@stud.hs-kempten.de>
1 parent 9899472 commit 0ef5052

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

osi_environment.proto

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ message EnvironmentalConditions
346346
{
347347
// Definition of the cloud state level, i.e. cloud state and sky visualization settings.
348348
//
349-
optional CloudStateLevel cloud_state_level = 0;
349+
optional CloudStateLevel cloud_state_level = 1;
350350

351351
// Defines the cloud state levels given by observation of total cloud amount in oktas.
352352
//
@@ -434,11 +434,11 @@ message EnvironmentalConditions
434434
// world coordinate system. Corresponds to the heading/yaw angle. \c
435435
// x-axis-direction is 0 rad. Unit [rad]. Range [0...2 pi[
436436
//
437-
optional Vector3d direction = 0;
437+
optional Vector3d direction = 1;
438438

439439
// The wind speed. Unit [m/s]. Range [0...inf[
440440
//
441-
optional double speed = 1;
441+
optional double speed = 2;
442442
}
443443

444444
//
@@ -448,41 +448,36 @@ message EnvironmentalConditions
448448
//
449449
message Sun
450450
{
451-
// Azimuth of the sun
451+
// Azimuth of the sun, counted counterclockwise
452452
//
453453
// Unit: rad
454454
//
455455
// \rules
456-
// Range: [0..2PI]
457-
// counted counterclockwise
458-
// 0=north
459-
// PI/2 = east
460-
// PI=south
461-
// 3/2 PI=west
456+
// is_greater_than_or_equal_to: -PI
457+
// is_less_than_or_equal_to: 2PI
462458
// \endrules
463459
//
464-
optional double azimuth = 0;
460+
optional double azimuth = 1;
465461

466462
// Solar elevation angle
467463
//
468464
// Unit: rad
469465
//
470466
// \rules
471-
// Range: [-PI..PI]
472-
// 0=x/y plane
473-
// PI/2=zenith
467+
// is_greater_than_or_equal_to: -PI
468+
// is_less_than_or_equal_to: PI
474469
// \endrules
475470
//
476-
optional double elevation = 1;
471+
optional double elevation = 2;
477472

478473
// Illuminance of the sun, direct sunlight is around 100,00 lx.
479474
//
480475
// Unit: lx
481476
//
482477
// \rules
483-
// Range: [0..inf[
478+
// is_greater_than_or_equal_to: 0
484479
// \endrules
485480
//
486-
optional double intensity = 2;
481+
optional double intensity = 3;
487482
}
488483
}

0 commit comments

Comments
 (0)