SensorPointingFixedInAxes#
- class ansys.stk.core.stkobjects.SensorPointingFixedInAxes#
Bases:
ISensorPointing
Class defining the fixed in axes pointing type for a Sensor.
Overview#
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. |
|
Get the sensorβs orientation properties. |
|
Get the available Reference Axes. |
|
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.