SensorPointingFixedInAxes#

class ansys.stk.core.stkobjects.SensorPointingFixedInAxes#

Bases: ISensorPointing

Class defining the fixed in axes pointing type for a Sensor.

Overview#

reference_axes

The reference axes with respect to which the sensor is pointed. The sensor’s body axes or any axes dependent upon the sensor’s body axes are invalid; all other axes are valid choices for the reference axes.

orientation

Get the sensor’s orientation properties.

available_axes

Get the available Reference Axes.

use_reference_axes_flipped_about_x

Use the specified ReferenceAxes, after flipping it 180 deg about its x-axis, as the sensor’s body axes. Setting is only available for Facility, Target, Place objects and defaults to true for such objects.

Examples#

Define sensor pointing fixed axes YPR

# Sensor sensor: Sensor object
# Change pointing and set
sensor.common_tasks.set_pointing_fixed_axes_ypr("CentralBody/Sun J2000 Axes", YPRAnglesSequence.RYP, 11, 22, 33)

Define sensor pointing fixed axes Quaternion

# Sensor sensor: Sensor object
# Change pointing and set
sensor.common_tasks.set_pointing_fixed_axes_quaternion("CentralBody/Sun J2000 Axes", 0.1, 0.2, 0.3, 0.4)

Define sensor pointing fixed axes Euler

# Sensor sensor: Sensor object
# Change pointing and set
sensor.common_tasks.set_pointing_fixed_axes_euler(
    "CentralBody/Sun J2000 Axes", EulerOrientationSequenceType.SEQUENCE_132, 30, 40, 50
)

Define sensor pointing fixed axes AzEl

# Sensor sensor: Sensor object
# Change pointing and set
sensor.common_tasks.set_pointing_fixed_axes_az_el("CentralBody/Sun J2000 Axes", 11, 22, AzElAboutBoresight.HOLD)

Import detail#

from ansys.stk.core.stkobjects import SensorPointingFixedInAxes

Property detail#

property SensorPointingFixedInAxes.reference_axes: str#

The reference axes with respect to which the sensor is pointed. The sensor’s body axes or any axes dependent upon the sensor’s body axes are invalid; all other axes are valid choices for the reference axes.

property SensorPointingFixedInAxes.orientation: IOrientation#

Get the sensor’s orientation properties.

property SensorPointingFixedInAxes.available_axes: list#

Get the available Reference Axes.

property SensorPointingFixedInAxes.use_reference_axes_flipped_about_x: bool#

Use the specified ReferenceAxes, after flipping it 180 deg about its x-axis, as the sensor’s body axes. Setting is only available for Facility, Target, Place objects and defaults to true for such objects.