public class MunitionBody extends DISNetworkedRigidBody
Implements a 5 degree of flight model of an extended range ballistic projectile with a rocket boost
File: MunitionBody.java Author(s): Douglas Wahl and Duane Davis Date: 6 April 2006 Revised: 03 October 2006
Description: Coefficients and vehicle characteristics for a generalized extended range ballistic projectile with a rocket boost
Reference: Douglas Wahl's ThesisAPPLICATION_ID, disPdu, ENTITY_ID, MULTICAST_GROUP, MULTICAST_PORT, pduArtParams, SITE_ID, TTL, workbenchCommunicator
BANK, current_time, DISCLIENT, dt, executionSocket, globals, HEAVE, hmatrix, Hprevious, MAXPARAMETERS, new_acceleration, new_velocity, p, p_dot, phi, phi_dot, PITCH, positionVector, psi, psi_dot, q, q_dot, r, r_dot, stateParameters, SURGE, SWAY, theta, theta_dot, u, u_dot, v, v_dot, w, w_dot, world, worldDown, x, x_dot, y, y_dot, YAW, z, z_dot
Constructor and Description |
---|
MunitionBody(DynamicsGlobals globals,
WorkbenchCommunicator communicator,
StateVector state)
Creates a new instance of MunitionBody
|
Modifier and Type | Method and Description |
---|---|
protected int |
getNumberStateParameters()
Get the number of state parameters that are used by this vehicle type
|
StateVector |
getState() |
void |
initialize()
Reset method for all transform values
|
void |
integrateEquationsOfMotion()
Lots of math done here
|
void |
loadModel(String configFile)
Loads the model coefficients from a file as required
|
void |
setState(StateVector state) |
deadReckonTestWithExecutionLevel, disNetClose, disNetOpen, disNetWrite, getPduSkipInterval, getTimeOfLastPdu, isDisPortOpen, loopTestWithExecutionLevel, printRigidBody, setGroup, setPduSkipInterval, setPort, setTimeOfLastPdu, setTtl
compute_world_rates, current_time_value, hmatrix_value, integrate_Hmatrix, nonzerosign, p_dot_value, phi_dot_value, phi_value, print_rigidbody, psi_dot_value, psi_value, q_dot_value, r_dot_value, set_accelerations, set_angular_accelerations, set_angular_velocities, set_current_time, set_linear_accelerations, set_linear_velocities, set_time_of_posture, set_velocities, set_world_rates, square, theta_dot_value, theta_value, time_of_posture_value, u_dot_value, update_Hmatrix, update_state_vector, v_dot_value, w_dot_value, x_dot_value, x_value, y_dot_value, y_value, z_dot_value, z_value
public MunitionBody(DynamicsGlobals globals, WorkbenchCommunicator communicator, StateVector state)
globals
- communicator
- public void initialize()
DISNetworkedRigidBody
initialize
in class DISNetworkedRigidBody
public void loadModel(String configFile)
public void integrateEquationsOfMotion()
DISNetworkedRigidBody
integrateEquationsOfMotion
in class DISNetworkedRigidBody
protected int getNumberStateParameters()
getNumberStateParameters
in class DISNetworkedRigidBody
public StateVector getState()
public final void setState(StateVector state)
state
- the state to set