Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void CentroidalModelRbdConversions::computeBaseKinematicsFromCentroidalModel(con
const Vector3 derivativeEulerAnglesZyx = vPinocchio.segment<3>(3);
baseVelocity.tail<3>() = getGlobalAngularVelocityFromEulerAnglesZyxDerivatives<scalar_t>(baseOrientation, derivativeEulerAnglesZyx);

const Matrix6 Adot = pinocchio::dccrba(model, data, qPinocchio, vPinocchio);
const auto Adot = pinocchio::dccrba(model, data, qPinocchio, vPinocchio);
Vector6 centroidalMomentumRate = info.robotMass * getNormalizedCentroidalMomentumRate(pinocchioInterface_, info, input);
centroidalMomentumRate.noalias() -= Adot * vPinocchio;
centroidalMomentumRate.noalias() -= Aj * jointAccelerations.head(info.actuatedDofNum);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ TEST_F(DoubleIntegratorIntegrationTest, coldStartMPC) {
ASSERT_NEAR(observation.state(0), goalState(0), tolerance);
}

#ifdef NDEBUG
TEST_F(DoubleIntegratorIntegrationTest, asynchronousTracking) {
auto mpcPtr = getMpc(true);
MPC_MRT_Interface mpcInterface(*mpcPtr);
Expand Down Expand Up @@ -207,3 +208,4 @@ TEST_F(DoubleIntegratorIntegrationTest, asynchronousTracking) {

ASSERT_NEAR(observation.state(0), goalState(0), tolerance);
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ TEST_P(DummyMobileManipulatorParametersTests, synchronousTracking) {
verifyTrackingQuality(observation.state);
}

#ifdef NDEBUG
TEST_P(DummyMobileManipulatorParametersTests, asynchronousTracking) {
// Obtain mpc
initialize(getTaskFile(), getLibFolder(), getUrdfFile());
Expand Down Expand Up @@ -258,6 +259,7 @@ TEST_P(DummyMobileManipulatorParametersTests, asynchronousTracking) {

verifyTrackingQuality(observation.state);
}
#endif

/******************************************************************************************************/
/******************************************************************************************************/
Expand Down