After creating your ground vehicle, inserting terrain, and designing your route, you may want to analyze how the movement along that terrain will affect your vehicle's attitude. By default, STK only analyzes attitude along the velocity vector of the vehicle. However, 3D analysis is also possible through the use of STK's
Analysis Workbench. This article explains how to set up such an analysis, with the assumption that the route you defined is that of the right-most wheel.
Create reference and destination points
- Open Analysis Workbench.
- Select your ground vehicle under your object list and then click the icon for "Create new Point".
- In the Add Geometry Component dialog box, select Fixed in System for Type, set the Fixed Point Type to Cartesian, set the Reference System to LVLH(CBF), and enter the width of your vehicle for Z.
- Give the point a name and then click OK.
- Create a another new point.
- Select Surface for Type, select a central body, and select the previous point you just created as your Reference Point.
- Be sure to select Terrain as your Reference Shape Type.
- Give this new point a name and then click OK.
Create a displacement vector
- Still in Analysis Workbench, click the icon for "Create new Vector".
- Select Displacement for the Type.
- Select the center of your ground vehicle for your Origin Point and the point you just created as your Destination Point.
- Give the vector a name and then click OK.
Set the vehicle's properties
- Now open your ground vehicle's properties and go to the Attitude page.
- Make sure you are using Standard, and then for Type select Aligned and Constrained.
- For your aligned vector's body, make sure the Type is Cartesian, X is set to 1, and Y and Z are set to 0.
- For your reference vector, select your ground vehicle's Velocity(CBF) vector.
- For the constrained vector, set the type to Cartesian, X to 0, Y to 1, and Z to 0.
- For your vector, select the one you just created in Analysis Workbench.
- Click Apply but stay in the Ground Vehicle properties window.
- Go to the 3D Graphics->Offsets page. Under Translational Offsets, enter half of your vehicle's width for the Y axis and click Apply.
Your ground vehicle's body axes will now adjust their angles based on the terrain.