public abstract class RigidBody extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BANK |
double |
current_time |
static String |
DISCLIENT |
double |
dt |
RigidBodySocket |
executionSocket |
DynamicsGlobals |
globals |
static int |
HEAVE |
Hmatrix |
hmatrix |
Hmatrix |
Hprevious |
static int |
MAXPARAMETERS |
double[] |
new_acceleration |
double[] |
new_velocity |
double |
p |
double |
p_dot |
double |
phi |
double |
phi_dot |
static int |
PITCH |
Vector3D |
positionVector |
double |
psi |
double |
psi_dot |
double |
q |
double |
q_dot |
double |
r |
double |
r_dot |
double[] |
stateParameters |
static int |
SURGE |
static int |
SWAY |
double |
theta |
double |
theta_dot |
double |
u |
double |
u_dot |
double |
v |
double |
v_dot |
double |
w |
double |
w_dot |
World |
world |
Vector3D |
worldDown |
double |
x |
double |
x_dot |
double |
y |
double |
y_dot |
static int |
YAW |
double |
z |
double |
z_dot |
Constructor and Description |
---|
RigidBody(double x,
double y,
double z,
double phi,
double theta,
double psi,
double t,
DynamicsGlobals globals) |
RigidBody(DynamicsGlobals globals) |
RigidBody(Hmatrix initialhmatrix,
double t,
DynamicsGlobals globals) |
RigidBody(Hmatrix initialhmatrix,
DynamicsGlobals globals) |
Modifier and Type | Method and Description |
---|---|
double[] |
compute_world_rates(double localPhi,
double localTheta,
double localPsi,
double localU,
double localV,
double localW,
double localP,
double localQ,
double localR) |
double |
current_time_value() |
Hmatrix |
hmatrix_value()
Does not return a [4][4] array
|
void |
initialize() |
void |
integrate_Hmatrix()
Updates the HMatrix and previous HMatrix based on the integrated velocities
|
abstract void |
integrateEquationsOfMotion() |
abstract void |
loadModel(String configFile) |
double |
nonzerosign(double value) |
double |
p_dot_value() |
double |
phi_dot_value() |
double |
phi_value() |
void |
print_rigidbody() |
double |
psi_dot_value() |
double |
psi_value() |
double |
q_dot_value() |
double |
r_dot_value() |
void |
set_accelerations(double new_u_dot,
double new_v_dot,
double new_w_dot,
double new_p_dot,
double new_q_dot,
double new_r_dot) |
void |
set_angular_accelerations(double new_p_dot,
double new_q_dot,
double new_r_dot) |
void |
set_angular_velocities(double new_phi_dot,
double new_theta_dot,
double new_psi_dot) |
void |
set_current_time(double new_current_time) |
void |
set_linear_accelerations(double new_u_dot,
double new_v_dot,
double new_w_dot) |
void |
set_linear_velocities(double new_x_dot,
double new_y_dot,
double new_z_dot) |
void |
set_time_of_posture(double new_time_of_posture) |
void |
set_velocities(double new_x_dot,
double new_y_dot,
double new_z_dot,
double new_phi_dot,
double new_theta_dot,
double new_psi_dot) |
void |
set_world_rates() |
double |
square(double value) |
double |
theta_dot_value() |
double |
theta_value() |
double |
time_of_posture_value() |
double |
u_dot_value() |
void |
update_Hmatrix(double delta_t) |
void |
update_state_vector()
Updates the state vector with the positions and velocities calculated during integration
|
double |
v_dot_value() |
double |
w_dot_value() |
double |
x_dot_value() |
double |
x_value() |
double |
y_dot_value() |
double |
y_value() |
double |
z_dot_value() |
double |
z_value() |
public static final int SURGE
public static final int SWAY
public static final int HEAVE
public static final int BANK
public static final int PITCH
public static final int YAW
public static final int MAXPARAMETERS
public RigidBodySocket executionSocket
public DynamicsGlobals globals
public Hmatrix hmatrix
public Hmatrix Hprevious
public static final String DISCLIENT
public double current_time
public double dt
public double x
public double y
public double z
public double phi
public double theta
public double psi
public double u
public double v
public double w
public double p
public double q
public double r
public double u_dot
public double v_dot
public double w_dot
public double p_dot
public double q_dot
public double r_dot
public double x_dot
public double y_dot
public double z_dot
public double phi_dot
public double theta_dot
public double psi_dot
public double[] stateParameters
public double[] new_acceleration
public double[] new_velocity
public Vector3D positionVector
public Vector3D worldDown
public World world
public RigidBody(DynamicsGlobals globals)
public RigidBody(double x, double y, double z, double phi, double theta, double psi, double t, DynamicsGlobals globals)
public RigidBody(Hmatrix initialhmatrix, DynamicsGlobals globals)
public RigidBody(Hmatrix initialhmatrix, double t, DynamicsGlobals globals)
public abstract void integrateEquationsOfMotion()
public abstract void loadModel(String configFile)
public void print_rigidbody()
public Hmatrix hmatrix_value()
public double time_of_posture_value()
public double x_value()
public double y_value()
public double z_value()
public double phi_value()
public double theta_value()
public double psi_value()
public double x_dot_value()
public double y_dot_value()
public double z_dot_value()
public double phi_dot_value()
public double theta_dot_value()
public double psi_dot_value()
public double current_time_value()
public double u_dot_value()
public double v_dot_value()
public double w_dot_value()
public double p_dot_value()
public double q_dot_value()
public double r_dot_value()
public void initialize()
public void integrate_Hmatrix()
public void update_state_vector()
public void set_world_rates()
public double[] compute_world_rates(double localPhi, double localTheta, double localPsi, double localU, double localV, double localW, double localP, double localQ, double localR)
public void set_velocities(double new_x_dot, double new_y_dot, double new_z_dot, double new_phi_dot, double new_theta_dot, double new_psi_dot)
public void set_linear_velocities(double new_x_dot, double new_y_dot, double new_z_dot)
public void set_angular_velocities(double new_phi_dot, double new_theta_dot, double new_psi_dot)
public void set_current_time(double new_current_time)
public void set_accelerations(double new_u_dot, double new_v_dot, double new_w_dot, double new_p_dot, double new_q_dot, double new_r_dot)
public void set_linear_accelerations(double new_u_dot, double new_v_dot, double new_w_dot)
public void set_angular_accelerations(double new_p_dot, double new_q_dot, double new_r_dot)
public void set_time_of_posture(double new_time_of_posture)
public void update_Hmatrix(double delta_t)
public double square(double value)
public double nonzerosign(double value)