ostk.astrodynamics.guidance_law.ConstantThrust¶
- class ConstantThrust(
- self: ostk.astrodynamics.guidance_law.ConstantThrust,
- thrust_direction: ostk.astrodynamics.trajectory.LocalOrbitalFrameDirection,
Bases:
GuidanceLaw
Constant Thrust, Constant Direction dynamics.
Constructor.
- Parameters:
thrust_direction (LocalOrbitalFrameDirection) -- The thrust direction.
Methods
Compute the acceleration due to constant thrust.
Get the local thrust direction.
Get the name of the guidance law.
Create a constant thrust in the in-track direction.
- calculate_thrust_acceleration_at(
- self: ostk.astrodynamics.guidance_law.ConstantThrust,
- instant: ostk.physics.time.Instant,
- position_coordinates: numpy.ndarray[numpy.float64[3, 1]],
- velocity_coordinates: numpy.ndarray[numpy.float64[3, 1]],
- thrust_acceleration: ostk.core.type.Real,
- output_frame: ostk.physics.coordinate.Frame,
- instant: ostk.physics.time.Instant,
Compute the acceleration due to constant thrust.
- Parameters:
instant (Instant) -- The instant of the state vector.
position_coordinates (numpy.ndarray) -- The position coordinates.
velocity_coordinates (numpy.ndarray) -- The velocity coordinates.
thrust_acceleration (float) -- The thrust acceleration magnitude.
output_frame (Frame) -- The frame the acceleration will be expressed in.
- Returns:
The contribution of the constant thrust to the state vector.
- Return type:
- get_local_thrust_direction( ) ostk.astrodynamics.trajectory.LocalOrbitalFrameDirection ¶
Get the local thrust direction.
- Returns:
The local thrust direction.
- Return type:
- get_name(self: ostk.astrodynamics.GuidanceLaw) ostk.core.type.String ¶
Get the name of the guidance law.
- Returns:
The name of the guidance law.
- Return type:
- static intrack(
- velocity_direction: bool = True,
Create a constant thrust in the in-track direction.
- Parameters:
satellite_system (SatelliteSystem) -- The satellite system.
velocity_direction (bool, optional) -- If True, the thrust is applied in the velocity direction. Otherwise, it is applied in the opposite direction.
frame (Frame, optional) -- The reference frame.
- Returns:
The constant thrust.
- Return type: