ÄÚÈÝ·¢²¼¸üÐÂʱ¼ä : 2026/2/4 3:18:24ÐÇÆÚÒ» ÏÂÃæÊÇÎÄÕµÄÈ«²¿ÄÚÈÝÇëÈÏÕæÔĶÁ¡£
create a file in the scenario directory named {objName}.a, where objName is derived from the objPath. 2.8.5 stkLoadAttitude ×÷Ó㺴ÓÎļþÔØÈë×Ë̬ Ó÷¨£ºstkLoadAttitude('objPath', 'fileName') ˵Ã÷£ºobjPath - Valid path, may be obtained from stkObjNames. fileName - file name. 2.8.6 stkSaveAttitudeCBF ×÷Ó㺱£´æ×Ë̬µ½Îļþ Ó÷¨£ºstkSaveAttitudeCBF('objPath', timeStep, 'fileName') stkSaveAttitudeCBF('objPath', timeStep, 'fileName', stopTime) ˵Ã÷£ºobjPath - Valid path, may be obtained from stkObjNames. timeStep - Granularity of time steps (sec). fileName - file name. startTime - start time (sec). stopTime - stop time (sec). 2.8.7 stkSaveAttitudeCBI ×÷Ó㺱£´æ×Ë̬µ½Îļþ Ó÷¨£ºstkSaveAttitudeCBI('objPath', timeStep, 'fileName') stkSaveAttitudeCBI('objPath', timeStep, 'fileName', stopTime) ˵Ã÷£ºobjPath - Valid path, may be obtained from stkObjNames. timeStep - Granularity of time steps (sec). fileName - file name. startTime - start time (sec). stopTime - stop time (sec). startTime, startTime, 2.9 »ù±¾·ÉÐÐÆ÷×Ë̬ÀàÐÍ£¨Basic Vehicle Attitude Types£© 2.9.1 stkSetAttBasic ×÷ÓãºÉèÖûù±¾µÄ×Ë̬ÀàÐÍ Ó÷¨£ºstkSetAttBasic('satPath', 'attType', offset) ˵Ã÷£ºsatPath - string name of satellite offset - either an alignOffset or constraintOffset, depending on type (radians) attType - attitude type string. Valid choices are: NADIRECIVEL NADIRECFVEL NADIRSUN NADIRORBIT ECIVELNADIR ECFVELNADIR SUNNADIR SUNECLIPTIC SUNECIZ SUNOCCULT 2.9.2 stkSetAttSpinSun ×÷ÓãºÐýתÖáÖ¸ÏòÌ«Ñô Ó÷¨£ºstkSetAttSpinSun('satPath', rate, offset, epoch) ˵Ã÷£ºsatPath - string name of satellite rate - angular spin rate (rpm) offset - angular (radians) epoch - control phase of spin (epoch sec) ±¸×¢£ºThe body-fixed Z axis points to the Sun and the satellite rotates about the Sun vector. The spin rate is specified in revolutions per minute; positive values indicate rotation in a right-handed sense with respect to the spin axis. The initial orientation of the satellite is specified by using the spin offset and offset epoch fields. The spin offset is an angular measure of the difference between the satellite orientation at the offset epoch from the orientation achieved by orienting the Z axis. 2.9.3 stkSetAttSpinNadir ×÷ÓãºÐýתÖáÖ¸ÏòµØÃæ Ó÷¨£ºstkSetAttSpinNadir('satPath', rate, offset, epoch) ˵Ã÷£ºsatPath - string name of satellite rate - angular spin rate (rpm) offset - angular (radians) epoch - control phase of spin (epoch sec) ±¸×¢£ºThe satellite's Z axis is assumed to be the spin axis and aligned to nadir. The spin rate is specified in revolutions per minute; positive values indicate rotation in a right-handed sense with respect to the spin axis. The initial orientation of the satellite is specified by using the spin offset and offset epoch fields. The spin offset is an angular measure of the difference between the satellite orientation at the offset epoch from the orientation achieved by orienting the Z axis. 2.9.4 stkSetAttYawNadir ×÷ÓãºÆ«º½ÖáÖ¸ÏòµØÃæ Ó÷¨£ºstkSetAttYawNadir('satPath', 'PR', pitch, roll) stkSetAttYawNadir('satPath', 'EULER', angle1, angle2, seq) stkSetAttYawNadir('satPath', 'RaDec', RAAN, declination) ˵Ã÷£ºsatPath - string name of satellite pitch, roll, angle1, angle2, RAAN, declination - yaw axis orientation angles (radians) seq - Euler angle sequence, can be 12, 21, 31 or 32 ±¸×¢£ºThe satellite's Z axis is fixed in inertial space. The direction of the satellite Z axis is specified through two angles, as determined by the Orientation Type. The satellite X axis is then constrained, via motion in the yaw sense, toward the nadir direction. This profile is useful for satellites in highly elliptical orbits. 2.9.5 stkSetAttSpinning ×÷ÓãºÑ¡×°ÖáÈÎÒâÖ¸Ïò Ó÷¨£ºstkSetAttSpinning('satPath', rate, offset, epoch, 'PR', pitch, roll) stkSetAttSpinning('satPath', rate, offset, epoch, 'EULER', angle1, angle2, seq) stkSetAttSpinning('satPath', rate, offset, epoch, 'RaDec', RAAN, declination) ˵Ã÷£ºsatPath - string name of satellite rate - angular spin rate (rpm) offset - angular (radians) epoch - control phase of spin (epoch sec) pitch, roll, angle1, angle2, RAAN, declination - spin axis orientation angles (radians) seq - Euler angle sequence, can be 12, 21, 31 or 32 ±¸×¢£ºThe satellite's Z axis is assumed to be the spin axis and is fixed in inertial space. The direction of the spin axis is specified through two angles, as determined by the Orientation Type. The spin rate is specified in revolutions per minute; positive values indicate rotation in a right-handed sense with respect to the spin axis. The initial orientation of the satellite is specified by using the spin offset and offset epoch fields. The spin offset is an angular measure of the difference between the satellite orientation at the offset epoch from the orientation achieved by orienting the Z axis. 2.9.6 stkSetAttFixed ×÷Óãº×Ë̬¹Ì¶¨ Ó÷¨£ºstkSetAttFixed('satPath', 'YPR', yprVec, yprSeq) stkSetAttFixed('satPath', 'EULER', eulerVec, eulerSeq) stkSetAttFixed('satPath', 'QUAT', quaternion) ˵Ã÷£ºsatPath - string name of satellite yprVec - CBI yaw, pitch, roll vector (3x1, radians) yprSeq - rotation sequence, a string specifying 'RPY', 'RYP', 'PRY', 'PYR', 'YRP' or 'YPR' eulerVec - CBI euler angle vector (3x1, radians) eulerSeq - rotation sequence, an integer specifying 121, 123, 131, 132, 212, 213, 231, 232, 312, 313, 321 or 323 quaternion - CBI orientation quaternion, 4x1 ±¸×¢£ºMaintains a constant orientation of the body-fixed axes with respect to the inertial coordinate system. The orientation of the body-fixed axes is specified by three angles or a quaternion, as determined by the Orientation Type. 2.9.7 stkAttOffset ×÷Óãº×ËÌ¬Æ«ÒÆ Ó÷¨£ºstkAttOffset('objPath', offset) ˵Ã÷£ºobjPath - Valid path, may be obtained from stkObjNames. offset - Angular offset (radians). Offset is applied as an AlignOffset is attitude type is: Sun alignment with nadir constraint Sun alignment with ecliptic normal constraint Sun alignment with ECI Z axis constraint Sun alignment-occultation normal constraint Offset is applied as an ConstraintOffset is attitude type is: Nadir alignment with ECF velocity constraint Nadir alignment with ECI velocity constraint Nadir alignment with Sun constraint ECI velocity alignment with nadir constraint ECF velocity alignment with radial constraint Nadir alignment with orbit normal constraint There is no change if attitude type is: Yaw to nadir Spinning Spin about Nadir Spin about Sun vector Inertially fixed 2.10 ·É»ú£¬³µÁ¾Óë´¬½¢ÊôÐÔ£¨Aircraft, GroundVehicle and Ship Propagators£© 2.10.1 stkSetWaypoints ×÷ÓãºÉèÖ÷¾¶µã Ó÷¨£ºstkSetWaypoints('objPath', 'startTime', llaMat, speedVec) stkSetWaypoints('objPath', 'startTime', llaMat, speedVec, accelVec) stkSetWaypoints('objPath', 'startTime', llaMat, speedVec, wpFilePath) stkSetWaypoints('objPath', 'startTime', llaMat, speedVec, accelVec, wpFilePath) ˵Ã÷£ºobjPath - valid STK object path startTime - start time date string. See stkEpoch for valid formats. llaMat - Matrix of LLA positions, 3xN, (radians and meters) speedVec - Vector of speeds Nx1 (meters/sec) accelVec - Vector of accelerations, Nx1 (meters/sec^2) wpFilePath - file name to create. Default is to create a file in the scenario directory named {objName}.ga, where objName is derived from the objPath. 2.10.2 stkLoadWaypoints ×÷ÓãºÔØÈë·¾¶µã Ó÷¨£ºstkLoadWaypoints('objPath', 'fileName') ˵Ã÷£ºobjPath - Valid path, may be obtained from stkObjNames. fileName - file name. 2.10.3 stkSetGreatArcStart ×÷ÓãºÉèÖÃÆðʼʱ¼ä Ó÷¨£ºstkSetGreatArcStart('gaVehPath', startTime) ˵Ã÷£ºgaVehPath - string name of aircraft, groundVehicle or ship startTime - time at first waypoint (epoch seconds) 2.11 µ¼µ¯Ô˶¯ÊôÐÔ£¨Missile Propagators£© 2.11.1 stkSetPropBallistic ×÷ÓãºÉèÖõ¯µÀµ¼µ¯Ô˶¯ÊôÐÔ Ó÷¨£ºstkSetPropBallistic('missilePath', tLaunch, TOF, dT, launchLLA, impactLLA) ˵Ã÷£ºmissilePath - Valid missile path, may be obtained from stkObjNames. tLaunch - launch time, epoch seconds TOF - missile time of flight (seconds) dT - time step in seconds. launchLLA, impactLLA - geodetic lat/lon/alt vectors, [rad;rad;meters] 2.12 É豸ÓëÄ¿±ê£¨Facilities and Targets£© 2.12.1 stkPosVelCBF ×÷ÓãºPosition and Velocity, Central Body Fixed coordinates Ó÷¨£º[pos, vel] = stkPosVelCBF('objPath', time) ˵Ã÷£ºobjPath - Vehicle or facility path, may be obtained from stkObjNames.