MCSDriver#

class ansys.stk.core.stkobjects.astrogator.MCSDriver#

Bases: IPropagator

Basic properties of an Astrogator satellite.

Overview#

run_mcs

Run the current MCS.

begin_run

Begins an individual segment mode run.

end_run

End an individual segment mode run.

clear_draw_while_calculating_graphics

Clear the draw while calculating graphics.

reset_all_profiles

Reset all active profiles in all target sequences.

apply_all_profile_changes

Apply all active profile changes in all target sequences.

append_run

Append the existing ephemeris with another individual segment mode run.

append_run_from_time

Append the existing ephemeris with another individual segment mode run, starting at a specified time. Ephemeris is cleared from time based on clear direction.

append_run_from_state

Append the existing ephemeris with another individual segment mode run, starting at a specified state. Ephemeris is cleared from time based on clear direction.

run_mcs2

Run the current MCS and returns an error code.

main_sequence

Get the Mission Control Sequence.

options

Get the Mission Control Sequence options.

auto_sequence

Get the Automatic Sequences.

calculation_graphs

Get the calculation graphs.

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.main_sequence: MCSSegmentCollection#

Get the Mission Control Sequence.

property MCSDriver.options: MCSOptions#

Get the Mission Control Sequence options.

property MCSDriver.auto_sequence: AutomaticSequenceCollection#

Get the Automatic Sequences.

property MCSDriver.calculation_graphs: CalculationGraphCollection#

Get the calculation graphs.

Method detail#

MCSDriver.run_mcs(self) None#

Run the current MCS.

Returns:

None

MCSDriver.begin_run(self) None#

Begins an individual segment mode run.

Returns:

None

MCSDriver.end_run(self) None#

End an individual segment mode run.

Returns:

None

MCSDriver.clear_draw_while_calculating_graphics(self) None#

Clear the draw while calculating graphics.

Returns:

None

MCSDriver.reset_all_profiles(self) None#

Reset all active profiles in all target sequences.

Returns:

None

MCSDriver.apply_all_profile_changes(self) None#

Apply all active profile changes in all target sequences.

Returns:

None

MCSDriver.append_run(self) None#

Append the existing ephemeris with another individual segment mode run.

Returns:

None

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.

Parameters:

epoch : Any

clear_ephemeris_direction : ClearEphemerisDirection

Returns:

None

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 : State

clear_ephemeris_direction : ClearEphemerisDirection

Returns:

None

MCSDriver.run_mcs2(self) RunCode#

Run the current MCS and returns an error code.

Returns:

RunCode