Aller au contenu

Message HrzProtocol.AngularDirection

Defined in hrz/protocol/scene/view_settings.proto.

Fixed direction, given as an azimuth and an altitude in a frame. Allows Sun positions that are impossible in the real world.

Fields

azimuth: float

radians, [0, 2π), clockwise from the frame’s origin

altitude: float

radians, [-π, π], 0 in the frame’s horizontal plane

Union reference

The frame both angles below are measured in. When neither is set, the frame is FRAME_ENU at the camera.

camera_frame: HrzProtocol.AngularDirection.Frame

A frame attached to the camera.

geographic_position: HrzProtocol.GeographicPosition

The East-North-Up frame at a geographic position: azimuth is measured from the direction to the North, altitude from the local horizontal plane. The Sun is fixed relative to the Earth; moving the camera changes where it appears in the sky. The position’s altitude is ignored.