I redid the body. Added the APXS. The only odd thing. Is the touchdown part is not doing thing until I move?
PAR:PRA_ROVER2
STATUS Landed Moon
POS 32.3481675 -69.3675371
HEADING 31.01
ALT 0.109
AROT 20.472 -23.313 159.835
AFCMODE 7
NAVFREQ 0 0
XPDR 0
PANEL 1 1.0000
FPANEL 1 1.0000
//Adapted from GeneralVehicle by fred18
void Pra_rover::SetTDVTXStuff()
{
double x_target = -0.1;
double stiffness = (-1) * (ROVER_MASS * G) / (3 * x_target);
double damping = 0.9 * (2 * sqrt(ROVER_MASS * stiffness));
Height_From_Ground = .109;
for (int i = 0; i < ntdvtx; i++)
{
tdvtx[i].damping = damping;
tdvtx[i].mu = 3;
tdvtx[i].mu_lng = 3;
tdvtx[i].stiffness = stiffness;
}
tdvtx[0].pos.x = cos(30 * RAD) * 1.55;
tdvtx[0].pos.y = -Height_From_Ground;
tdvtx[0].pos.z = -sin(30 * RAD) * 1.55;
tdvtx[1].pos.x = 0;
tdvtx[1].pos.y = -Height_From_Ground;
tdvtx[1].pos.z = 1.55;
tdvtx[2].pos.x = -cos(30 * RAD) * 1.55;
tdvtx[2].pos.y = -Height_From_Ground;
tdvtx[2].pos.z = -sin(30 * RAD) * 1.55;
SetTouchdownPoints(tdvtx, ntdvtx);
}