MCSDriver#
- class ansys.stk.core.stkobjects.astrogator.MCSDriver#
Bases:
IPropagatorBasic properties of an Astrogator satellite.
Overview#
Append the existing ephemeris with another individual segment mode run. |
|
Append the existing ephemeris with another individual segment mode run, starting at a specified state. Ephemeris is cleared from time based on clear direction. |
|
Append the existing ephemeris with another individual segment mode run, starting at a specified time. Ephemeris is cleared from time based on clear direction. |
|
Apply all active profile changes in all target sequences. |
|
Begins an individual segment mode run. |
|
Clear the draw while calculating graphics. |
|
End an individual segment mode run. |
|
Reset all active profiles in all target sequences. |
|
Run the current MCS and returns an error code. |
|
Set the mode for all profiles in all target sequences to the value held by the SetAllProfileModesTo property. |
|
Set the action for all target sequences to the value held by the SetAllTargetSequenceActionsTo property. |
Get the Automatic Sequences. |
|
Get the calculation graphs. |
|
Get the flight dynamics record creator. |
|
Get the Mission Control Sequence. |
|
Get the Mission Control Sequence options. |
|
The mode setting that will be applied to all profiles in all target sequences in the MCS when the SetAllProfileModes method is invoked. |
|
The action setting that will be applied to all target sequences in the MCS when the SetAllSequenceActions method is invoked. |
Examples#
Set satellite propagator to Astrogator and clear segments
# Satellite satellite: Satellite object
satellite.set_propagator_type(PropagatorType.ASTROGATOR)
driver = satellite.propagator
# Clear all segments from the MCS
driver.main_sequence.remove_all()
Run the Astrogatorยฎ mission control sequence (MCS)
# MCSDriver driver: MCS driver interface
driver.run_mcs()
Import detail#
from ansys.stk.core.stkobjects.astrogator import MCSDriver
Property detail#
- property MCSDriver.auto_sequence: AutomaticSequenceCollection#
Get the Automatic Sequences.
- property MCSDriver.calculation_graphs: CalculationGraphCollection#
Get the calculation graphs.
- property MCSDriver.flight_dynamics_record_creator: FlightDynamicsRecordCreator#
Get the flight dynamics record creator.
- property MCSDriver.main_sequence: MCSSegmentCollection#
Get the Mission Control Sequence.
- property MCSDriver.options: MCSOptions#
Get the Mission Control Sequence options.
- property MCSDriver.set_all_profile_modes_to: ProfileMode#
The mode setting that will be applied to all profiles in all target sequences in the MCS when the SetAllProfileModes method is invoked.
- property MCSDriver.set_all_target_sequence_actions_to: TargetSequenceAction#
The action setting that will be applied to all target sequences in the MCS when the SetAllSequenceActions method is invoked.
Method detail#
- MCSDriver.append_run(self) None#
Append the existing ephemeris with another individual segment mode run.
- Returns:
- MCSDriver.append_run_from_state(self, append_state: State, clear_ephemeris_direction: ClearEphemerisDirection) None#
Append the existing ephemeris with another individual segment mode run, starting at a specified state. Ephemeris is cleared from time based on clear direction.
- Parameters:
append_state :
Stateclear_ephemeris_direction :
ClearEphemerisDirection- Returns:
- MCSDriver.append_run_from_time(self, epoch: Any, clear_ephemeris_direction: ClearEphemerisDirection) None#
Append the existing ephemeris with another individual segment mode run, starting at a specified time. Ephemeris is cleared from time based on clear direction.
- MCSDriver.apply_all_profile_changes(self) None#
Apply all active profile changes in all target sequences.
- Returns:
- MCSDriver.clear_draw_while_calculating_graphics(self) None#
Clear the draw while calculating graphics.
- Returns:
- MCSDriver.reset_all_profiles(self) None#
Reset all active profiles in all target sequences.
- Returns: