So this is the VB TD info and seems to work
TDP_1_0_POS = 0 -0.6 3.3
TDP_1_0_STIFFNESS = 6540
TDP_1_0_DAMPING = 4603.22
TDP_1_0_MU = 0.1
TDP_1_0_MULNG = 0.2
TDP_1_1_POS = -2.59808 -0.6 -1.5
TDP_1_1_STIFFNESS = 6540
TDP_1_1_DAMPING = 4603.22
TDP_1_1_MU = 3
TDP_1_1_MULNG = 0.2
TDP_1_2_POS = 2.59808 -0.6 -1.5
TDP_1_2_STIFFNESS = 6540
TDP_1_2_DAMPING = 4603.22
TDP_1_2_MU = 3
TDP_1_2_MULNG = 0.2
TDP_1_3_POS = 0 3 0
TDP_1_3_STIFFNESS = 6540
TDP_1_3_DAMPING = 4603.22
TDP_1_3_MU = 3
TDP_1_3_MULNG = 0.2
But when I code it it is bad.
void LEVA::SetTDVTXStuff()
{
//double x_target = -0.5;
double stiffness = 6540;
double damping = 4603.22;
double ro = 3;
double Height_From_Ground = .6;
for (int i = 0; i < ntdvtx; i++)
{
tdvtx.damping = damping;
tdvtx.mu = 3;
tdvtx.mu_lng = .2;
tdvtx.stiffness = stiffness;
}
tdvtx[0].pos.x = cos(30 * RAD) * ro;
tdvtx[0].pos.y = -Height_From_Ground;
tdvtx[0].pos.z = -sin(30 * RAD) * ro;
tdvtx[1].pos.x = 0;
tdvtx[1].pos.y = -Height_From_Ground;
tdvtx[1].pos.z = 1 * ro;
tdvtx[2].pos.x = -cos(30 * RAD) * ro;
tdvtx[2].pos.y = -Height_From_Ground;
tdvtx[2].pos.z = -sin(30 * RAD) * ro;
SetTouchdownPoints(tdvtx, ntdvtx);
}
I wonder if I just set some TD and then somehow if the hammer is not attached it is forced landed?
TDP_1_0_POS = 0 -0.6 3.3
TDP_1_0_STIFFNESS = 6540
TDP_1_0_DAMPING = 4603.22
TDP_1_0_MU = 0.1
TDP_1_0_MULNG = 0.2
TDP_1_1_POS = -2.59808 -0.6 -1.5
TDP_1_1_STIFFNESS = 6540
TDP_1_1_DAMPING = 4603.22
TDP_1_1_MU = 3
TDP_1_1_MULNG = 0.2
TDP_1_2_POS = 2.59808 -0.6 -1.5
TDP_1_2_STIFFNESS = 6540
TDP_1_2_DAMPING = 4603.22
TDP_1_2_MU = 3
TDP_1_2_MULNG = 0.2
TDP_1_3_POS = 0 3 0
TDP_1_3_STIFFNESS = 6540
TDP_1_3_DAMPING = 4603.22
TDP_1_3_MU = 3
TDP_1_3_MULNG = 0.2
But when I code it it is bad.
void LEVA::SetTDVTXStuff()
{
//double x_target = -0.5;
double stiffness = 6540;
double damping = 4603.22;
double ro = 3;
double Height_From_Ground = .6;
for (int i = 0; i < ntdvtx; i++)
{
tdvtx.damping = damping;
tdvtx.mu = 3;
tdvtx.mu_lng = .2;
tdvtx.stiffness = stiffness;
}
tdvtx[0].pos.x = cos(30 * RAD) * ro;
tdvtx[0].pos.y = -Height_From_Ground;
tdvtx[0].pos.z = -sin(30 * RAD) * ro;
tdvtx[1].pos.x = 0;
tdvtx[1].pos.y = -Height_From_Ground;
tdvtx[1].pos.z = 1 * ro;
tdvtx[2].pos.x = -cos(30 * RAD) * ro;
tdvtx[2].pos.y = -Height_From_Ground;
tdvtx[2].pos.z = -sin(30 * RAD) * ro;
SetTouchdownPoints(tdvtx, ntdvtx);
}
I wonder if I just set some TD and then somehow if the hammer is not attached it is forced landed?
