This commit is contained in:
Aik-Siong Koh
2023-06-18 01:06:39 -06:00
parent 3b08cd72df
commit 371b13a9e0
147 changed files with 2555 additions and 238 deletions

View File

@@ -59,7 +59,7 @@ void MbD::Item::fillPosKineError(FColDsptr col)
{
}
void MbD::Item::fillPosKineJacob(FMatDsptr mat)
void MbD::Item::fillPosKineJacob(SpMatDsptr mat)
{
}
@@ -71,6 +71,11 @@ void MbD::Item::fillRedundantConstraints(std::shared_ptr<std::vector<std::shared
{
}
void MbD::Item::fillConstraints(std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> allConstraints)
{
assert(false);
}
void MbD::Item::fillqsu(FColDsptr col)
{
}
@@ -116,6 +121,10 @@ void MbD::Item::preDynStep()
{
}
void MbD::Item::storeDynState()
{
}
double MbD::Item::suggestSmallerOrAcceptDynFirstStepSize(double hnew)
{
//"Default is return hnew."
@@ -123,6 +132,41 @@ double MbD::Item::suggestSmallerOrAcceptDynFirstStepSize(double hnew)
return hnew;
}
void MbD::Item::preVelIC()
{
//"Assume positions are valid."
//"Called once before solving for velocity initial conditions."
//"Update all variable dependent instance variables needed for velIC even if they have
//been calculated in postPosIC."
//"Variables dependent on t are updated."
this->calcPostDynCorrectorIteration();
}
void MbD::Item::postVelIC()
{
}
void MbD::Item::fillqsudot(FColDsptr col)
{
}
void MbD::Item::fillqsudotWeights(std::shared_ptr<DiagonalMatrix<double>> diagMat)
{
}
void MbD::Item::fillVelICError(FColDsptr error)
{
}
void MbD::Item::fillVelICJacob(SpMatDsptr jacob)
{
}
void MbD::Item::setqsudotlam(FColDsptr qsudotlam)
{
}
void MbD::Item::constraintsReport()
{
}
@@ -149,16 +193,9 @@ void MbD::Item::prePosIC()
calcPostDynCorrectorIteration();
}
void MbD::Item::prePostIC()
{
}
void MbD::Item::prePostICIteration()
{
}
void MbD::Item::prePostICRestart()
void MbD::Item::prePosKine()
{
this->prePosIC();
}
void MbD::Item::postPosIC()