Skip to content

Commit

Permalink
WholeBodyDynamicsDevice: Remove meaningless check that total number F…
Browse files Browse the repository at this point in the history
…Ts in attached device match the total number of FTs consired by estimation
  • Loading branch information
traversaro authored Jul 5, 2024
1 parent 10675f7 commit 1fc1d54
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1822,18 +1822,6 @@ bool WholeBodyDynamicsDevice::attachAllFTs(const PolyDriverList& p)
return false;
}

if (nrMASFTSensors != remappedMASInterfaces.ftMultiSensors->getNrOfSixAxisForceTorqueSensors())
{
yError() << "WholeBodyDynamicsDevice::attachAll Invalid number of MAS FT sensors after remapper";
return false;
}

if (nrMASFTSensors != ftMultipleAnalogSensorNames.size())
{
yError() << "WholeBodyDynamicsDevice::attachAll Invalid number of MAS FT sensor names";
return false;
}

ftMultipleAnalogSensorIdxMapping.resize(ftMultipleAnalogSensorNames.size());
for (auto ftDx = 0; ftDx < nrMASFTSensors; ftDx++)
{
Expand Down

0 comments on commit 1fc1d54

Please sign in to comment.